Home
last modified time | relevance | path

Searched refs:vidx (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/8021q/
H A Dvlan.c54 unsigned int vidx; in vlan_group_prealloc_vid() local
64 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()
65 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid()
77 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c1092 int vidx; in qib_sd_setvals() local
1100 for (vidx = 0; vidx < 4; vidx++) { in qib_sd_setvals()
1101 data = rxeq_init_vals[idx].rdata[vidx]; in qib_sd_setvals()
1102 writeq(data, taddr + (vidx << 6) + idx); in qib_sd_setvals()
/openbmc/qemu/accel/tcg/
H A Dcputlb.c1145 unsigned vidx = desc->vindex++ % CPU_VTLB_SIZE; in tlb_set_page_full() local
1146 CPUTLBEntry *tv = &desc->vtable[vidx]; in tlb_set_page_full()
1150 desc->vfulltlb[vidx] = desc->fulltlb[index]; in tlb_set_page_full()
1300 size_t vidx; in victim_tlb_hit() local
1303 for (vidx = 0; vidx < CPU_VTLB_SIZE; ++vidx) { in victim_tlb_hit()
1304 CPUTLBEntry *vtlb = &cpu->neg.tlb.d[mmu_idx].vtable[vidx]; in victim_tlb_hit()
1318 CPUTLBEntryFull *f2 = &cpu->neg.tlb.d[mmu_idx].vfulltlb[vidx]; in victim_tlb_hit()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c903 int vidx, pidx; in mlx4_MAD_IFC_wrapper() local
937 for (vidx = index * 32; vidx < (index + 1) * 32; ++vidx) { in mlx4_MAD_IFC_wrapper()
938 pidx = priv->virt2phys_pkey[slave][port - 1][vidx]; in mlx4_MAD_IFC_wrapper()
939 outtab[vidx % 32] = cpu_to_be16(table[pidx]); in mlx4_MAD_IFC_wrapper()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c1777 int vidx; in _mlx4_set_path() local
1827 err = mlx4_register_vlan(dev->dev, port, vlan_tag, &vidx); in _mlx4_set_path()
1831 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1834 path->vlan_index = vidx; in _mlx4_set_path()
1840 err = mlx4_register_vlan(dev->dev, port, vlan_tag, &vidx); in _mlx4_set_path()
1844 smac_info->candidate_vlan_index = vidx; in _mlx4_set_path()
1847 path->vlan_index = vidx; in _mlx4_set_path()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c507 int ridx = 0, vidx = 0; in iavf_map_rings_to_vectors() local
513 iavf_map_vector_to_rxq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
514 iavf_map_vector_to_txq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
519 if (++vidx >= q_vectors) in iavf_map_rings_to_vectors()
520 vidx = 0; in iavf_map_rings_to_vectors()