Home
last modified time | relevance | path

Searched refs:virtfn (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/pci/
A Diov.c251 struct pci_dev *virtfn; in pci_iov_add_virtfn() local
261 if (!virtfn) in pci_iov_add_virtfn()
267 virtfn->is_virtfn = 1; in pci_iov_add_virtfn()
279 virtfn->multifunction = 0; in pci_iov_add_virtfn()
285 virtfn->resource[i].name = pci_name(virtfn); in pci_iov_add_virtfn()
289 virtfn->resource[i].end = virtfn->resource[i].start + size - 1; in pci_iov_add_virtfn()
294 pci_device_add(virtfn, virtfn->bus); in pci_iov_add_virtfn()
316 struct pci_dev *virtfn; in pci_iov_remove_virtfn() local
321 if (!virtfn) in pci_iov_remove_virtfn()
331 if (virtfn->dev.kobj.sd) in pci_iov_remove_virtfn()
[all …]
/linux/arch/s390/pci/
A Dpci_iov.c48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) in zpci_iov_link_virtfn() argument
52 rc = pci_iov_sysfs_link(pdev, virtfn, vfid); in zpci_iov_link_virtfn()
56 virtfn->is_virtfn = 1; in zpci_iov_link_virtfn()
57 virtfn->multifunction = 0; in zpci_iov_link_virtfn()
58 virtfn->physfn = pci_dev_get(pdev); in zpci_iov_link_virtfn()
63 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
88 if (cand_devfn == virtfn->devfn) { in zpci_iov_setup_virtfn()
89 rc = zpci_iov_link_virtfn(pdev, virtfn, vfid); in zpci_iov_setup_virtfn()
A Dpci_iov.h18 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn);
25 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
/linux/drivers/net/ethernet/emulex/benet/
A Dbe.h650 u8 virtfn; member
682 #define be_physfn(adapter) (!adapter->virtfn)
683 #define be_virtfn(adapter) (adapter->virtfn)
A Dbe_main.c5576 adapter->virtfn = (sli_intf & SLI_INTF_FT_MASK) ? 1 : 0; in be_map_pci_bars()
/linux/drivers/crypto/hisilicon/
A Dqm.c4683 struct pci_dev *virtfn; in qm_vf_reset_prepare() local
4689 virtfn = vf_qm->pdev; in qm_vf_reset_prepare()
4690 if (virtfn == pdev) in qm_vf_reset_prepare()
4693 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_prepare()
4695 pci_save_state(virtfn); in qm_vf_reset_prepare()
4910 struct pci_dev *virtfn; in qm_vf_reset_done() local
4916 virtfn = vf_qm->pdev; in qm_vf_reset_done()
4917 if (virtfn == pdev) in qm_vf_reset_done()
4920 if (pci_physfn(virtfn) == pdev) { in qm_vf_reset_done()
4922 pci_restore_state(virtfn); in qm_vf_reset_done()
/linux/include/linux/
A Dpci.h2158 int pci_iov_sysfs_link(struct pci_dev *dev, struct pci_dev *virtfn, int id);
2186 struct pci_dev *virtfn, int id) in pci_iov_sysfs_link() argument
/linux/Documentation/ABI/testing/
A Dsysfs-bus-pci178 What: /sys/bus/pci/devices/.../virtfn<N>

Completed in 45 milliseconds