Home
last modified time | relevance | path

Searched refs:PCIDevice (Results 26 – 50 of 256) sorted by relevance

1234567891011

/openbmc/qemu/hw/pci-bridge/
H A Dpcie_root_port.c21 static void rp_aer_vector_update(PCIDevice *d) in rp_aer_vector_update()
30 static void rp_write_config(PCIDevice *d, uint32_t address, in rp_write_config()
48 PCIDevice *d = PCI_DEVICE(obj); in rp_reset_hold()
62 static void rp_realize(PCIDevice *d, Error **errp) in rp_realize()
137 static void rp_exit(PCIDevice *d) in rp_exit()
152 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
H A Dcxl_root_port.c60 static uint8_t cxl_rp_aer_vector(const PCIDevice *d) in DECLARE_INSTANCE_CHECKER()
78 static int cxl_rp_interrupts_init(PCIDevice *d, Error **errp) in cxl_rp_interrupts_init()
93 static void cxl_rp_interrupts_uninit(PCIDevice *d) in cxl_rp_interrupts_uninit()
148 PCIDevice *pci_dev = PCI_DEVICE(dev); in cxl_rp_realize()
212 static void cxl_rp_dvsec_write_config(PCIDevice *dev, uint32_t addr, in cxl_rp_dvsec_write_config()
234 static void cxl_rp_aer_vector_update(PCIDevice *d) in cxl_rp_aer_vector_update()
243 static void cxl_rp_write_config(PCIDevice *d, uint32_t address, uint32_t val, in cxl_rp_write_config()
H A Dxio3130_downstream.c44 static void xio3130_downstream_write_config(PCIDevice *d, uint32_t address, in xio3130_downstream_write_config()
58 PCIDevice *d = PCI_DEVICE(qdev); in xio3130_downstream_reset()
66 static void xio3130_downstream_realize(PCIDevice *d, Error **errp) in xio3130_downstream_realize()
126 static void xio3130_downstream_exitfn(PCIDevice *d) in xio3130_downstream_exitfn()
138 DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
H A Dpcie_pci_bridge.c34 static void pcie_pci_bridge_realize(PCIDevice *d, Error **errp) in OBJECT_DECLARE_SIMPLE_TYPE()
99 static void pcie_pci_bridge_exit(PCIDevice *d) in pcie_pci_bridge_exit()
109 PCIDevice *d = PCI_DEVICE(qdev); in pcie_pci_bridge_reset()
117 static void pcie_pci_bridge_write_config(PCIDevice *d, in pcie_pci_bridge_write_config()
137 SHPC_VMSTATE(shpc, PCIDevice, NULL),
H A Dxio3130_upstream.c41 static void xio3130_upstream_write_config(PCIDevice *d, uint32_t address, in xio3130_upstream_write_config()
51 PCIDevice *d = PCI_DEVICE(qdev); in xio3130_upstream_reset()
57 static void xio3130_upstream_realize(PCIDevice *d, Error **errp) in xio3130_upstream_realize()
105 static void xio3130_upstream_exitfn(PCIDevice *d) in xio3130_upstream_exitfn()
H A Dioh3420.c47 static uint8_t ioh3420_aer_vector(const PCIDevice *d) in ioh3420_aer_vector()
65 static int ioh3420_interrupts_init(PCIDevice *d, Error **errp) in ioh3420_interrupts_init()
80 static void ioh3420_interrupts_uninit(PCIDevice *d) in ioh3420_interrupts_uninit()
H A Dgen_pcie_root_port.c44 static uint8_t gen_rp_aer_vector(const PCIDevice *d) in gen_rp_aer_vector()
49 static int gen_rp_interrupts_init(PCIDevice *d, Error **errp) in gen_rp_interrupts_init()
64 static void gen_rp_interrupts_uninit(PCIDevice *d) in gen_rp_interrupts_uninit()
78 PCIDevice *d = PCI_DEVICE(dev); in gen_rp_realize()
H A Dcxl_upstream.c39 static void cxl_usp_dvsec_write_config(PCIDevice *dev, uint32_t addr, in cxl_usp_dvsec_write_config()
61 static void cxl_usp_write_config(PCIDevice *d, uint32_t address, in cxl_usp_write_config()
74 static uint32_t cxl_usp_read_config(PCIDevice *d, uint32_t address, int len) in cxl_usp_read_config()
98 PCIDevice *d = PCI_DEVICE(qdev); in cxl_usp_reset()
204 PCIDevice *d = bus->devices[devfn]; in build_cdat_table()
290 static void cxl_usp_realize(PCIDevice *d, Error **errp) in cxl_usp_realize()
355 static void cxl_usp_exitfn(PCIDevice *d) in cxl_usp_exitfn()
H A Dcxl_downstream.c44 static void cxl_dsp_dvsec_write_config(PCIDevice *dev, uint32_t addr, in cxl_dsp_dvsec_write_config()
68 static void cxl_dsp_config_write(PCIDevice *d, uint32_t address, in cxl_dsp_config_write()
84 PCIDevice *d = PCI_DEVICE(qdev); in cxl_dsp_reset()
135 static void cxl_dsp_realize(PCIDevice *d, Error **errp) in cxl_dsp_realize()
202 static void cxl_dsp_exitfn(PCIDevice *d) in cxl_dsp_exitfn()
/openbmc/qemu/hw/remote/
H A Dmessage.c23 static void process_config_write(QIOChannel *ioc, PCIDevice *dev,
25 static void process_config_read(QIOChannel *ioc, PCIDevice *dev,
29 static void process_device_reset_msg(QIOChannel *ioc, PCIDevice *dev,
35 PCIDevice *pci_dev = NULL; in mpqemu_remote_msg_loop_co()
93 static void process_config_write(QIOChannel *ioc, PCIDevice *dev, in process_config_write()
117 static void process_config_read(QIOChannel *ioc, PCIDevice *dev, in process_config_read()
215 static void process_device_reset_msg(QIOChannel *ioc, PCIDevice *dev, in process_device_reset_msg()
H A Dproxy.c26 static void probe_pci_info(PCIDevice *dev, Error **errp);
29 static void proxy_intx_update(PCIDevice *pci_dev) in proxy_intx_update()
52 PCIDevice *pci_dev = PCI_DEVICE(dev); in setup_irqfd()
77 static void pci_proxy_dev_realize(PCIDevice *device, Error **errp) in pci_proxy_dev_realize()
128 static void pci_proxy_dev_exit(PCIDevice *pdev) in pci_proxy_dev_exit()
172 static uint32_t pci_proxy_read_config(PCIDevice *d, uint32_t addr, int len) in pci_proxy_read_config()
181 static void pci_proxy_write_config(PCIDevice *d, uint32_t addr, uint32_t val, in pci_proxy_write_config()
292 static void probe_pci_info(PCIDevice *dev, Error **errp) in probe_pci_info()
/openbmc/qemu/ui/
H A Dutil.c31 static bool append_pci_address(char *buf, size_t buf_size, const PCIDevice *pci) in append_pci_address()
57 PCIDevice *pci = (PCIDevice *) object_dynamic_cast(OBJECT(dev), in qemu_console_fill_device_address()
/openbmc/qemu/hw/pci/
H A Dpci_host.c49 static inline PCIDevice *pci_dev_find_by_addr(PCIBus *bus, uint32_t addr) in pci_dev_find_by_addr()
65 static bool is_pci_dev_ejected(PCIDevice *pci_dev) in is_pci_dev_ejected()
76 void pci_host_config_write_common(PCIDevice *pci_dev, uint32_t addr, in pci_host_config_write_common()
99 uint32_t pci_host_config_read_common(PCIDevice *pci_dev, uint32_t addr, in pci_host_config_read_common()
128 PCIDevice *pci_dev = pci_dev_find_by_addr(s, addr); in pci_data_write()
144 PCIDevice *pci_dev = pci_dev_find_by_addr(s, addr); in pci_data_read()
/openbmc/qemu/hw/acpi/
H A Dpcihp.c167 static bool acpi_pcihp_pc_no_hotplug(AcpiPciHpState *s, PCIDevice *dev) in acpi_pcihp_pc_no_hotplug()
201 PCIDevice *dev = PCI_DEVICE(qdev); in acpi_pcihp_eject_slot()
247 PCIDevice *pdev = PCI_DEVICE(qdev); in acpi_pcihp_update_hotplug_bus()
274 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_pre_plug_cb()
288 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_plug_cb()
290 PCIDevice *bridge; in acpi_pcihp_device_plug_cb()
330 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_unplug_cb()
342 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_unplug_request_cb()
464 PCIDevice *dev = PCI_DEVICE(o); in pci_write()
/openbmc/qemu/hw/usb/
H A Dhcd-uhci.h46 PCIDevice dev;
86 void (*realize)(PCIDevice *dev, Error **errp);
92 void usb_uhci_common_realize(PCIDevice *dev, Error **errp);
H A Dhcd-ohci-pci.c39 PCIDevice parent_obj;
62 static void usb_ohci_realize_pci(PCIDevice *dev, Error **errp) in usb_ohci_realize_pci()
82 static void usb_ohci_exit(PCIDevice *dev) in usb_ohci_exit()
105 PCIDevice *dev = PCI_DEVICE(d); in usb_ohci_reset_pci()
H A Dhcd-xhci-pci.c41 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_intr_update()
63 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_intr_raise()
94 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_vmstate_post_load()
107 static void usb_xhci_pci_realize(struct PCIDevice *dev, Error **errp) in usb_xhci_pci_realize()
166 static void usb_xhci_pci_exit(PCIDevice *dev) in usb_xhci_pci_exit()
/openbmc/qemu/hw/net/
H A Dne2000-pci.c34 PCIDevice dev;
55 static void pci_ne2000_realize(PCIDevice *pci_dev, Error **errp) in pci_ne2000_realize()
79 static void pci_ne2000_exit(PCIDevice *pci_dev) in pci_ne2000_exit()
90 PCIDevice *pci_dev = PCI_DEVICE(obj); in ne2000_instance_init()
/openbmc/qemu/include/hw/pci/
H A Dslotid_cap.h5 int slotid_cap_init(PCIDevice *dev, int nslots,
9 void slotid_cap_cleanup(PCIDevice *dev);
/openbmc/qemu/hw/ide/
H A Dvia.c111 PCIDevice *d = PCI_DEVICE(s); in via_ide_set_irq()
125 PCIDevice *pd = PCI_DEVICE(dev); in via_ide_reset()
162 static uint32_t via_ide_cfg_read(PCIDevice *pd, uint32_t addr, int len) in via_ide_cfg_read()
185 static void via_ide_cfg_write(PCIDevice *pd, uint32_t addr, in via_ide_cfg_write()
197 static void via_ide_realize(PCIDevice *dev, Error **errp) in via_ide_realize()
237 static void via_ide_exitfn(PCIDevice *dev) in via_ide_exitfn()
/openbmc/qemu/hw/i386/xen/
H A Dxen_platform.c60 PCIDevice parent_obj;
117 static bool pci_device_is_passthrough(PCIDevice *d) in pci_device_is_passthrough()
130 static void unplug_nic(PCIBus *b, PCIDevice *d, void *o) in unplug_nic()
217 static void pci_xen_ide_unplug(PCIDevice *d, bool aux) in pci_xen_ide_unplug()
228 static void unplug_disks(PCIBus *b, PCIDevice *d, void *opaque) in unplug_disks()
271 PCIDevice *pci_dev = PCI_DEVICE(s); in platform_fixed_ioport_writew()
446 PCIDevice *pci_dev = PCI_DEVICE(s); in xen_platform_ioport_writeb()
547 static void xen_platform_realize(PCIDevice *dev, Error **errp) in xen_platform_realize()
/openbmc/qemu/hw/misc/
H A Divshmem.c83 PCIDevice *pdev;
90 PCIDevice parent_obj;
256 PCIDevice *pdev = entry->pdev; in ivshmem_vector_notify()
305 static void ivshmem_vector_mask(PCIDevice *dev, unsigned vector) in ivshmem_vector_mask()
327 static void ivshmem_vector_poll(PCIDevice *dev, in ivshmem_vector_poll()
426 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_add_kvm_msi_virq()
450 PCIDevice *pdev = PCI_DEVICE(s); in setup_interrupt()
706 PCIDevice *d = PCI_DEVICE(s); in ivshmem_msix_vector_use()
762 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_enable_irqfd()
792 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_disable_irqfd()
[all …]
/openbmc/qemu/hw/cxl/
H A Dswitch-mailbox-cci.c26 static void cswbcci_realize(PCIDevice *pci_dev, Error **errp) in cswbcci_realize()
63 static void cswmbcci_exit(PCIDevice *pci_dev) in cswmbcci_exit()
70 target, TYPE_CXL_USP, PCIDevice *),
/openbmc/qemu/hw/pci-host/
H A Dsh_pci.c42 PCIDevice *dev;
107 static int sh_pci_map_irq(PCIDevice *d, int irq_num) in sh_pci_map_irq()
149 static void sh_pcic_pci_realize(PCIDevice *d, Error **errp) in sh_pcic_pci_realize()
187 .instance_size = sizeof(PCIDevice),
/openbmc/qemu/hw/i386/kvm/
H A Dxen-stubs.c20 void xen_evtchn_snoop_msi(PCIDevice *dev, bool is_msix, unsigned int vector, in xen_evtchn_snoop_msi()
25 void xen_evtchn_remove_pci_device(PCIDevice *dev) in xen_evtchn_remove_pci_device()

1234567891011