Home
last modified time | relevance | path

Searched refs:vf_offset (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c67 unsigned int vf_offset; in nfp_app_set_vf_mac() local
82 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()
83 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
85 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()
102 unsigned int vf_offset; in nfp_app_set_vf_vlan() local
141 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_vlan()
142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
151 u32 vf_offset, ratevalue; in nfp_app_set_vf_rate() local
165 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_rate()
172 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_RATE); in nfp_app_set_vf_rate()
[all …]
/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c30 uint16_t vf_offset, uint16_t vf_stride) in pcie_sriov_pf_init() argument
42 pci_set_word(cfg + PCI_SRIOV_VF_OFFSET, vf_offset); in pcie_sriov_pf_init()
171 uint16_t vf_offset = in register_vfs() local
175 int32_t devfn = dev->devfn + vf_offset; in register_vfs()
H A Dpci.c1450 uint16_t vf_offset = in pci_config_get_bar_addr() local
1454 uint32_t vf_num = (d->devfn - (pf->devfn + vf_offset)) / vf_stride; in pci_config_get_bar_addr()
/openbmc/qemu/include/hw/pci/
H A Dpcie_sriov.h33 uint16_t vf_offset, uint16_t vf_stride);
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c683 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local
703 vf_offset + index); in efx_vfdi_fini_all_queues()
709 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
730 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
744 vf_offset + index); in efx_vfdi_fini_all_queues()
746 vf_offset + index); in efx_vfdi_fini_all_queues()
748 vf_offset + index); in efx_vfdi_fini_all_queues()
750 vf_offset + index); in efx_vfdi_fini_all_queues()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h533 u8 vf_offset; member
549 u8 vf_offset; member
H A Dhclge_debugfs.c2085 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_rx_offload_cfg()
2119 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_tx_offload_cfg()
H A Dhclge_main.c9764 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()
9804 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mbox.c1490 u16 vf_offset; in hinic_vf_mbox_random_id_init() local
1497 vf_offset = hinic_glb_pf_vf_offset(hwdev->hwif); in hinic_vf_mbox_random_id_init()
1500 err = set_vf_mbox_random_id(hwdev, vf_offset + vf_in_pf); in hinic_vf_mbox_random_id_init()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h987 u32 vf_offset; member
H A Dqed_mcp.c3656 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()