Lines Matching refs:pool_index

537 		       u16 pool_index,  in ocelot_sb_pool_get()  argument
542 if (pool_index >= OCELOT_SB_POOL_NUM) in ocelot_sb_pool_get()
546 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get()
547 if (pool_index) in ocelot_sb_pool_get()
562 u16 pool_index, u32 size, in ocelot_sb_pool_set() argument
574 if (pool_index >= OCELOT_SB_POOL_NUM) { in ocelot_sb_pool_set()
585 old_pool_size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_set()
586 ocelot->pool_size[sb_index][pool_index] = size; in ocelot_sb_pool_set()
590 ocelot->pool_size[sb_index][pool_index] = old_pool_size; in ocelot_sb_pool_set()
602 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_get() argument
609 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_get()
615 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_get()
633 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_set() argument
641 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_set()
647 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_port_pool_set()
715 u16 pool_index, u32 threshold, in ocelot_sb_tc_pool_bind_set() argument
722 if (pool_index == OCELOT_SB_POOL_ING && in ocelot_sb_tc_pool_bind_set()
725 if (pool_index == OCELOT_SB_POOL_EGR && in ocelot_sb_tc_pool_bind_set()
819 unsigned int sb_index, u16 pool_index, in ocelot_sb_occ_port_pool_get() argument
826 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_occ_port_pool_get()
832 if (pool_index == OCELOT_SB_POOL_ING) in ocelot_sb_occ_port_pool_get()