Home
last modified time | relevance | path

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

/Linux-v6.1/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()
324 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe()
390 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend()
421 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume()
444 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove()
Dportdrv_core.c273 struct pcie_device *pcie; in pcie_device_init()
363 typedef int (*pcie_callback_t)(struct pcie_device *);
502 struct pcie_device *pciedev; in pcie_port_probe_service()
533 struct pcie_device *pciedev; in pcie_port_remove_service()
Daer.c1181 struct pcie_device *dev = (struct pcie_device *)context; in aer_isr()
1202 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq()
1332 static void aer_remove(struct pcie_device *dev) in aer_remove()
1345 static int aer_probe(struct pcie_device *dev) in aer_probe()
Ddpc.c352 static int dpc_probe(struct pcie_device *dev) in dpc_probe()
388 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
Daer_inject.c324 struct pcie_device *edev; in aer_inject()
/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c77 struct _pcie_device *pcie_device);
568 struct _pcie_device *pcie_device; in _scsih_determine_boot_device() local
590 pcie_device = device; in _scsih_determine_boot_device()
591 sas_address = pcie_device->wwid; in _scsih_determine_boot_device()
1098 struct _pcie_device *pcie_device; in __mpt3sas_get_pdev_by_wwid() local
1102 list_for_each_entry(pcie_device, &ioc->pcie_device_list, list) in __mpt3sas_get_pdev_by_wwid()
1103 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1106 list_for_each_entry(pcie_device, &ioc->pcie_device_init_list, list) in __mpt3sas_get_pdev_by_wwid()
1107 if (pcie_device->wwid == wwid) in __mpt3sas_get_pdev_by_wwid()
1113 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()
668 struct _pcie_device *pcie_device = NULL; in _ctl_do_mpt_command() local
[all …]
Dmpt3sas_base.c2552 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument
2558 if (pcie_device && in base_is_prp_possible()
2559 (mpt3sas_scsih_is_pcie_scsi_device(pcie_device->device_info))) { in base_is_prp_possible()
2591 struct _pcie_device *pcie_device) in _base_check_pcie_native_sgl() argument
2601 if (!base_is_prp_possible(ioc, pcie_device, in _base_check_pcie_native_sgl()
2815 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() argument
2841 if ((pcie_device) && (_base_check_pcie_native_sgl(ioc, mpi_request, in _base_build_sg_scmd_ieee()
2842 smid, scmd, pcie_device) == 0)) { in _base_build_sg_scmd_ieee()
Dmpt3sas_base.h980 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
/Linux-v6.1/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.h89 struct pcie_device *pcie;
167 struct controller *pcie_init(struct pcie_device *dev);
195 int pciehp_slot_reset(struct pcie_device *dev);
Dpciehp_hpc.c878 int pciehp_slot_reset(struct pcie_device *dev) in pciehp_slot_reset()
982 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
/Linux-v6.1/Documentation/translations/zh_CN/PCI/
Dpciebus-howto.rst175 分配给结构体pcie_device的字段irq的向量IRQ,当PCI Express端口总线驱动程序探测每
176 个服务驱动程序时,它被传入。服务驱动应该使用(struct pcie_device*)dev->irq来调用
177 request_irq/free_irq。此外,中断模式被存储在struct pcie_device的interrupt_mode
/Linux-v6.1/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-v6.1/drivers/pci/
Dpci-driver.c1684 struct pcie_device *pciedev; in pcie_port_bus_match()