Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 26) sorted by relevance

12

/devicemodel/hw/pci/
A Dptm.c59 __func__, pdev->bus, pdev->dev, pdev->func, pos, reg_val); in get_ptm_reg_value()
79 rp_vdev.slot = PCI_BDF(ptdev->dev->bus, ptdev->dev->slot, ptdev->dev->func); in add_vroot_port()
81 rp_priv->phy_bdf = PCI_BDF(root_port->bus, root_port->dev, root_port->func); in add_vroot_port()
127 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe()
134 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe()
153 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe()
161 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe()
169 __func__, rp->bus, rp->dev, rp->func, in ptm_probe()
170 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe()
179 __func__, rp->bus, rp->dev, rp->func); in ptm_probe()
[all …]
A Dpassthrough.c406 int slot, int func) in cfginit() argument
415 ptdev->sel.func = func; in cfginit()
419 bus, slot, func); in cfginit()
426 bus, slot, func); in cfginit()
439 bus, slot, func); in cfginit()
820 phys_dev->func == func) { in passthru_init()
1130 dev->func); in write_dsdt_xdci()
1148 dev->func); in write_dsdt_hdac()
1267 dev->func); in write_dsdt_hdas()
1717 dev->func); in write_dsdt_urt1()
[all …]
A Dgsi_sharing.c82 int bus, slot, func; in check_msi_capability() local
88 if (parse_bdf(dev_name, &bus, &slot, &func, 16) != 0) in check_msi_capability()
91 phys_dev = pci_device_find_by_slot(0, bus, slot, func); in check_msi_capability()
166 int i, bus, slot, func; in update_pt_info() local
172 if (parse_bdf(name, &bus, &slot, &func, 16) != 0) in update_pt_info()
175 if (phys_bdf == (PCI_BDF(bus, slot, func))) in update_pt_info()
A Dcore.c261 func ? *func = 0 : 0; in parse_bdf()
275 if (s_func && func) in parse_bdf()
1046 pdi->func = func; in pci_emul_init()
1529 for (func = 0; func < MAXFUNCS; func++) { in init_pci()
1622 for (func = 0; func < MAXFUNCS; func++) { in init_pci()
1693 for (func = 0; func < MAXFUNCS; func++) { in init_pci()
1712 func, fi); in init_pci()
1728 int bus, slot, func; in deinit_pci() local
1759 for (func = 0; func < MAXFUNCS; func++) { in deinit_pci()
1770 func, fi); in deinit_pci()
[all …]
A Duart.c121 vdev.slot = PCI_BDF(dev->bus, dev->slot, dev->func); in pci_uart_init()
141 "pci uart at %d:%d\n", opts, dev->slot, dev->func); in pci_uart_init()
158 emul_dev.slot = PCI_BDF(dev->bus, dev->slot, dev->func); in pci_uart_deinit()
A Dnpk.c297 error = vm_map_ptdev_mmio(ctx, dev->bus, dev->slot, dev->func, in pci_npk_init()
329 vm_unmap_ptdev_mmio(ctx, dev->bus, dev->slot, dev->func, in pci_npk_deinit()
A Divshmem.c156 dev.slot = PCI_BDF(vdev->bus, vdev->slot, vdev->func); in create_ivshmem_from_hv()
365 emul_dev.slot = PCI_BDF(vdev->bus, vdev->slot, vdev->func); in destroy_ivshmem_from_hv()
A Dgvt.c384 gvt->addr.function = pi->func; in pci_gvt_init()
A Dlpc.c274 dsdt_line(" Name (_ADR, 0x%04X%04X)", dev->slot, dev->func); in pci_lpc_write_dsdt()
/devicemodel/include/
A Dpcireg.h62 #define PCI_RID(bus, slot, func) \ argument
65 (((func) & PCI_FUNCMAX) << PCI_RID_FUNC_SHIFT))
67 #define PCI_ARI_RID(bus, func) \ argument
69 (((func) & PCIE_ARI_FUNCMAX) << PCI_RID_FUNC_SHIFT))
79 #define PCIE_ARI_SLOT(func) (((func) >> PCI_RID_SLOT_SHIFT) & PCI_SLOTMAX) argument
80 #define PCIE_ARI_FUNC(func) (((func) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX) argument
A Dvmmapi.h140 int vm_map_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
142 int vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
A Dpci_core.h144 uint8_t bus, slot, func; member
395 int slot, int func, int reg, int bytes, int *value);
401 int parse_bdf(char *s, int *bus, int *dev, int *func, int base);
A Dpciio.h62 u_int8_t func; /* function on this device */ member
/devicemodel/core/
A Dmonitor.c311 #define DEFINE_HANDLER(name, func) \ argument
325 if (ops->ops->func) { \
326 ret += ops->ops->func(ops->arg); \
A Dvmmapi.c596 vm_map_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, in vm_map_ptdev_mmio() argument
615 vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, in vm_unmap_ptdev_mmio() argument
A Dmain.c428 io_req->reqs.pci_request.func, in vmexit_pci_emul()
436 io_req->reqs.pci_request.func, in vmexit_pci_emul()
/devicemodel/hw/pci/virtio/
A Dvirtio_mei.c2204 unsigned int bus, unsigned int slot, unsigned int func) in vmei_get_devname() argument
2213 bus, slot, func); in vmei_get_devname()
2241 int bus = 0, slot = 0, func = 0; in vmei_init() local
2250 if (parse_bdf(opt, &bus, &slot, &func, 16) == 0) in vmei_init()
2268 rc = vmei_get_devname(name, sizeof(name), bus, slot, func); in vmei_init()
2366 snprintf(tname, sizeof(tname), "vmei-%d:%d tx", dev->slot, dev->func); in vmei_init()
2376 snprintf(tname, sizeof(tname), "vmei-%d:%d rx", dev->slot, dev->func); in vmei_init()
A Dvirtio_net.c971 dev->func, mac_seed); in virtio_net_init()
974 dev->func); in virtio_net_init()
1042 dev->func); in virtio_net_init()
A Dvirtio_coreu.c348 dev->slot, dev->func); in virtio_coreu_init()
A Dvirtio_block.c505 dev->slot, dev->func) >= sizeof(bident)) { in virtio_blk_init()
838 dev->slot, dev->func) >= sizeof(bident)) { in virtio_blk_rescan()
A Dvirtio_hdcp.c476 dev->slot, dev->func); in virtio_hdcp_init()
A Dvirtio_rnd.c469 dev->func); in virtio_rnd_init()
A Dvirtio_i2c.c160 dsdt_line(" Name (_ADR, 0x%04X%04X)", dev->slot, dev->func); in acpi_add_i2c_adapter()
A Dvirtio_gpio.c1448 dsdt_line(" Name (_ADR, 0x%04X%04X)", dev->slot, dev->func); in virtio_gpio_write_dsdt()
/devicemodel/hw/platform/
A Dioc.c1373 ioc_work func, void *arg) in ioc_create_thread() argument
1375 if (pthread_create(tid, NULL, func, arg) != 0) { in ioc_create_thread()

Completed in 51 milliseconds

12