Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pci/pcie/
Dportdrv.h59 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 …]
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.c169 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()
Dportdrv_core.c283 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()
Daer.c1162 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()
Ddpc.c347 static int dpc_probe(struct pcie_device *dev) in dpc_probe()
383 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
Daer_inject.c332 struct pcie_device *edev; in aer_inject()
/kernel/linux/linux-5.10/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.c210 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 …]
Dmpt3sas_base.c2371 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()
Dmpt3sas_base.h934 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpciehp_core.c183 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()
Dpciehp.h86 struct pcie_device *pcie;
164 struct controller *pcie_init(struct pcie_device *dev);
Dpciehp_hpc.c954 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/drivers/pci/
Dpci-driver.c1617 struct pcie_device *pciedev; in pcie_port_bus_match()