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
102 unsigned int vf_offset; in nfp_app_set_vf_vlan() local
151 u32 vf_offset, ratevalue; in nfp_app_set_vf_rate() local
181 unsigned int vf_offset; in nfp_app_set_vf_spoofchk() local
193 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
196 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
205 unsigned int vf_offset; in nfp_app_set_vf_trust() local
230 unsigned int vf_offset; in nfp_app_set_vf_link_state() local
264 u32 vf_offset, mac_hi, rate; in nfp_app_get_vf_config() local
276 mac_hi = readl(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_get_vf_config()
[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.c1433 uint16_t vf_offset = in pci_config_get_bar_addr() local
1437 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.c3654 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()