Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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 …]
H A Dspectrum_cnt.c186 unsigned int entry_index; in mlxsw_sp_counter_alloc() local
192 entry_index = sub_pool->base_index; in mlxsw_sp_counter_alloc()
195 entry_index = find_next_zero_bit(pool->usage, stop_index, entry_index); in mlxsw_sp_counter_alloc()
196 if (entry_index == stop_index) { in mlxsw_sp_counter_alloc()
203 if (entry_index + sub_pool->entry_size > stop_index) { in mlxsw_sp_counter_alloc()
208 __set_bit(entry_index + i, pool->usage); in mlxsw_sp_counter_alloc()
211 *p_counter_index = entry_index; in mlxsw_sp_counter_alloc()
H A 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()
H A 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()
H A 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()
H A 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()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocess_pptables_v1_0.h30 extern int get_powerplay_table_entry_v1_0(struct pp_hwmgr *hwmgr, uint32_t entry_index,
H A Dprocesspptables.h43 unsigned long entry_index,
H A Dvega10_processpptables.h59 extern int vega10_get_powerplay_table_entry(struct pp_hwmgr *hwmgr, uint32_t entry_index,
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dump.h110 __u8 entry_index; member
H A Drt2x00debug.c172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
205 ring->entry_index = mux->num_ring_entries; in amdgpu_ring_mux_add_sw_ring()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c1452 int entry_index; in npc_install_flow() local
1457 entry_index = req->entry; in npc_install_flow()
1483 entry_index = npc_get_nixlf_mcam_index(mcam, target, nixlf, in npc_install_flow()
1486 if (entry_index < 0) { in npc_install_flow()
1493 enable = is_mcam_entry_enabled(rvu, mcam, blkaddr, entry_index); in npc_install_flow()
1510 rule = rvu_mcam_find_rule(mcam, entry_index); in npc_install_flow()
1537 write_req.entry = entry_index; in npc_install_flow()
1556 cn20k_wreq.entry = entry_index; in npc_install_flow()
1567 rule->entry = entry_index; in npc_install_flow()
1649 req->index, entry_index); in npc_install_flow()
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_cmd.h498 u8 entry_index; member
520 u8 entry_index; member
H A Dkey.c166 k.entry_index = idx; in wfx_add_key()
H A Dhif_tx.c402 body->entry_index = idx; in wfx_hif_remove_key()
/linux/scripts/
H A 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/arch/x86/kvm/vmx/
H A Dtdx.c2643 bool sub_leaf_set, int *entry_index, in tdx_read_cpuid() argument
2654 if (*entry_index >= KVM_MAX_CPUID_ENTRIES) in tdx_read_cpuid()
2713 (*entry_index)++; in tdx_read_cpuid()
3041 static int tdx_vcpu_get_cpuid_leaf(struct kvm_vcpu *vcpu, u32 leaf, int *entry_index, in tdx_vcpu_get_cpuid_leaf() argument
3048 ret = tdx_read_cpuid(vcpu, leaf, 0, false, entry_index, output_e); in tdx_vcpu_get_cpuid_leaf()
3060 if (tdx_read_cpuid(vcpu, leaf, sub_leaf, true, entry_index, output_e)) in tdx_vcpu_get_cpuid_leaf()
/linux/drivers/net/fddi/
H A Ddefxx.h962 PI_UINT32 entry_index; member
/linux/drivers/net/wireless/ath/ath6kl/
H A Dwmi.h1025 u8 entry_index; member
H A Dwmi.c2193 cmd->entry_index = index; in ath6kl_wmi_probedssid_cmd()
/linux/net/core/
H A Dpktgen.c2657 __u8 entry_index = pkt_dev->imix_distribution[t]; in mod_cur_headers() local
2659 entry = &pkt_dev->imix_entries[entry_index]; in mod_cur_headers()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.h550 u8 entry_index; member