Home
last modified time | relevance | path

Searched refs:entry_index (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c106 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 …]
Dspectrum_cnt.c188 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()
Dspectrum_kvdl.c68 unsigned int entry_count, int entry_index) in mlxsw_sp_kvdl_free() argument
74 entry_count, entry_index); in mlxsw_sp_kvdl_free()
Dspectrum2_kvdl.c160 int entry_index) in mlxsw_sp2_kvdl_free() argument
166 return mlxsw_sp2_kvdl_part_free(mlxsw_sp, part, size, entry_index); in mlxsw_sp2_kvdl_free()
Dspectrum_nve.c39 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()
157 char *tnumt_pl, unsigned int entry_index) in mlxsw_sp_nve_mc_record_ipv6_entry_set() argument
161 mlxsw_reg_tnumt_udip_ptr_set(tnumt_pl, entry_index, udip_ptr); in mlxsw_sp_nve_mc_record_ipv6_entry_set()
Dspectrum_dpipe.c1090 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()
Dspectrum.h817 unsigned int entry_count, int entry_index);
832 unsigned int entry_count, int entry_index);
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1616 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 …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_processpptables.c352 uint32_t entry_index, struct pp_power_state *power_state,
364 power_state->classification.bios_index = entry_index;
378 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries),
382 state_entry = &(state_arrays->states[entry_index]);
Dprocess_pptables_v1_0.h30 extern int get_powerplay_table_entry_v1_0(struct pp_hwmgr *hwmgr, uint32_t entry_index,
Dprocesspptables.h43 unsigned long entry_index,
Dvega10_processpptables.h59 extern int vega10_get_powerplay_table_entry(struct pp_hwmgr *hwmgr, uint32_t entry_index,
Dprocesspptables.c774 ULONG entry_index) in get_state_entry_v2() argument
780 if (entry_index <= pstate_arrays->ucNumEntries) { in get_state_entry_v2()
781 for (i = 0; i < entry_index; i++) in get_state_entry_v2()
882 unsigned long entry_index, in pp_tables_get_entry() argument
903 ps->classification.bios_index = entry_index; in pp_tables_get_entry()
909 if (entry_index > pstate_arrays->ucNumEntries) in pp_tables_get_entry()
912 pstate_entry_v2 = get_state_entry_v2(pstate_arrays, entry_index); in pp_tables_get_entry()
933 if (entry_index > powerplay_table->ucNumStates) in pp_tables_get_entry()
938 entry_index * powerplay_table->ucStateEntrySize); in pp_tables_get_entry()
Dvega10_processpptables.c1295 uint32_t entry_index, struct pp_power_state *power_state, in vega10_get_powerplay_table_entry() argument
1307 power_state->classification.bios_index = entry_index; in vega10_get_powerplay_table_entry()
1321 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries), in vega10_get_powerplay_table_entry()
1325 state_entry = &(state_arrays->states[entry_index]); in vega10_get_powerplay_table_entry()
Dprocess_pptables_v1_0.c1367 uint32_t entry_index, struct pp_power_state *power_state, in get_powerplay_table_entry_v1_0() argument
1379 power_state->classification.bios_index = entry_index; in get_powerplay_table_entry_v1_0()
1390 PP_ASSERT_WITH_CODE((entry_index <= state_arrays->ucNumEntries), in get_powerplay_table_entry_v1_0()
1395 state_arrays, entry_index); in get_powerplay_table_entry_v1_0()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00dump.h110 __u8 entry_index; member
Drt2x00debug.c172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring_mux.c46 return ring->entry_index < mux->ring_entry_size ? in amdgpu_ring_mux_sw_entry()
47 &mux->ring_entry[ring->entry_index] : NULL; in amdgpu_ring_mux_sw_entry()
204 ring->entry_index = mux->num_ring_entries; in amdgpu_ring_mux_add_sw_ring()
Damdgpu_ring.h308 unsigned int entry_index; member
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c1271 u16 entry_index; in npc_install_flow() local
1277 entry_index = req->entry; in npc_install_flow()
1297 entry_index = npc_get_nixlf_mcam_index(mcam, target, nixlf, in npc_install_flow()
1299 enable = is_mcam_entry_enabled(rvu, mcam, blkaddr, entry_index); in npc_install_flow()
1316 rule = rvu_mcam_find_rule(mcam, entry_index); in npc_install_flow()
1342 write_req.entry = entry_index; in npc_install_flow()
1355 rule->entry = entry_index; in npc_install_flow()
1409 req->index, entry_index); in npc_install_flow()
/linux-6.12.1/drivers/net/wireless/silabs/wfx/
Dhif_api_cmd.h498 u8 entry_index; member
520 u8 entry_index; member
Dkey.c166 k.entry_index = idx; in wfx_add_key()
Dhif_tx.c402 body->entry_index = idx; in wfx_hif_remove_key()
/linux-6.12.1/scripts/
Dasn1_compiler.c695 unsigned entry_index; member
1404 e->entry_index = entry = nr_entries; in render_out_of_line_list()
1535 render_opcode(out, "_jump_target(%u),", e->entry_index); in render_element()
1561 render_opcode(out, "_jump_target(%u),", e->entry_index); in render_element()
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_mbox.c146 mb->un.varDmp.entry_index = offset; in lpfc_dump_static_vport()
215 mb->un.varDmp.entry_index = offset; in lpfc_dump_mem()
246 mb->un.varDmp.entry_index = 0; in lpfc_dump_wakeup_param()

12