/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum1_kvdl.c | 106 unsigned int entry_index) in mlxsw_sp1_kvdl_to_kvdl_index() argument 108 return info->start_index + entry_index * info->alloc_size; in mlxsw_sp1_kvdl_to_kvdl_index() 122 unsigned int entry_index, nr_entries; in mlxsw_sp1_kvdl_part_alloc() local 126 entry_index = find_first_zero_bit(part->usage, nr_entries); in mlxsw_sp1_kvdl_part_alloc() 127 if (entry_index == nr_entries) in mlxsw_sp1_kvdl_part_alloc() 129 __set_bit(entry_index, part->usage); in mlxsw_sp1_kvdl_part_alloc() 131 *p_kvdl_index = mlxsw_sp1_kvdl_to_kvdl_index(info, entry_index); in mlxsw_sp1_kvdl_part_alloc() 140 unsigned int entry_index; in mlxsw_sp1_kvdl_part_free() local 142 entry_index = mlxsw_sp1_kvdl_to_entry_index(info, kvdl_index); in mlxsw_sp1_kvdl_part_free() 143 __clear_bit(entry_index, part->usage); in mlxsw_sp1_kvdl_part_free() [all …]
|
D | spectrum_cnt.c | 188 unsigned int entry_index; in mlxsw_sp_counter_alloc() local 194 entry_index = sub_pool->base_index; in mlxsw_sp_counter_alloc() 197 entry_index = find_next_zero_bit(pool->usage, stop_index, entry_index); in mlxsw_sp_counter_alloc() 198 if (entry_index == stop_index) { in mlxsw_sp_counter_alloc() 205 if (entry_index + sub_pool->entry_size > stop_index) { in mlxsw_sp_counter_alloc() 210 __set_bit(entry_index + i, pool->usage); in mlxsw_sp_counter_alloc() 213 *p_counter_index = entry_index; in mlxsw_sp_counter_alloc()
|
D | spectrum_kvdl.c | 68 unsigned int entry_count, int entry_index) in mlxsw_sp_kvdl_free() argument 74 entry_count, entry_index); in mlxsw_sp_kvdl_free()
|
D | spectrum_nve.c | 39 char *tnumt_pl, unsigned int entry_index); 104 char *tnumt_pl, unsigned int entry_index) in mlxsw_sp_nve_mc_record_ipv4_entry_set() argument 108 mlxsw_reg_tnumt_udip_set(tnumt_pl, entry_index, udip); in mlxsw_sp_nve_mc_record_ipv4_entry_set() 147 char *tnumt_pl, unsigned int entry_index) in mlxsw_sp_nve_mc_record_ipv6_entry_set() argument 151 mlxsw_reg_tnumt_udip_ptr_set(tnumt_pl, entry_index, udip_ptr); in mlxsw_sp_nve_mc_record_ipv6_entry_set()
|
D | spectrum2_kvdl.c | 159 int entry_index) in mlxsw_sp2_kvdl_free() argument 165 return mlxsw_sp2_kvdl_part_free(mlxsw_sp, part, size, entry_index); in mlxsw_sp2_kvdl_free()
|
D | spectrum_dpipe.c | 1090 int entry_index = 0; in mlxsw_sp_dpipe_table_adj_entries_get() local 1115 entry->index = entry_index; in mlxsw_sp_dpipe_table_adj_entries_get() 1125 entry_index++; in mlxsw_sp_dpipe_table_adj_entries_get()
|
D | spectrum.h | 776 unsigned int entry_count, int entry_index); 791 unsigned int entry_count, int entry_index);
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 1616 u16 entry_index; in hns_dsaf_set_mac_uc_entry() local 1638 entry_index = hns_dsaf_find_soft_mac_entry(dsaf_dev, &mac_key); in hns_dsaf_set_mac_uc_entry() 1639 if (entry_index == DSAF_INVALID_ENTRY_IDX) { in hns_dsaf_set_mac_uc_entry() 1641 entry_index = hns_dsaf_find_empty_mac_entry(dsaf_dev); in hns_dsaf_set_mac_uc_entry() 1642 if (entry_index == DSAF_INVALID_ENTRY_IDX) { in hns_dsaf_set_mac_uc_entry() 1655 mac_key.low.val, entry_index); in hns_dsaf_set_mac_uc_entry() 1667 hns_dsaf_tcam_uc_cfg(dsaf_dev, entry_index, &tcam_data, &mac_data); in hns_dsaf_set_mac_uc_entry() 1670 soft_mac_entry += entry_index; in hns_dsaf_set_mac_uc_entry() 1671 soft_mac_entry->index = entry_index; in hns_dsaf_set_mac_uc_entry() 1682 u16 entry_index; in hns_dsaf_rm_mac_addr() local [all …]
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_processpptables.c | 356 uint32_t entry_index, struct pp_power_state *power_state, 368 power_state->classification.bios_index = entry_index; 382 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries), 386 state_entry = &(state_arrays->states[entry_index]);
|
D | process_pptables_v1_0.h | 30 extern int get_powerplay_table_entry_v1_0(struct pp_hwmgr *hwmgr, uint32_t entry_index,
|
D | processpptables.h | 43 unsigned long entry_index,
|
D | vega10_processpptables.h | 59 extern int vega10_get_powerplay_table_entry(struct pp_hwmgr *hwmgr, uint32_t entry_index,
|
D | processpptables.c | 776 ULONG entry_index) in get_state_entry_v2() argument 782 if (entry_index <= pstate_arrays->ucNumEntries) { in get_state_entry_v2() 783 for (i = 0; i < entry_index; i++) in get_state_entry_v2() 884 unsigned long entry_index, in pp_tables_get_entry() argument 905 ps->classification.bios_index = entry_index; in pp_tables_get_entry() 911 if (entry_index > pstate_arrays->ucNumEntries) in pp_tables_get_entry() 914 pstate_entry_v2 = get_state_entry_v2(pstate_arrays, entry_index); in pp_tables_get_entry() 935 if (entry_index > powerplay_table->ucNumStates) in pp_tables_get_entry() 940 entry_index * powerplay_table->ucStateEntrySize); in pp_tables_get_entry()
|
D | vega10_processpptables.c | 1296 uint32_t entry_index, struct pp_power_state *power_state, in vega10_get_powerplay_table_entry() argument 1308 power_state->classification.bios_index = entry_index; in vega10_get_powerplay_table_entry() 1322 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries), in vega10_get_powerplay_table_entry() 1326 state_entry = &(state_arrays->states[entry_index]); in vega10_get_powerplay_table_entry()
|
D | process_pptables_v1_0.c | 1369 uint32_t entry_index, struct pp_power_state *power_state, in get_powerplay_table_entry_v1_0() argument 1381 power_state->classification.bios_index = entry_index; in get_powerplay_table_entry_v1_0() 1392 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries), in get_powerplay_table_entry_v1_0() 1397 state_arrays, entry_index); in get_powerplay_table_entry_v1_0()
|
D | smu7_hwmgr.c | 3654 unsigned long entry_index, struct pp_power_state *state) in smu7_get_pp_table_entry_v1() argument 3668 result = get_powerplay_table_entry_v1_0(hwmgr, entry_index, state, in smu7_get_pp_table_entry_v1() 3799 unsigned long entry_index, struct pp_power_state *state) in smu7_get_pp_table_entry_v0() argument 3813 result = pp_tables_get_entry(hwmgr, entry_index, state, in smu7_get_pp_table_entry_v0() 3906 unsigned long entry_index, struct pp_power_state *state) in smu7_get_pp_table_entry() argument 3909 return smu7_get_pp_table_entry_v0(hwmgr, entry_index, state); in smu7_get_pp_table_entry() 3911 return smu7_get_pp_table_entry_v1(hwmgr, entry_index, state); in smu7_get_pp_table_entry()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dump.h | 110 __u8 entry_index; member
|
D | rt2x00debug.c | 172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_fs.c | 1027 int entry_index, err; in npc_install_flow() local 1033 entry_index = req->entry; in npc_install_flow() 1048 entry_index = npc_get_nixlf_mcam_index(mcam, target, nixlf, in npc_install_flow() 1050 enable = is_mcam_entry_enabled(rvu, mcam, blkaddr, entry_index); in npc_install_flow() 1066 rule = rvu_mcam_find_rule(mcam, entry_index); in npc_install_flow() 1092 write_req.entry = entry_index; in npc_install_flow() 1105 rule->entry = entry_index; in npc_install_flow()
|
/drivers/staging/wfx/ |
D | hif_api_cmd.h | 498 u8 entry_index; member 520 u8 entry_index; member
|
D | key.c | 172 k.entry_index = idx; in wfx_add_key()
|
D | hif_tx.c | 385 body->entry_index = idx; in hif_remove_key()
|
/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 71 mb->un.varDmp.entry_index = offset; in lpfc_dump_static_vport() 149 mb->un.varDmp.entry_index = offset; in lpfc_dump_mem() 184 mb->un.varDmp.entry_index = 0; in lpfc_dump_wakeup_param()
|
D | lpfc_hw.h | 3112 uint32_t entry_index:16; member 3121 uint32_t entry_index:16;
|
/drivers/net/fddi/ |
D | defxx.h | 962 PI_UINT32 entry_index; member
|