Lines Matching refs:afu_dev
26 struct pci_dev *afu_dev; in pci_error_handlers() local
31 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in pci_error_handlers()
32 if (!afu_dev->driver) in pci_error_handlers()
37 afu_dev->error_state = state; in pci_error_handlers()
39 if (afu_dev->driver->err_handler && in pci_error_handlers()
40 afu_dev->driver->err_handler->error_detected) in pci_error_handlers()
41 afu_dev->driver->err_handler->error_detected(afu_dev, state); in pci_error_handlers()
44 afu_dev->error_state = state; in pci_error_handlers()
46 if (afu_dev->driver->err_handler && in pci_error_handlers()
47 afu_dev->driver->err_handler->slot_reset) in pci_error_handlers()
48 afu_dev->driver->err_handler->slot_reset(afu_dev); in pci_error_handlers()
51 if (afu_dev->driver->err_handler && in pci_error_handlers()
52 afu_dev->driver->err_handler->resume) in pci_error_handlers()
53 afu_dev->driver->err_handler->resume(afu_dev); in pci_error_handlers()