/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_keys.c | 164 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 …]
|
D | spectrum_acl_flex_keys.c | 101 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 …]
|
D | core_acl_flex_keys.h | 177 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/ |
D | sgl.c | 162 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/ |
D | dm-array.c | 349 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/ |
D | s2io.h | 634 u32 block_index; member 640 u32 block_index; member
|
D | s2io.c | 721 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/ |
D | qed_int.c | 79 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/ |
D | ueagle-atm.c | 331 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()
|