Searched refs:pcie_device (Results 1 – 11 of 11) sorted by relevance
53 struct pcie_device { struct60 #define to_pcie_device(d) container_of(d, struct pcie_device, device) argument62 static inline void set_service_data(struct pcie_device *dev, void *data) in set_service_data()67 static inline void *get_service_data(struct pcie_device *dev) in get_service_data()74 int (*probe) (struct pcie_device *dev);75 void (*remove) (struct pcie_device *dev);76 int (*suspend) (struct pcie_device *dev);77 int (*resume_noirq) (struct pcie_device *dev);78 int (*resume) (struct pcie_device *dev);
41 struct pcie_device *srv;269 port = ((struct pcie_device *)context)->port; in pcie_pme_irq()270 data = get_service_data((struct pcie_device *)context); in pcie_pme_irq()319 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe()380 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend()411 static int pcie_pme_resume(struct pcie_device *srv) in pcie_pme_resume()434 static void pcie_pme_remove(struct pcie_device *srv) in pcie_pme_remove()
156 struct pcie_device *pcie_device; in resume_iter() local162 pcie_device = to_pcie_device(device); in resume_iter()165 driver->error_resume(pcie_device->port); in resume_iter()
19 struct pcie_device *dev;70 struct pcie_device *pciedev; in dpc_reset_link()238 static int dpc_probe(struct pcie_device *dev) in dpc_probe()290 static void dpc_remove(struct pcie_device *dev) in dpc_remove()
265 struct pcie_device *pcie; in pcie_device_init()356 typedef int (*pcie_pm_callback_t)(struct pcie_device *);494 struct pcie_device *pciedev; in pcie_port_probe_service()525 struct pcie_device *pciedev; in pcie_port_remove_service()
308 struct pcie_device **result = data; in find_aer_device_iter()309 struct pcie_device *pcie_dev; in find_aer_device_iter()321 static int find_aer_device(struct pci_dev *dev, struct pcie_device **result) in find_aer_device()331 struct pcie_device *edev; in aer_inject()
1273 struct pcie_device *pdev = (struct pcie_device *)context; in aer_irq()1433 static struct aer_rpc *aer_alloc_rpc(struct pcie_device *dev) in aer_alloc_rpc()1460 static void aer_remove(struct pcie_device *dev) in aer_remove()1482 static int aer_probe(struct pcie_device *dev) in aer_probe()
232 static int pciehp_probe(struct pcie_device *dev) in pciehp_probe()294 static void pciehp_remove(struct pcie_device *dev) in pciehp_remove()305 static int pciehp_suspend(struct pcie_device *dev) in pciehp_suspend()310 static int pciehp_resume_noirq(struct pcie_device *dev) in pciehp_resume_noirq()326 static int pciehp_resume(struct pcie_device *dev) in pciehp_resume()
118 struct pcie_device *pcie;191 struct controller *pcie_init(struct pcie_device *dev);
883 struct controller *pcie_init(struct pcie_device *dev) in pcie_init()
1636 struct pcie_device *pciedev; in pcie_port_bus_match()