Home
last modified time | relevance | path

Searched refs:block_index (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c164 int block_index) in mlxsw_afk_picker_subtract_hits() argument
170 memcpy(&hits_element, &picker[block_index].element, in mlxsw_afk_picker_subtract_hits()
199 int block_index, in mlxsw_afk_picker_key_info_add() argument
207 for_each_set_bit(element, picker[block_index].element, in mlxsw_afk_picker_key_info_add()
214 &mlxsw_afk->blocks[block_index]; in mlxsw_afk_picker_key_info_add()
248 int block_index; in mlxsw_afk_picker() local
250 block_index = mlxsw_afk_picker_most_hits_get(mlxsw_afk, picker); in mlxsw_afk_picker()
251 if (block_index < 0) { in mlxsw_afk_picker()
252 err = block_index; in mlxsw_afk_picker()
256 block_index, key_info); in mlxsw_afk_picker()
[all …]
Dspectrum_acl_flex_keys.c101 static void mlxsw_sp1_afk_encode_block(char *output, int block_index, in mlxsw_sp1_afk_encode_block() argument
104 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_encode_block()
110 static void mlxsw_sp1_afk_clear_block(char *output, int block_index) in mlxsw_sp1_afk_clear_block() argument
112 unsigned int offset = block_index * MLXSW_SP1_AFK_KEY_BLOCK_SIZE; in mlxsw_sp1_afk_clear_block()
281 static void __mlxsw_sp2_afk_block_value_set(char *output, int block_index, in __mlxsw_sp2_afk_block_value_set() argument
286 if (WARN_ON(block_index < 0 || in __mlxsw_sp2_afk_block_value_set()
287 block_index >= ARRAY_SIZE(mlxsw_sp2_afk_blocks_layout))) in __mlxsw_sp2_afk_block_value_set()
290 block_layout = &mlxsw_sp2_afk_blocks_layout[block_index]; in __mlxsw_sp2_afk_block_value_set()
295 static void mlxsw_sp2_afk_encode_block(char *output, int block_index, in mlxsw_sp2_afk_encode_block() argument
300 __mlxsw_sp2_afk_block_value_set(output, block_index, block_value); in mlxsw_sp2_afk_encode_block()
[all …]
Dcore_acl_flex_keys.h177 void (*encode_block)(char *output, int block_index, char *block);
178 void (*clear_block)(char *output, int block_index);
196 int block_index);
/drivers/crypto/hisilicon/
Dsgl.c162 u32 block_index, offset; in acc_get_sgl() local
168 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
171 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl()
172 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
/drivers/md/persistent-data/
Ddm-array.c349 unsigned int block_index, uint32_t nr, in insert_new_ablock() argument
361 r = insert_ablock(info, block_index, block, root); in insert_new_ablock()
732 unsigned int block_index, end_block, size_of_block, max_entries; in dm_array_new() local
742 for (block_index = 0; block_index != end_block; block_index++) { in dm_array_new()
748 block_index * max_entries, in dm_array_new()
755 r = insert_ablock(info, block_index, block, root); in dm_array_new()
/drivers/net/ethernet/neterion/
Ds2io.h634 u32 block_index; member
640 u32 block_index; member
Ds2io.c721 ring->rx_curr_get_info.block_index = 0; in init_shared_mem()
724 ring->rx_curr_put_info.block_index = 0; in init_shared_mem()
2471 block_no1 = ring->rx_curr_get_info.block_index; in fill_rx_buffers()
2473 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2487 ring->rx_curr_put_info.block_index++; in fill_rx_buffers()
2488 if (ring->rx_curr_put_info.block_index == in fill_rx_buffers()
2490 ring->rx_curr_put_info.block_index = 0; in fill_rx_buffers()
2491 block_no = ring->rx_curr_put_info.block_index; in fill_rx_buffers()
2728 ring->rx_curr_put_info.block_index = 0; in free_rx_buffers()
2729 ring->rx_curr_get_info.block_index = 0; in free_rx_buffers()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_int.c79 enum block_id block_index; member
941 if (p_aeu->block_index != MAX_BLOCK_ID) in qed_int_deassertion_aeu_bit()
942 qed_int_attn_print(p_hwfn, p_aeu->block_index, in qed_int_deassertion_aeu_bit()
982 u32 block_id = p_aeu->block_index, mask, val; in qed_int_deassertion_parity()
/drivers/usb/atm/
Dueagle-atm.c331 struct block_index { struct
352 struct block_index page_header[E4_NO_SWAPPAGE_HEADERS]; argument
787 struct block_index *blockidx; in check_dsp_e4()
978 struct block_index *blockidx; in __uea_load_page_e4()