Home
last modified time | relevance | path

Searched defs:pdev (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_dsps.c152 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_enable() local
185 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_disable() local
204 struct platform_device *pdev = to_platform_device(dev->parent); in otg_timer() local
258 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_try_idle() local
298 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_interrupt() local
413 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_init() local
481 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_exit() local
530 struct platform_device *pdev = to_platform_device(dev); in dsps_create_musb_pdev() local
609 static int __devinit dsps_probe(struct platform_device *pdev) in dsps_probe()
672 static int __devexit dsps_remove(struct platform_device *pdev) in dsps_remove()
H A Dam35x.c503 static int __devinit am35x_probe(struct platform_device *pdev) in am35x_probe()
608 static int __devexit am35x_remove(struct platform_device *pdev) in am35x_remove()
/openbmc/qemu/hw/vfio/
H A Dcpr.c59 PCIDevice *pdev = &vdev->pdev; in vfio_cpr_claim_vectors() local
102 PCIDevice *pdev = &vdev->pdev; in vfio_cpr_pci_pre_load() local
116 PCIDevice *pdev = &vdev->pdev; in vfio_cpr_pci_post_load() local
143 PCIDevice *pdev = opaque; in pci_msix_present() local
217 PCIDevice *pdev = &vdev->pdev; in vfio_cpr_set_msi_virq() local
H A Dpci.c301 static void vfio_intx_routing_notifier(PCIDevice *pdev) in vfio_intx_routing_notifier()
606 PCIDevice *pdev) in vfio_update_kvm_msi_virq()
634 PCIDevice *pdev = &vdev->pdev; in vfio_pci_vector_init() local
649 static int vfio_msix_vector_do_use(PCIDevice *pdev, unsigned int nr, in vfio_msix_vector_do_use()
730 static int vfio_msix_vector_use(PCIDevice *pdev, in vfio_msix_vector_use()
745 static void vfio_msix_vector_release(PCIDevice *pdev, unsigned int nr) in vfio_msix_vector_release()
1329 static void vfio_sub_page_bar_update_mapping(PCIDevice *pdev, int bar) in vfio_sub_page_bar_update_mapping()
1375 uint32_t vfio_pci_read_config(PCIDevice *pdev, uint32_t addr, int len) in vfio_pci_read_config()
1408 void vfio_pci_write_config(PCIDevice *pdev, in vfio_pci_write_config()
2021 static uint8_t vfio_std_cap_max_size(PCIDevice *pdev, uint8_t pos) in vfio_std_cap_max_size()
[all …]
H A Digd.c239 static int vfio_pci_igd_copy(VFIOPCIDevice *vdev, PCIDevice *pdev, in vfio_pci_igd_copy()
290 static void vfio_pci_igd_lpc_bridge_realize(PCIDevice *pdev, Error **errp) in vfio_pci_igd_lpc_bridge_realize()
/openbmc/qemu/tests/qtest/
H A Dnvme-test.c53 QPCIDevice *pdev = &nvme->dev; in nvmetest_oob_cmb_test() local
73 QPCIDevice *pdev = &nvme->dev; in nvmetest_reg_read_test() local
97 QPCIDevice *pdev = &nvme->dev; in nvmetest_pmr_reg_test() local
H A Dvirtio-blk-test.c467 QVirtioPCIDevice *pdev = &blk->pci_vdev; in msix() local
576 QVirtioPCIDevice *pdev = &blk->pci_vdev; in idx() local
732 QVirtioPCIDevice *pdev = &blk->pci_vdev; in test_nonexistent_virtqueue() local
H A Drtl8139-test.c30 QPCIDevice **pdev = (QPCIDevice **) data; in save_fn() local
H A Derst-test.c19 QPCIDevice **pdev = (QPCIDevice **) data; in save_fn() local
/openbmc/qemu/hw/acpi/
H A Dpcihp.c245 PCIDevice *pdev = PCI_DEVICE(qdev); in acpi_pcihp_update_hotplug_bus() local
272 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_pre_plug_cb() local
286 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_plug_cb() local
328 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_unplug_cb() local
340 PCIDevice *pdev = PCI_DEVICE(dev); in acpi_pcihp_device_unplug_request_cb() local
784 static Aml *aml_pci_static_endpoint_dsm(PCIDevice *pdev) in aml_pci_static_endpoint_dsm()
815 const PCIDevice *pdev = bus->devices[devfn]; in is_devfn_ignored_generic() local
833 PCIDevice *pdev = bus->devices[devfn]; in is_devfn_ignored_hotplug() local
910 PCIDevice *pdev = bus->devices[devfn]; in build_append_pci_bus_devices() local
/openbmc/qemu/hw/remote/
H A Dproxy.c128 static void pci_proxy_dev_exit(PCIDevice *pdev) in pci_proxy_dev_exit()
144 static void config_op_send(PCIProxyDev *pdev, uint32_t addr, uint32_t *val, in config_op_send()
295 PCIProxyDev *pdev = PCI_PROXY_DEV(dev); in probe_pci_info() local
369 PCIProxyDev *pdev = PCI_PROXY_DEV(dev); in proxy_device_reset() local
H A Dmpqemu-link.c189 uint64_t mpqemu_msg_send_and_await_reply(MPQemuMsg *msg, PCIProxyDev *pdev, in mpqemu_msg_send_and_await_reply()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-pci.c68 static void ehci_pci_legacy_init(pci_dev_t pdev, struct ehci_hccr **ret_hccr, in ehci_pci_legacy_init()
100 pci_dev_t pdev; in ehci_hcd_init() local
/openbmc/qemu/hw/vfio-user/
H A Dpci.c88 PCIDevice *pdev = &vdev->pdev; in vfio_user_dma_read() local
136 PCIDevice *pdev = &vdev->pdev; in vfio_user_dma_write() local
231 static void vfio_user_pci_realize(PCIDevice *pdev, Error **errp) in vfio_user_pci_realize()
/openbmc/qemu/hw/misc/
H A Divshmem-pci.c83 PCIDevice *pdev; member
256 PCIDevice *pdev = entry->pdev; in ivshmem_vector_notify() local
426 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_add_kvm_msi_virq() local
450 PCIDevice *pdev = PCI_DEVICE(s); in setup_interrupt() local
769 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_enable_irqfd() local
799 PCIDevice *pdev = PCI_DEVICE(s); in ivshmem_disable_irqfd() local
822 static void ivshmem_write_config(PCIDevice *pdev, uint32_t address, in ivshmem_write_config()
H A Dedu.c48 PCIDevice pdev; member
369 static void pci_edu_realize(PCIDevice *pdev, Error **errp) in pci_edu_realize()
392 static void pci_edu_uninit(PCIDevice *pdev) in pci_edu_uninit()
/openbmc/qemu/hw/ppc/
H A Dspapr_pci_vfio.c150 static void spapr_eeh_pci_find_device(PCIBus *bus, PCIDevice *pdev, in spapr_eeh_pci_find_device()
237 PCIDevice *pdev, in spapr_phb_vfio_eeh_clear_dev_msix()
H A Dspapr_pci.c246 static void spapr_msi_setmsg(PCIDevice *pdev, hwaddr addr, bool msix, in spapr_msi_setmsg()
281 PCIDevice *pdev = NULL; in rtas_ibm_change_msi() local
447 PCIDevice *pdev = NULL; in rtas_ibm_query_interrupt_source_number() local
519 PCIDevice *pdev; in rtas_ibm_get_config_addr_info2() local
786 static char *spapr_phb_vfio_get_loc_code(SpaprPhbState *sphb, PCIDevice *pdev) in spapr_phb_vfio_get_loc_code()
814 static char *spapr_phb_get_loc_code(SpaprPhbState *sphb, PCIDevice *pdev) in spapr_phb_get_loc_code()
1280 static void spapr_dt_pci_device_cb(PCIBus *bus, PCIDevice *pdev, in spapr_dt_pci_device_cb()
1468 PCIDevice *pdev = PCI_DEVICE(drc->dev); in spapr_pci_dt_populate() local
1537 PCIDevice *pdev = PCI_DEVICE(plugged_dev); in spapr_pci_pre_plug() local
1572 PCIDevice *pdev = PCI_DEVICE(plugged_dev); in spapr_pci_plug() local
[all …]
/openbmc/u-boot/drivers/reset/
H A Dreset-mediatek.c77 int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs) in mediatek_reset_bind()
H A Dreset-rockchip.c106 int rockchip_reset_bind(struct udevice *pdev, u32 reg_offset, u32 reg_number) in rockchip_reset_bind()
/openbmc/qemu/hw/pci-host/
H A Darticia.c153 static int amigaone_pcihost_bus0_map_irq(PCIDevice *pdev, int pin) in amigaone_pcihost_bus0_map_irq()
172 PCIDevice *pdev; in articia_realize() local
/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm283x.c109 struct udevice *pdev; in bcm283x_pinctl_probe() local
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-pci.h22 QPCIDevice *pdev; member
/openbmc/u-boot/drivers/pci/
H A Dpci_sandbox.c83 u8 pdev, pfn, devfn; in sandbox_pci_probe() local
/openbmc/qemu/hw/pci/
H A Dpci.c2394 static uint8_t pci_find_space(PCIDevice *pdev, uint8_t size) in pci_find_space()
2407 static uint8_t pci_find_capability_list(PCIDevice *pdev, uint8_t cap_id, in pci_find_capability_list()
2425 static uint8_t pci_find_capability_at_offset(PCIDevice *pdev, uint8_t offset) in pci_find_capability_at_offset()
2446 static void pci_patch_ids(PCIDevice *pdev, uint8_t *ptr, uint32_t size) in pci_patch_ids()
2501 static void pci_add_option_rom(PCIDevice *pdev, bool is_default_rom, in pci_add_option_rom()
2609 static void pci_del_option_rom(PCIDevice *pdev) in pci_del_option_rom()
2624 int pci_add_capability(PCIDevice *pdev, uint8_t cap_id, in pci_add_capability()
2668 void pci_del_capability(PCIDevice *pdev, uint8_t cap_id, uint8_t size) in pci_del_capability()
2685 uint8_t pci_find_capability(PCIDevice *pdev, uint8_t cap_id) in pci_find_capability()
2782 const char *id, PCIDevice **pdev) in pci_qdev_find_recursive()
[all …]

123