| /Linux-v6.1/drivers/pci/controller/cadence/ |
| D | pcie-cadence-ep.c | 19 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() argument 24 if (vfn == 0) in cdns_pcie_get_fn_from_vfn() 29 fn = fn + first_vf_offset + ((vfn - 1) * stride); in cdns_pcie_get_fn_from_vfn() 34 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() argument 42 if (vfn > 1) { in cdns_pcie_ep_write_header() 45 } else if (vfn == 1) { in cdns_pcie_ep_write_header() 76 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_bar() argument 122 if (vfn == 1) in cdns_pcie_ep_set_bar() 128 if (vfn == 0 || vfn == 1) { in cdns_pcie_ep_set_bar() 137 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_set_bar() [all …]
|
| /Linux-v6.1/arch/s390/pci/ |
| D | pci_iov.h | 14 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
|
| D | pci_iov.c | 40 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()
|
| D | pci_bus.c | 120 zpci_iov_remove_virtfn(pdev, zdev->vfn); in zpci_bus_remove_device() 297 if (zdev->vfn) { in pcibios_bus_add_device() 298 zpci_iov_setup_virtfn(zdev->zbus, pdev, zdev->vfn); in pcibios_bus_add_device()
|
| D | pci_sysfs.c | 34 zpci_attr(vfn, "0x%04x\n", vfn);
|
| D | pci_clp.c | 163 zdev->vfn = response->vfn; in clp_store_query_pci_fn()
|
| /Linux-v6.1/drivers/net/ethernet/intel/ixgbevf/ |
| D | mbx.h | 26 #define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * (vfn))) argument
|
| /Linux-v6.1/drivers/pci/controller/ |
| D | pcie-rockchip-ep.c | 125 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header() argument 162 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar() argument 230 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar() argument 259 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr() argument 286 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr() argument 310 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi() argument 331 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi() argument 473 static int rockchip_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_raise_irq() argument
|
| D | pcie-rcar-ep.c | 159 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header() argument 246 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar() argument 259 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_set_msi() argument 273 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi() argument 286 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr() argument 323 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr() argument 404 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq() argument
|
| /Linux-v6.1/drivers/vfio/pci/ |
| D | vfio_pci_zdev.c | 31 .vfn = zdev->vfn, in zpci_base_cap()
|
| /Linux-v6.1/include/uapi/linux/ |
| D | vfio_zdev.h | 28 __u16 vfn; /* Virtual function number */ member
|
| /Linux-v6.1/drivers/scsi/csiostor/ |
| D | csio_wr.h | 118 uint8_t vfn; member 203 uint8_t vfn; member
|
| D | csio_mb.c | 451 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()
|
| D | csio_wr.c | 455 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-v6.1/arch/s390/include/asm/ |
| D | pci_clp.h | 109 u16 vfn; /* virtual fn number */ member
|
| D | pci.h | 127 u16 vfn; /* virtual function number */ member
|
| /Linux-v6.1/Documentation/s390/ |
| D | pci.rst | 79 - vfn
|
| /Linux-v6.1/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 2493 int vfn = adapter->vfs_allocated_count; in igb_ndo_fdb_add() local 2495 if (netdev_uc_count(dev) >= igb_available_rars(adapter, vfn)) in igb_ndo_fdb_add() 4575 int vfn) in igb_set_vf_rlpml() argument 4583 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vf_rlpml() 4586 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml() 4592 int vfn, bool enable) in igb_set_vf_vlan_strip() argument 4601 reg = E1000_DVMOLR(vfn); in igb_set_vf_vlan_strip() 4603 reg = E1000_VMOLR(vfn); in igb_set_vf_vlan_strip() 4614 int vfn, bool aupe) in igb_set_vmolr() argument 4625 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vmolr() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_mac.h | 463 int hns_mac_clr_multicast(struct hns_mac_cb *mac_cb, int vfn);
|
| D | hns_dsaf_mac.c | 354 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-v6.1/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_sriov.c | 796 unsigned int vfn = (event_mask & 0x3f); in ixgbe_vf_configuration() local 801 eth_zero_addr(adapter->vfinfo[vfn].vf_mac_addresses); in ixgbe_vf_configuration()
|