Home
last modified time | relevance | path

Searched refs:ordered_array (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_sp.c11 u8 *ordered_array, in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes() argument
33 ordered_array[i] = in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
37 if (buf_size < sizes_array[ordered_array[j]]) { in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
42 ordered_array[k] = in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
43 ordered_array[k - 1]; in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
48 ordered_array[k] = in fman_sp_set_buf_pools_in_asc_order_of_buf_sizes()
H A Dfman_sp.h74 u8 *ordered_array,
H A Dfman_port.c896 u8 ordered_array[FMAN_PORT_MAX_EXT_POOLS_NUM]; in set_ext_buffer_pools() local
901 memset(&ordered_array, 0, sizeof(u8) * FMAN_PORT_MAX_EXT_POOLS_NUM); in set_ext_buffer_pools()
907 ordered_array, in set_ext_buffer_pools()
914 bpools.bpool[i].bpid = ordered_array[i]; in set_ext_buffer_pools()
915 bpools.bpool[i].size = sizes_array[ordered_array[i]]; in set_ext_buffer_pools()
921 sizes_array[ordered_array[ext_buf_pools->num_of_pools_used - 1]]; in set_ext_buffer_pools()
930 if (i == ordered_array[j]) { in set_ext_buffer_pools()
946 if (i == ordered_array[j]) { in set_ext_buffer_pools()