/Linux-v5.4/drivers/pci/pcie/ |
D | portdrv.h | 61 struct pcie_device { struct 68 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument 70 static inline void set_service_data(struct pcie_device *dev, void *data) in set_service_data() 75 static inline void *get_service_data(struct pcie_device *dev) in get_service_data() 82 int (*probe)(struct pcie_device *dev); 83 void (*remove)(struct pcie_device *dev); 84 int (*suspend)(struct pcie_device *dev); 85 int (*resume_noirq)(struct pcie_device *dev); 86 int (*resume)(struct pcie_device *dev); 87 int (*runtime_suspend)(struct pcie_device *dev); [all …]
|
D | bw_notification.c | 51 struct pcie_device *srv = context; in pcie_bw_notification_irq() 69 struct pcie_device *srv = context; in pcie_bw_notification_handler() 85 static int pcie_bandwidth_notification_probe(struct pcie_device *srv) in pcie_bandwidth_notification_probe() 104 static void pcie_bandwidth_notification_remove(struct pcie_device *srv) in pcie_bandwidth_notification_remove() 110 static int pcie_bandwidth_notification_suspend(struct pcie_device *srv) in pcie_bandwidth_notification_suspend() 116 static int pcie_bandwidth_notification_resume(struct pcie_device *srv) in pcie_bandwidth_notification_resume()
|
D | pme.c | 43 struct pcie_device *srv; 271 port = ((struct pcie_device *)context)->port; in pcie_pme_irq() 272 data = get_service_data((struct pcie_device *)context); in pcie_pme_irq() 321 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() 382 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() 413 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume() 436 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove()
|
D | portdrv_pci.c | 161 struct pcie_device *pcie_device; in resume_iter() local 167 pcie_device = to_pcie_device(device); in resume_iter() 170 driver->error_resume(pcie_device->port); in resume_iter()
|
D | portdrv_core.c | 273 struct pcie_device *pcie; in pcie_device_init() 364 typedef int (*pcie_pm_callback_t)(struct pcie_device *); 523 struct pcie_device *pciedev; in pcie_port_probe_service() 554 struct pcie_device *pciedev; in pcie_port_remove_service()
|
D | dpc.c | 21 struct pcie_device *dev; 286 static int dpc_probe(struct pcie_device *dev) in dpc_probe() 340 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
|
D | aer.c | 1213 struct pcie_device *dev = (struct pcie_device *)context; in aer_isr() 1234 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq() 1365 static void aer_remove(struct pcie_device *dev) in aer_remove() 1378 static int aer_probe(struct pcie_device *dev) in aer_probe()
|
D | aer_inject.c | 324 struct pcie_device *edev; in aer_inject()
|
/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 76 struct _pcie_device *pcie_device); 471 struct _pcie_device *pcie_device; in _scsih_determine_boot_device() local 493 pcie_device = device; in _scsih_determine_boot_device() 494 sas_address = pcie_device->wwid; in _scsih_determine_boot_device() 938 struct _pcie_device *pcie_device; in __mpt3sas_get_pdev_by_wwid() local 942 list_for_each_entry(pcie_device, &ioc->pcie_device_list, list) in __mpt3sas_get_pdev_by_wwid() 943 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid() 946 list_for_each_entry(pcie_device, &ioc->pcie_device_init_list, list) in __mpt3sas_get_pdev_by_wwid() 947 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid() 953 pcie_device_get(pcie_device); in __mpt3sas_get_pdev_by_wwid() [all …]
|
D | mpt3sas_ctl.c | 204 struct _pcie_device *pcie_device = NULL; in _ctl_display_some_debug() local 218 pcie_device = mpt3sas_get_pdev_by_handle(ioc, in _ctl_display_some_debug() 220 if (pcie_device) { in _ctl_display_some_debug() 222 (unsigned long long)pcie_device->wwid, in _ctl_display_some_debug() 223 pcie_device->port_num); in _ctl_display_some_debug() 224 if (pcie_device->enclosure_handle != 0) in _ctl_display_some_debug() 226 (u64)pcie_device->enclosure_logical_id, in _ctl_display_some_debug() 227 pcie_device->slot); in _ctl_display_some_debug() 228 pcie_device_put(pcie_device); in _ctl_display_some_debug() 651 struct _pcie_device *pcie_device = NULL; in _ctl_do_mpt_command() local [all …]
|
D | mpt3sas_base.c | 2257 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument 2263 if (pcie_device && in base_is_prp_possible() 2264 (mpt3sas_scsih_is_pcie_scsi_device(pcie_device->device_info))) { in base_is_prp_possible() 2296 struct _pcie_device *pcie_device) in _base_check_pcie_native_sgl() argument 2310 if (base_is_prp_possible(ioc, pcie_device, in _base_check_pcie_native_sgl() 2528 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() argument 2554 if ((pcie_device) && (_base_check_pcie_native_sgl(ioc, mpi_request, in _base_build_sg_scmd_ieee() 2555 smid, scmd, pcie_device) == 0)) { in _base_build_sg_scmd_ieee()
|
D | mpt3sas_base.h | 918 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | pciehp_core.c | 177 static int pciehp_probe(struct pcie_device *dev) in pciehp_probe() 237 static void pciehp_remove(struct pcie_device *dev) in pciehp_remove() 248 static bool pme_is_native(struct pcie_device *dev) in pme_is_native() 256 static int pciehp_suspend(struct pcie_device *dev) in pciehp_suspend() 268 static int pciehp_resume_noirq(struct pcie_device *dev) in pciehp_resume_noirq() 283 static int pciehp_resume(struct pcie_device *dev) in pciehp_resume() 295 static int pciehp_runtime_resume(struct pcie_device *dev) in pciehp_runtime_resume()
|
D | pciehp.h | 83 struct pcie_device *pcie; 160 struct controller *pcie_init(struct pcie_device *dev);
|
D | pciehp_hpc.c | 811 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
|
/Linux-v5.4/Documentation/PCI/ |
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-v5.4/drivers/pci/ |
D | pci-driver.c | 1661 struct pcie_device *pciedev; in pcie_port_bus_match()
|