Lines Matching refs:pool_index
506 u16 pool_index, in ocelot_sb_pool_get() argument
511 if (pool_index >= OCELOT_SB_POOL_NUM) in ocelot_sb_pool_get()
515 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get()
516 if (pool_index) in ocelot_sb_pool_get()
531 u16 pool_index, u32 size, in ocelot_sb_pool_set() argument
543 if (pool_index >= OCELOT_SB_POOL_NUM) { in ocelot_sb_pool_set()
554 old_pool_size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_set()
555 ocelot->pool_size[sb_index][pool_index] = size; in ocelot_sb_pool_set()
559 ocelot->pool_size[sb_index][pool_index] = old_pool_size; in ocelot_sb_pool_set()
571 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_get() argument
578 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_get()
584 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_get()
602 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_set() argument
610 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_set()
616 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_set()
684 u16 pool_index, u32 threshold, in ocelot_sb_tc_pool_bind_set() argument
691 if (pool_index == OCELOT_SB_POOL_ING && in ocelot_sb_tc_pool_bind_set()
694 if (pool_index == OCELOT_SB_POOL_EGR && in ocelot_sb_tc_pool_bind_set()
788 unsigned int sb_index, u16 pool_index, in ocelot_sb_occ_port_pool_get() argument
795 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_occ_port_pool_get()
801 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_occ_port_pool_get()