Searched refs:pf_dev (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/vdpa/octeon_ep/ |
H A D | octep_vdpa_main.c | 418 struct pci_dev *pf_dev = octpf->pdev; in octep_vdpa_remove_pf() 419 struct resource *res = pf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_remove_pf() 429 pcibios_bus_to_resource(pf_dev->bus, res, &bus_region); in octep_vdpa_vf_bar_shrink() 434 struct pci_dev *pf_dev = octpf->pdev; in octep_vdpa_remove_vf() 435 struct resource *res = pf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_remove_vf() 441 pcibios_bus_to_resource(pf_dev->bus, res, &bus_region); in octep_vdpa_remove_vf() 698 static void octep_vdpa_assign_barspace(struct pci_dev *vf_dev, struct pci_dev *pf_dev, u8 idx) in octep_sriov_enable() 701 struct resource *pf_res = pf_dev->resource + PCI_STD_RESOURCES + 4; in octep_sriov_enable() 702 struct octep_pf *pf = pci_get_drvdata(pf_dev); in octep_sriov_enable() 707 vf_res->parent = (pf_dev 385 struct pci_dev *pf_dev = octpf->pdev; octep_vdpa_pf_bar_shrink() local 401 struct pci_dev *pf_dev = octpf->pdev; octep_vdpa_pf_bar_expand() local 657 octep_vdpa_assign_barspace(struct pci_dev * vf_dev,struct pci_dev * pf_dev,u8 idx) octep_vdpa_assign_barspace() argument [all...] |
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_vfr.c | 468 struct net_device *pf_dev = bp->dev; in bnxt_vf_rep_netdev_init() local 477 dev->hw_features = pf_dev->hw_features; in bnxt_vf_rep_netdev_init() 478 dev->gso_partial_features = pf_dev->gso_partial_features; in bnxt_vf_rep_netdev_init() 479 dev->vlan_features = pf_dev->vlan_features; in bnxt_vf_rep_netdev_init() 480 dev->hw_enc_features = pf_dev->hw_enc_features; in bnxt_vf_rep_netdev_init() 481 dev->features |= pf_dev->features; in bnxt_vf_rep_netdev_init()
|
/linux/drivers/vdpa/pds/ |
H A D | vdpa_dev.c | 800 struct device *pf_dev; in pds_vdpa_get_mgmt_info() local 817 pf_dev = &pf_pdev->dev; in pds_vdpa_get_mgmt_info() 818 ident_pa = dma_map_single(pf_dev, &vdpa_aux->ident, in pds_vdpa_get_mgmt_info() 820 if (dma_mapping_error(pf_dev, ident_pa)) { in pds_vdpa_get_mgmt_info() 829 dma_unmap_single(pf_dev, ident_pa, in pds_vdpa_get_mgmt_info()
|