Home
last modified time | relevance | path

Searched refs:pcie_device (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/pci/pcie/
Dportdrv.h61 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 …]
Dbw_notification.c51 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()
Dpme.c43 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()
Dportdrv_pci.c161 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()
Dportdrv_core.c273 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()
Ddpc.c21 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()
Daer.c1213 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()
Daer_inject.c324 struct pcie_device *edev; in aer_inject()
/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c76 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 …]
Dmpt3sas_ctl.c204 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 …]
Dmpt3sas_base.c2257 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()
Dmpt3sas_base.h918 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
/Linux-v5.4/drivers/pci/hotplug/
Dpciehp_core.c177 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()
Dpciehp.h83 struct pcie_device *pcie;
160 struct controller *pcie_init(struct pcie_device *dev);
Dpciehp_hpc.c811 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
/Linux-v5.4/Documentation/PCI/
Dpciebus-howto.rst196 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/
Dpci-driver.c1661 struct pcie_device *pciedev; in pcie_port_bus_match()