/kernel/linux/linux-5.10/drivers/pci/pcie/ |
D | portdrv.h | 59 struct pcie_device { struct 66 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument 68 static inline void set_service_data(struct pcie_device *dev, void *data) in set_service_data() 73 static inline void *get_service_data(struct pcie_device *dev) in get_service_data() 80 int (*probe)(struct pcie_device *dev); 81 void (*remove)(struct pcie_device *dev); 82 int (*suspend)(struct pcie_device *dev); 83 int (*resume_noirq)(struct pcie_device *dev); 84 int (*resume)(struct pcie_device *dev); 85 int (*runtime_suspend)(struct pcie_device *dev); [all …]
|
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 | 169 struct pcie_device *pcie_device; in resume_iter() local 175 pcie_device = to_pcie_device(device); in resume_iter() 178 driver->error_resume(pcie_device->port); in resume_iter()
|
D | portdrv_core.c | 283 struct pcie_device *pcie; in pcie_device_init() 374 typedef int (*pcie_pm_callback_t)(struct pcie_device *); 512 struct pcie_device *pciedev; in pcie_port_probe_service() 543 struct pcie_device *pciedev; in pcie_port_remove_service()
|
D | aer.c | 1162 struct pcie_device *dev = (struct pcie_device *)context; in aer_isr() 1183 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq() 1312 static void aer_remove(struct pcie_device *dev) in aer_remove() 1325 static int aer_probe(struct pcie_device *dev) in aer_probe()
|
D | dpc.c | 347 static int dpc_probe(struct pcie_device *dev) in dpc_probe() 383 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
|
D | aer_inject.c | 332 struct pcie_device *edev; in aer_inject()
|
/kernel/linux/linux-5.10/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 | 210 struct _pcie_device *pcie_device = NULL; in _ctl_display_some_debug() local 224 pcie_device = mpt3sas_get_pdev_by_handle(ioc, in _ctl_display_some_debug() 226 if (pcie_device) { in _ctl_display_some_debug() 228 (unsigned long long)pcie_device->wwid, in _ctl_display_some_debug() 229 pcie_device->port_num); in _ctl_display_some_debug() 230 if (pcie_device->enclosure_handle != 0) in _ctl_display_some_debug() 232 (u64)pcie_device->enclosure_logical_id, in _ctl_display_some_debug() 233 pcie_device->slot); in _ctl_display_some_debug() 234 pcie_device_put(pcie_device); in _ctl_display_some_debug() 665 struct _pcie_device *pcie_device = NULL; in _ctl_do_mpt_command() local [all …]
|
D | mpt3sas_base.c | 2371 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument 2377 if (pcie_device && in base_is_prp_possible() 2378 (mpt3sas_scsih_is_pcie_scsi_device(pcie_device->device_info))) { in base_is_prp_possible() 2410 struct _pcie_device *pcie_device) in _base_check_pcie_native_sgl() argument 2424 if (base_is_prp_possible(ioc, pcie_device, in _base_check_pcie_native_sgl() 2642 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() argument 2668 if ((pcie_device) && (_base_check_pcie_native_sgl(ioc, mpi_request, in _base_build_sg_scmd_ieee() 2669 smid, scmd, pcie_device) == 0)) { in _base_build_sg_scmd_ieee()
|
D | mpt3sas_base.h | 934 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | pciehp_core.c | 183 static int pciehp_probe(struct pcie_device *dev) in pciehp_probe() 243 static void pciehp_remove(struct pcie_device *dev) in pciehp_remove() 254 static bool pme_is_native(struct pcie_device *dev) in pme_is_native() 262 static void pciehp_disable_interrupt(struct pcie_device *dev) in pciehp_disable_interrupt() 273 static int pciehp_suspend(struct pcie_device *dev) in pciehp_suspend() 286 static int pciehp_resume_noirq(struct pcie_device *dev) in pciehp_resume_noirq() 302 static int pciehp_resume(struct pcie_device *dev) in pciehp_resume() 314 static int pciehp_runtime_suspend(struct pcie_device *dev) in pciehp_runtime_suspend() 320 static int pciehp_runtime_resume(struct pcie_device *dev) in pciehp_runtime_resume()
|
D | pciehp.h | 86 struct pcie_device *pcie; 164 struct controller *pcie_init(struct pcie_device *dev);
|
D | pciehp_hpc.c | 954 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
|
/kernel/linux/linux-5.10/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.
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | pci-driver.c | 1617 struct pcie_device *pciedev; in pcie_port_bus_match()
|