Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
A Dtu102.c29 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_reset() local
31 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1000 + (leaf * 4), mask); in tu102_vfn_intr_reset()
37 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_allow() local
39 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1200 + (leaf * 4), mask); in tu102_vfn_intr_allow()
45 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_block() local
47 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1400 + (leaf * 4), mask); in tu102_vfn_intr_block()
53 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_rearm() local
55 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1608, 0x0000000f); in tu102_vfn_intr_rearm()
61 struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr); in tu102_vfn_intr_unarm() local
63 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1610, 0x0000000f); in tu102_vfn_intr_unarm()
[all …]
A Dbase.c39 struct nvkm_vfn *vfn; in nvkm_vfn_new_() local
42 if (!(vfn = *pvfn = kzalloc(sizeof(*vfn), GFP_KERNEL))) in nvkm_vfn_new_()
45 nvkm_subdev_ctor(&nvkm_vfn, device, type, inst, &vfn->subdev); in nvkm_vfn_new_()
46 vfn->func = func; in nvkm_vfn_new_()
47 vfn->addr.priv = addr; in nvkm_vfn_new_()
48 vfn->addr.user = vfn->addr.priv + func->user.addr; in nvkm_vfn_new_()
50 if (vfn->func->intr) { in nvkm_vfn_new_()
51 ret = nvkm_intr_add(vfn->func->intr, vfn->func->intrs, in nvkm_vfn_new_()
52 &vfn->subdev, 8, &vfn->intr); in nvkm_vfn_new_()
57 vfn->user.ctor = nvkm_uvfn_new; in nvkm_vfn_new_()
[all …]
A Duvfn.c29 struct nvkm_vfn *vfn; member
36 struct nvkm_vfn *vfn = nvkm_uvfn(object)->vfn; in nvkm_uvfn_map() local
37 struct nvkm_device *device = vfn->subdev.device; in nvkm_uvfn_map()
39 *addr = device->func->resource_addr(device, 0) + vfn->addr.user; in nvkm_uvfn_map()
40 *size = vfn->func->user.size; in nvkm_uvfn_map()
63 uvfn->vfn = device->vfn; in nvkm_uvfn_new()
A DKbuild2 nvkm-y += nvkm/subdev/vfn/base.o
3 nvkm-y += nvkm/subdev/vfn/uvfn.o
4 nvkm-y += nvkm/subdev/vfn/gv100.o
5 nvkm-y += nvkm/subdev/vfn/tu102.o
6 nvkm-y += nvkm/subdev/vfn/ga100.o
/linux-6.3-rc2/drivers/pci/controller/cadence/
A Dpcie-cadence-ep.c24 if (vfn == 0) in cdns_pcie_get_fn_from_vfn()
42 if (vfn > 1) { in cdns_pcie_ep_write_header()
45 } else if (vfn == 1) { in cdns_pcie_ep_write_header()
122 if (vfn == 1) in cdns_pcie_ep_set_bar()
128 if (vfn == 0 || vfn == 1) { in cdns_pcie_ep_set_bar()
143 if (vfn > 0) in cdns_pcie_ep_set_bar()
159 if (vfn == 1) in cdns_pcie_ep_clear_bar()
165 if (vfn == 0 || vfn == 1) { in cdns_pcie_ep_clear_bar()
178 if (vfn > 0) in cdns_pcie_ep_clear_bar()
497 if (vfn > 0) in cdns_pcie_ep_send_msix_irq()
[all …]
/linux-6.3-rc2/arch/s390/pci/
A 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
A 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()
A Dpci_bus.c120 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()
A Dpci_sysfs.c34 zpci_attr(vfn, "0x%04x\n", vfn);
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/
A Dmbx.h26 #define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * (vfn))) argument
/linux-6.3-rc2/drivers/pci/controller/
A Dpcie-rockchip-ep.c125 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
A Dpcie-rcar-ep.c159 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-6.3-rc2/drivers/vfio/pci/
A Dvfio_pci_zdev.c31 .vfn = zdev->vfn, in zpci_base_cap()
/linux-6.3-rc2/include/uapi/linux/
A Dvfio_zdev.h28 __u16 vfn; /* Virtual function number */ member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/ce/
A Dga100.c61 return nvkm_inth_add(&device->vfn->intr, vector, NVKM_INTR_PRIO_NORMAL, in ga100_ce_oneinit()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/
A DKbuild26 include $(src)/nvkm/subdev/vfn/Kbuild
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_wr.h118 uint8_t vfn; member
203 uint8_t vfn; member
A 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()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dlayout.h4 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VFN , struct nvkm_vfn , vfn)
/linux-6.3-rc2/arch/s390/include/asm/
A Dpci_clp.h109 u16 vfn; /* virtual fn number */ member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Dbase.c2388 .vfn = { 0x00000001, gv100_vfn_new },
2423 .vfn = { 0x00000001, tu102_vfn_new },
2458 .vfn = { 0x00000001, tu102_vfn_new },
2493 .vfn = { 0x00000001, tu102_vfn_new },
2528 .vfn = { 0x00000001, tu102_vfn_new },
2563 .vfn = { 0x00000001, tu102_vfn_new },
2591 .vfn = { 0x00000001, ga100_vfn_new },
2616 .vfn = { 0x00000001, ga100_vfn_new },
2646 .vfn = { 0x00000001, ga100_vfn_new },
2676 .vfn = { 0x00000001, ga100_vfn_new },
[all …]
A Duser.c345 else if (device->vfn && index-- == 0) in nvkm_udevice_child_get()
346 sclass = &device->vfn->user; in nvkm_udevice_child_get()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
A Dga102.c70 return &device->vfn->intr; in ga102_sec2_intr_vector()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
A Dtu102.c139 struct nvkm_intr *intr = &device->vfn->intr; in tu102_fault_oneinit()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dtu102.c45 nvkm_wr32(device, device->vfn->addr.user + 0x0090, chan->func->doorbell_handle(chan)); in tu102_chan_start()

Completed in 42 milliseconds

12