/linux/drivers/pci/pcie/ |
H A D | portdrv.h | 57 struct pcie_device { struct 64 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument 66 static inline void set_service_data(struct pcie_device *dev, void *data) in set_service_data() 71 static inline void *get_service_data(struct pcie_device *dev) in get_service_data() 78 int (*probe)(struct pcie_device *dev); 79 void (*remove)(struct pcie_device *dev); 80 int (*suspend)(struct pcie_device *dev); 81 int (*resume_noirq)(struct pcie_device *dev); 82 int (*resume)(struct pcie_device *dev); 83 int (*runtime_suspend)(struct pcie_device *dev); [all …]
|
H A D | pme.c | 44 struct pcie_device *srv; 273 port = ((struct pcie_device *)context)->port; in pcie_pme_irq() 274 data = get_service_data((struct pcie_device *)context); in pcie_pme_irq() 326 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() 392 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() 423 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume() 446 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove()
|
H A D | dpc.c | 415 static void dpc_enable(struct pcie_device *dev) in dpc_enable() 434 static void dpc_disable(struct pcie_device *dev) in dpc_disable() 447 static int dpc_probe(struct pcie_device *dev) in dpc_probe() 480 static int dpc_suspend(struct pcie_device *dev) in dpc_suspend() 486 static int dpc_resume(struct pcie_device *dev) in dpc_resume() 492 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
|
H A D | portdrv.c | 289 struct pcie_device *pcie; in pcie_device_init() 379 typedef int (*pcie_callback_t)(struct pcie_device *); 517 struct pcie_device *pciedev; in pcie_port_probe_service() 548 struct pcie_device *pciedev; in pcie_port_remove_service()
|
H A D | aer.c | 1330 struct pcie_device *dev = (struct pcie_device *)context; in aer_isr() 1351 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq() 1449 static void aer_remove(struct pcie_device *dev) in aer_remove() 1462 static int aer_probe(struct pcie_device *dev) in aer_probe() 1500 static int aer_suspend(struct pcie_device *dev) in aer_suspend() 1508 static int aer_resume(struct pcie_device *dev) in aer_resume()
|
H A D | aer_inject.c | 324 struct pcie_device *edev; in aer_inject()
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 76 struct _pcie_device *pcie_device); 567 struct _pcie_device *pcie_device; in _scsih_determine_boot_device() local 589 pcie_device = device; in _scsih_determine_boot_device() 590 sas_address = pcie_device->wwid; in _scsih_determine_boot_device() 1097 struct _pcie_device *pcie_device; in __mpt3sas_get_pdev_by_wwid() local 1101 list_for_each_entry(pcie_device, &ioc->pcie_device_list, list) in __mpt3sas_get_pdev_by_wwid() 1102 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid() 1105 list_for_each_entry(pcie_device, &ioc->pcie_device_init_list, list) in __mpt3sas_get_pdev_by_wwid() 1106 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid() 1112 pcie_device_get(pcie_device); in __mpt3sas_get_pdev_by_wwid() [all …]
|
H A D | mpt3sas_base.c | 2568 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument 2574 if (pcie_device && in base_is_prp_possible() 2575 (mpt3sas_scsih_is_pcie_scsi_device(pcie_device->device_info))) { in base_is_prp_possible() 2607 struct _pcie_device *pcie_device) in _base_check_pcie_native_sgl() argument 2617 if (!base_is_prp_possible(ioc, pcie_device, in _base_check_pcie_native_sgl() 2847 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() argument 2873 if ((pcie_device) && (_base_check_pcie_native_sgl(ioc, mpi_request, in _base_build_sg_scmd_ieee() 2874 smid, scmd, pcie_device) == 0)) { in _base_build_sg_scmd_ieee()
|
H A D | mpt3sas_base.h | 980 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
|
/linux/drivers/pci/hotplug/ |
H A D | pciehp_core.c | 184 static int pciehp_probe(struct pcie_device *dev) in pciehp_probe() 244 static void pciehp_remove(struct pcie_device *dev) in pciehp_remove() 255 static bool pme_is_native(struct pcie_device *dev) in pme_is_native() 263 static void pciehp_disable_interrupt(struct pcie_device *dev) in pciehp_disable_interrupt() 274 static int pciehp_suspend(struct pcie_device *dev) in pciehp_suspend() 313 static int pciehp_resume_noirq(struct pcie_device *dev) in pciehp_resume_noirq() 343 static int pciehp_resume(struct pcie_device *dev) in pciehp_resume() 355 static int pciehp_runtime_suspend(struct pcie_device *dev) in pciehp_runtime_suspend() 361 static int pciehp_runtime_resume(struct pcie_device *dev) in pciehp_runtime_resume()
|
H A D | pciehp.h | 92 struct pcie_device *pcie; 171 struct controller *pcie_init(struct pcie_device *dev); 199 int pciehp_slot_reset(struct pcie_device *dev);
|
H A D | pciehp_hpc.c | 874 int pciehp_slot_reset(struct pcie_device *dev) in pciehp_slot_reset() 978 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
|
/linux/Documentation/translations/zh_CN/PCI/ |
H A D | pciebus-howto.rst | 175 分配给结构体pcie_device的字段irq的向量IRQ,当PCI Express端口总线驱动程序探测每 176 个服务驱动程序时,它被传入。服务驱动应该使用(struct pcie_device*)dev->irq来调用 177 request_irq/free_irq。此外,中断模式被存储在struct pcie_device的interrupt_mode
|
/linux/Documentation/PCI/ |
H A D | pciebus-howto.rst | 196 the vector IRQ assigned to the field irq of struct pcie_device, which 198 driver. Service drivers should use (struct pcie_device*)dev->irq to 200 in the field interrupt_mode of struct pcie_device.
|
/linux/drivers/pci/ |
H A D | pci-driver.c | 1693 struct pcie_device *pciedev; in pcie_port_bus_match()
|