Lines Matching refs:afu_dev
1802 struct pci_dev *afu_dev; in cxl_vphb_error_detected() local
1814 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_vphb_error_detected()
1815 afu_drv = to_pci_driver(afu_dev->dev.driver); in cxl_vphb_error_detected()
1819 afu_dev->error_state = state; in cxl_vphb_error_detected()
1823 afu_result = err_handler->error_detected(afu_dev, in cxl_vphb_error_detected()
1983 struct pci_dev *afu_dev; in cxl_pci_slot_reset() local
2016 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_pci_slot_reset()
2020 ctx = cxl_get_context(afu_dev); in cxl_pci_slot_reset()
2025 ctx = cxl_dev_context_init(afu_dev); in cxl_pci_slot_reset()
2029 afu_dev->dev.archdata.cxl_ctx = ctx; in cxl_pci_slot_reset()
2034 afu_dev->error_state = pci_channel_io_normal; in cxl_pci_slot_reset()
2042 afu_drv = to_pci_driver(afu_dev->dev.driver); in cxl_pci_slot_reset()
2048 afu_result = err_handler->slot_reset(afu_dev); in cxl_pci_slot_reset()
2074 struct pci_dev *afu_dev; in cxl_pci_resume() local
2090 list_for_each_entry(afu_dev, &afu->phb->bus->devices, bus_list) { in cxl_pci_resume()
2091 afu_drv = to_pci_driver(afu_dev->dev.driver); in cxl_pci_resume()
2097 err_handler->resume(afu_dev); in cxl_pci_resume()