Lines Matching refs:pdrv
52 struct pci_driver *pdrv; in report_error_detected() local
57 pdrv = dev->driver; in report_error_detected()
59 !pdrv || in report_error_detected()
60 !pdrv->err_handler || in report_error_detected()
61 !pdrv->err_handler->error_detected) { in report_error_detected()
75 err_handler = pdrv->err_handler; in report_error_detected()
96 struct pci_driver *pdrv; in report_mmio_enabled() local
101 pdrv = dev->driver; in report_mmio_enabled()
102 if (!pdrv || in report_mmio_enabled()
103 !pdrv->err_handler || in report_mmio_enabled()
104 !pdrv->err_handler->mmio_enabled) in report_mmio_enabled()
107 err_handler = pdrv->err_handler; in report_mmio_enabled()
117 struct pci_driver *pdrv; in report_slot_reset() local
122 pdrv = dev->driver; in report_slot_reset()
123 if (!pdrv || in report_slot_reset()
124 !pdrv->err_handler || in report_slot_reset()
125 !pdrv->err_handler->slot_reset) in report_slot_reset()
128 err_handler = pdrv->err_handler; in report_slot_reset()
138 struct pci_driver *pdrv; in report_resume() local
142 pdrv = dev->driver; in report_resume()
144 !pdrv || in report_resume()
145 !pdrv->err_handler || in report_resume()
146 !pdrv->err_handler->resume) in report_resume()
149 err_handler = pdrv->err_handler; in report_resume()