Home
last modified time | relevance | path

Searched refs:vfn (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.10/arch/s390/pci/
Dpci_iov.h14 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn);
18 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn);
21 static inline void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) {} in zpci_iov_remove_virtfn() argument
25 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
Dpci_iov.c40 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) in zpci_iov_remove_virtfn() argument
44 pci_iov_remove_virtfn(pdev->physfn, vfn - 1); in zpci_iov_remove_virtfn()
63 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn) in zpci_iov_setup_virtfn() argument
68 int vfid = vfn - 1; /* Linux' vfid's start at 0 vfn at 1*/ in zpci_iov_setup_virtfn()
Dpci_sysfs.c34 zpci_attr(vfn, "0x%04x\n", vfn);
Dpci_bus.c138 if (zdev->vfn) { in pcibios_bus_add_device()
139 zpci_iov_setup_virtfn(zdev->zbus, pdev, zdev->vfn); in pcibios_bus_add_device()
Dpci_clp.c158 zdev->vfn = response->vfn; in clp_store_query_pci_fn()
Dpci.c693 return zpci_iov_remove_virtfn(pdev, zdev->vfn); in zpci_remove_device()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/
Dmbx.h27 #define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * (vfn))) argument
/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_zdev.c36 .vfn = zdev->vfn, in zpci_base_cap()
/Linux-v5.10/include/uapi/linux/
Dvfio_zdev.h28 __u16 vfn; /* Virtual function number */ member
/Linux-v5.10/drivers/scsi/csiostor/
Dcsio_wr.h118 uint8_t vfn; member
203 uint8_t vfn; member
Dcsio_mb.c451 FW_IQ_CMD_VFN_V(iq_params->vfn)); in csio_mb_iq_alloc()
508 FW_IQ_CMD_VFN_V(iq_params->vfn)); in csio_mb_iq_write()
633 FW_IQ_CMD_VFN_V(iq_params->vfn)); in csio_mb_iq_free()
668 FW_EQ_OFLD_CMD_VFN_V(eq_ofld_params->vfn)); in csio_mb_eq_ofld_alloc()
716 FW_EQ_OFLD_CMD_VFN_V(eq_ofld_params->vfn)); in csio_mb_eq_ofld_write()
819 FW_EQ_OFLD_CMD_VFN_V(eq_ofld_params->vfn)); in csio_mb_eq_ofld_free()
Dcsio_wr.c455 iqp.vfn = 0; in csio_wr_iq_create()
573 eqp.vfn = 0; in csio_wr_eq_create()
647 iqp.vfn = 0; in csio_wr_iq_destroy()
720 eqp.vfn = 0; in csio_wr_eq_destroy()
/Linux-v5.10/arch/s390/include/asm/
Dpci_clp.h109 u16 vfn; /* virtual fn number */ member
Dpci.h127 u16 vfn; /* virtual function number */ member
/Linux-v5.10/Documentation/s390/
Dpci.rst78 - vfn
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_main.c2488 int vfn = adapter->vfs_allocated_count; in igb_ndo_fdb_add() local
2490 if (netdev_uc_count(dev) >= igb_available_rars(adapter, vfn)) in igb_ndo_fdb_add()
4554 int vfn) in igb_set_vf_rlpml() argument
4562 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vf_rlpml()
4565 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml()
4571 int vfn, bool enable) in igb_set_vf_vlan_strip() argument
4580 reg = E1000_DVMOLR(vfn); in igb_set_vf_vlan_strip()
4582 reg = E1000_VMOLR(vfn); in igb_set_vf_vlan_strip()
4593 int vfn, bool aupe) in igb_set_vmolr() argument
4604 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vmolr()
[all …]
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h466 int hns_mac_clr_multicast(struct hns_mac_cb *mac_cb, int vfn);
Dhns_dsaf_mac.c354 int hns_mac_clr_multicast(struct hns_mac_cb *mac_cb, int vfn) in hns_mac_clr_multicast() argument
358 int ret = hns_mac_get_inner_port_num(mac_cb, vfn, &port_num); in hns_mac_clr_multicast()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c794 unsigned int vfn = (event_mask & 0x3f); in ixgbe_vf_configuration() local
799 eth_zero_addr(adapter->vfinfo[vfn].vf_mac_addresses); in ixgbe_vf_configuration()