Home
last modified time | relevance | path

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

/linux-6.15/drivers/pci/pcie/
H A Dportdrv.h59 struct pcie_device { struct
66 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument
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);
86 int (*runtime_resume)(struct pcie_device *dev);
[all …]
H A Dpme.c44 struct pcie_device *srv;
273 port = ((struct pcie_device *)context)->port; in pcie_pme_irq()
274 data = get_service_data((struct pcie_device *)context); in pcie_pme_irq()
326 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe()
392 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend()
423 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume()
446 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove()
H A Dbwctrl.c203 static void pcie_bwnotif_enable(struct pcie_device *srv) in pcie_bwnotif_enable()
235 struct pcie_device *srv = context; in pcie_bwnotif_irq()
292 static int pcie_bwnotif_probe(struct pcie_device *srv) in pcie_bwnotif_probe()
335 static void pcie_bwnotif_remove(struct pcie_device *srv) in pcie_bwnotif_remove()
352 static int pcie_bwnotif_suspend(struct pcie_device *srv) in pcie_bwnotif_suspend()
358 static int pcie_bwnotif_resume(struct pcie_device *srv) in pcie_bwnotif_resume()
H A Ddpc.c425 static void dpc_enable(struct pcie_device *dev) in dpc_enable()
444 static void dpc_disable(struct pcie_device *dev) in dpc_disable()
457 static int dpc_probe(struct pcie_device *dev) in dpc_probe()
490 static int dpc_suspend(struct pcie_device *dev) in dpc_suspend()
496 static int dpc_resume(struct pcie_device *dev) in dpc_resume()
502 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
H A Dportdrv.c293 struct pcie_device *pcie; in pcie_device_init()
383 typedef int (*pcie_callback_t)(struct pcie_device *);
521 struct pcie_device *pciedev; in pcie_port_probe_service()
552 struct pcie_device *pciedev; in pcie_port_remove_service()
H A Daer.c1335 struct pcie_device *dev = (struct pcie_device *)context; in aer_isr()
1356 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq()
1454 static void aer_remove(struct pcie_device *dev) in aer_remove()
1467 static int aer_probe(struct pcie_device *dev) in aer_probe()
1505 static int aer_suspend(struct pcie_device *dev) in aer_suspend()
1513 static int aer_resume(struct pcie_device *dev) in aer_resume()
H A Daer_inject.c324 struct pcie_device *edev; in aer_inject()
/linux-6.15/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c1257 pcie_device->handle, (u64)pcie_device->wwid); in _scsih_pcie_device_remove()
1348 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_add()
1399 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_init_add()
1987 if (pcie_device && (pcie_device->starget == starget) && in scsih_target_destroy()
2077 if (pcie_device && (pcie_device->starget == NULL)) { in scsih_sdev_init()
4113 if (pcie_device && pcie_device->starget && in _scsih_tm_tr_send()
5461 (u64)pcie_device->wwid, pcie_device->port_num); in _scsih_scsi_ioc_info()
7923 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_remove_from_sml()
7945 pcie_device->handle, (u64)pcie_device->wwid); in _scsih_pcie_device_remove_from_sml()
7961 pcie_device->handle, (u64)pcie_device->wwid)); in _scsih_pcie_device_remove_from_sml()
[all …]
H A Dmpt3sas_ctl.c229 if (pcie_device) { in _ctl_display_some_debug()
232 pcie_device->port_num); in _ctl_display_some_debug()
236 pcie_device->slot); in _ctl_display_some_debug()
237 pcie_device_put(pcie_device); in _ctl_display_some_debug()
1177 pcie_device->device_info)))) in _ctl_do_mpt_command()
1182 0, pcie_device->reset_timeout, in _ctl_do_mpt_command()
1202 if (pcie_device) in _ctl_do_mpt_command()
1203 pcie_device_put(pcie_device); in _ctl_do_mpt_command()
1464 struct _pcie_device *pcie_device; in _ctl_btdh_search_pcie_device() local
1475 btdh->bus = pcie_device->channel; in _ctl_btdh_search_pcie_device()
[all …]
H A Dmpt3sas_base.c2573 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument
2579 if (pcie_device && in base_is_prp_possible()
2580 (mpt3sas_scsih_is_pcie_scsi_device(pcie_device->device_info))) { in base_is_prp_possible()
2612 struct _pcie_device *pcie_device) in _base_check_pcie_native_sgl() argument
2622 if (!base_is_prp_possible(ioc, pcie_device, in _base_check_pcie_native_sgl()
2852 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() argument
2878 if ((pcie_device) && (_base_check_pcie_native_sgl(ioc, mpi_request, in _base_build_sg_scmd_ieee()
2879 smid, scmd, pcie_device) == 0)) { in _base_build_sg_scmd_ieee()
H A Dmpt3sas_base.h980 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
/linux-6.15/drivers/pci/hotplug/
H A Dpciehp_core.c184 static int pciehp_probe(struct pcie_device *dev) in pciehp_probe()
244 static void pciehp_remove(struct pcie_device *dev) in pciehp_remove()
255 static bool pme_is_native(struct pcie_device *dev) in pme_is_native()
263 static void pciehp_disable_interrupt(struct pcie_device *dev) in pciehp_disable_interrupt()
274 static int pciehp_suspend(struct pcie_device *dev) in pciehp_suspend()
316 static int pciehp_resume_noirq(struct pcie_device *dev) in pciehp_resume_noirq()
346 static int pciehp_resume(struct pcie_device *dev) in pciehp_resume()
358 static int pciehp_runtime_suspend(struct pcie_device *dev) in pciehp_runtime_suspend()
364 static int pciehp_runtime_resume(struct pcie_device *dev) in pciehp_runtime_resume()
H A Dpciehp.h92 struct pcie_device *pcie;
171 struct controller *pcie_init(struct pcie_device *dev);
199 int pciehp_slot_reset(struct pcie_device *dev);
H A Dpciehp_hpc.c877 int pciehp_slot_reset(struct pcie_device *dev) in pciehp_slot_reset()
981 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
/linux-6.15/Documentation/translations/zh_CN/PCI/
H A 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-6.15/Documentation/PCI/
H A 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-6.15/drivers/pci/
H A Dpci-driver.c1706 struct pcie_device *pciedev; in pcie_port_bus_match()