/openbmc/linux/include/linux/ |
H A D | pci.h | 322 struct pci_dev { struct 345 struct pci_dev *rcec; /* Associated RCEC device */ argument 347 u32 devcap; /* PCIe Device Capabilities */ 348 u8 pcie_cap; /* PCIe capability offset */ 349 u8 msi_cap; /* MSI capability offset */ 350 u8 msix_cap; /* MSI-X capability offset */ 351 u8 pcie_mpss:3; /* PCIe Max Payload Size Supported */ 352 u8 rom_base_reg; /* Config register controlling ROM */ 353 u8 pin; /* Interrupt pin this device uses */ 354 u16 pcie_flags_reg; /* Cached PCIe Capabilities Register */ [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci-driver.c | 308 struct pci_dev *pci_dev = ddi->dev; in local_pci_probe() local 407 static int __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe() 447 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe() local 471 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove() local 514 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown() local 541 static int pci_restore_standard_config(struct pci_dev *pci_dev) in pci_restore_standard_config() 561 static void pci_pm_default_resume(struct pci_dev *pci_dev) in pci_pm_default_resume() 567 static void pci_pm_power_up_and_verify_state(struct pci_dev *pci_dev) in pci_pm_power_up_and_verify_state() 573 static void pci_pm_default_resume_early(struct pci_dev *pci_dev) in pci_pm_default_resume_early() 580 static void pci_pm_bridge_power_up_actions(struct pci_dev *pci_dev) in pci_pm_bridge_power_up_actions() [all …]
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_base.c | 197 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_bus_reset() local 266 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_tweak_hardware() local 359 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_setup_vf_jtimer() local 430 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_read_ids() local 477 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_start() local 610 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_recover_card() local 661 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_fir_checking() local 800 static int genwqe_pci_fundamental_reset(struct pci_dev *pci_dev) in genwqe_pci_fundamental_reset() 826 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_platform_recovery() local 869 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_reload_bistream() local [all …]
|
H A D | card_ddcb.c | 168 struct pci_dev *pci_dev = cd->pci_dev; in print_ddcb_info() local 370 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_check_ddcb_queue() local 482 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_wait_ddcb() local 626 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_purge_ddcb() local 728 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_init_debug_data() local 760 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_enqueue_ddcb() local 916 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_execute_raw_ddcb() local 1027 struct pci_dev *pci_dev = cd->pci_dev; in setup_ddcb_queue() local 1124 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_pf_isr() local 1232 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_setup_service_layer() local [all …]
|
H A D | card_dev.c | 158 struct pci_dev *pci_dev = cfile->cd->pci_dev; in __genwqe_search_mapping() local 195 struct pci_dev *pci_dev = cfile->cd->pci_dev; in genwqe_remove_mappings() local 397 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_vma_close() local 516 struct pci_dev *pci_dev = cd->pci_dev; in do_flash_update() local 651 struct pci_dev *pci_dev = cd->pci_dev; in do_flash_read() local 773 struct pci_dev *pci_dev = cfile->cd->pci_dev; in genwqe_pin_mem() local 1058 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_ioctl() local 1255 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_device_create() local 1311 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_inform_and_stop_processes() local 1364 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_device_remove() local
|
H A D | card_utils.c | 46 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_writeq() local 97 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_writel() local 233 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_unmap_pages() local 247 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_map_pages() local 295 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_alloc_sync_sgl() local 478 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_free_sync_sgl() local 550 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_user_vmap() local 622 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_user_vunmap() local 669 struct pci_dev *pci_dev = cd->pci_dev; in genwqe_card_reset() local
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 188 struct pci_dev *pci_dev = cobalt->pci_dev; in cobalt_pcie_status_show() local 237 struct pci_dev *pci_dev = cobalt->pci_dev; in pcie_link_get_lanes() local 248 struct pci_dev *pci_dev = cobalt->pci_dev->bus->self; in pcie_bus_link_get_lanes() local 257 static void msi_config_show(struct cobalt *cobalt, struct pci_dev *pci_dev) in msi_config_show() 279 static void cobalt_pci_iounmap(struct cobalt *cobalt, struct pci_dev *pci_dev) in cobalt_pci_iounmap() 291 static void cobalt_free_msi(struct cobalt *cobalt, struct pci_dev *pci_dev) in cobalt_free_msi() 297 static int cobalt_setup_pci(struct cobalt *cobalt, struct pci_dev *pci_dev, in cobalt_setup_pci() 656 static int cobalt_probe(struct pci_dev *pci_dev, in cobalt_probe() 756 static void cobalt_remove(struct pci_dev *pci_dev) in cobalt_remove()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00pci.c | 41 struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); in rt2x00pci_alloc_reg() local 65 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops) in rt2x00pci_probe() 151 void rt2x00pci_remove(struct pci_dev *pci_dev) in rt2x00pci_remove()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-amd-mp2-pci.c | 289 struct pci_dev *pci_dev) in amd_mp2_pci_init() 344 static int amd_mp2_pci_probe(struct pci_dev *pci_dev, in amd_mp2_pci_probe() 372 static void amd_mp2_pci_remove(struct pci_dev *pci_dev) in amd_mp2_pci_remove() 388 struct pci_dev *pci_dev = to_pci_dev(dev); in amd_mp2_pci_suspend() local 412 struct pci_dev *pci_dev = to_pci_dev(dev); in amd_mp2_pci_resume() local 463 struct pci_dev *pci_dev; in amd_mp2_find_device() local
|
/openbmc/linux/drivers/usb/core/ |
H A D | hcd-pci.c | 380 static void powermac_set_asic(struct pci_dev *pci_dev, int enable) in powermac_set_asic() 395 static inline void powermac_set_asic(struct pci_dev *pci_dev, int enable) in powermac_set_asic() 420 struct pci_dev *pci_dev = to_pci_dev(dev); in suspend_common() local 478 struct pci_dev *pci_dev = to_pci_dev(dev); in resume_common() local 526 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_suspend_noirq() local 565 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_poweroff_late() local
|
/openbmc/qemu/hw/pci/ |
H A D | pci_host.c | 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() local 144 PCIDevice *pci_dev = pci_dev_find_by_addr(s, addr); in pci_data_read() local
|
H A D | pci.c | 137 static void pci_init_bus_master(PCIDevice *pci_dev) in pci_init_bus_master() 322 static void pci_change_irq_level(PCIDevice *pci_dev, int irq_num, int change) in pci_change_irq_level() 797 static void pci_set_default_subsystem_id(PCIDevice *pci_dev) in pci_set_default_subsystem_id() 1021 static void pci_config_alloc(PCIDevice *pci_dev) in pci_config_alloc() 1032 static void pci_config_free(PCIDevice *pci_dev) in pci_config_free() 1041 static void do_pci_unregister_device(PCIDevice *pci_dev) in do_pci_unregister_device() 1157 static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, in do_pci_register_device() 1278 static void pci_unregister_io_regions(PCIDevice *pci_dev) in pci_unregister_io_regions() 1295 PCIDevice *pci_dev = PCI_DEVICE(dev); in pci_qdev_unrealize() local 1322 void pci_register_bar(PCIDevice *pci_dev, int region_num, in pci_register_bar() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | ne2000-pci.c | 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() local
|
/openbmc/linux/drivers/media/pci/tw68/ |
H A D | tw68-core.c | 211 static int tw68_initdev(struct pci_dev *pci_dev, in tw68_initdev() 340 static void tw68_finidev(struct pci_dev *pci_dev) in tw68_finidev() 364 struct pci_dev *pci_dev = to_pci_dev(dev_d); in tw68_suspend() local
|
/openbmc/qemu/hw/pci-host/ |
H A D | sabre.c | 272 static int pci_sabre_map_irq(PCIDevice *pci_dev, int irq_num) in pci_sabre_map_irq() 278 static int pci_simbaA_map_irq(PCIDevice *pci_dev, int irq_num) in pci_simbaA_map_irq() 296 static int pci_simbaB_map_irq(PCIDevice *pci_dev, int irq_num) in pci_simbaB_map_irq() 335 PCIDevice *pci_dev; in sabre_reset() local 374 PCIDevice *pci_dev; in sabre_realize() local
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci-pci.c | 41 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_intr_update() local 63 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_intr_raise() local 94 PCIDevice *pci_dev = PCI_DEVICE(s); in xhci_pci_vmstate_post_load() local
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gw_ventana.c | 532 struct pci_dev { struct 533 pci_dev_t devfn; argument 538 struct pci_dev *ppar; argument
|
/openbmc/qemu/hw/cxl/ |
H A D | switch-mailbox-cci.c | 26 static void cswbcci_realize(PCIDevice *pci_dev, Error **errp) in cswbcci_realize() 63 static void cswmbcci_exit(PCIDevice *pci_dev) in cswmbcci_exit()
|
/openbmc/qemu/hw/remote/ |
H A D | iohub.c | 36 int remote_iohub_map_irq(PCIDevice *pci_dev, int intx) in remote_iohub_map_irq() 78 void process_set_irqfd_msg(PCIDevice *pci_dev, MPQemuMsg *msg) in process_set_irqfd_msg()
|
H A D | vfio-user-obj.c | 105 PCIDevice *pci_dev; member 419 static size_t vfu_object_bar_rw(PCIDevice *pci_dev, int pci_bar, in vfu_object_bar_rw() 538 static int vfu_object_map_irq(PCIDevice *pci_dev, int intx) in vfu_object_map_irq() 549 PCIDevice *pci_dev = NULL; in vfu_object_set_irq() local 573 static MSIMessage vfu_object_msi_prepare_msg(PCIDevice *pci_dev, in vfu_object_msi_prepare_msg() 584 static void vfu_object_msi_trigger(PCIDevice *pci_dev, MSIMessage msg) in vfu_object_msi_trigger() 638 static int vfu_object_setup_irqs(VfuObject *o, PCIDevice *pci_dev) in vfu_object_setup_irqs()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_pci_common.c | 472 struct pci_dev *pci_dev = to_pci_dev(dev); in virtio_pci_freeze() local 485 struct pci_dev *pci_dev = to_pci_dev(dev); in virtio_pci_restore() local 522 static int virtio_pci_probe(struct pci_dev *pci_dev, in virtio_pci_probe() 584 static void virtio_pci_remove(struct pci_dev *pci_dev) in virtio_pci_remove() 609 static int virtio_pci_sriov_configure(struct pci_dev *pci_dev, int num_vfs) in virtio_pci_sriov_configure()
|
H A D | virtio_pci_legacy_dev.c | 18 struct pci_dev *pci_dev = ldev->pci_dev; in vp_legacy_probe() local 71 struct pci_dev *pci_dev = ldev->pci_dev; in vp_legacy_remove() local
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-mpeg.c | 437 static int cx8802_suspend_common(struct pci_dev *pci_dev, pm_message_t state) in cx8802_suspend_common() 463 static int cx8802_resume_common(struct pci_dev *pci_dev) in cx8802_resume_common() 699 static int cx8802_probe(struct pci_dev *pci_dev, in cx8802_probe() 748 static void cx8802_remove(struct pci_dev *pci_dev) in cx8802_remove()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx.c | 846 static void efx_pci_remove(struct pci_dev *pci_dev) in efx_pci_remove() 1028 static int efx_pci_probe(struct pci_dev *pci_dev, in efx_pci_probe() 1150 static void efx_pci_shutdown(struct pci_dev *pci_dev) in efx_pci_shutdown() 1201 struct pci_dev *pci_dev = to_pci_dev(dev); in efx_pm_poweroff() local 1215 struct pci_dev *pci_dev = to_pci_dev(dev); in efx_pm_resume() local
|
/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-core.c | 239 static int tw5864_initdev(struct pci_dev *pci_dev, in tw5864_initdev() 311 static void tw5864_finidev(struct pci_dev *pci_dev) in tw5864_finidev()
|