Home
last modified time | relevance | path

Searched refs:eeh_ops (Results 1 – 7 of 7) sorted by relevance

/linux/arch/powerpc/kernel/
A Deeh_pe.c123 ret = eeh_ops->get_state(pe, &mwait); in eeh_wait_state()
648 eeh_ops->read_config(edev, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link()
655 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link()
715 eeh_ops->write_config(edev, PCI_CACHE_LINE_SIZE, 1, in eeh_restore_bridge_bars()
717 eeh_ops->write_config(edev, PCI_LATENCY_TIMER, 1, in eeh_restore_bridge_bars()
740 eeh_ops->write_config(edev, PCI_CACHE_LINE_SIZE, 1, in eeh_restore_device_bars()
742 eeh_ops->write_config(edev, PCI_LATENCY_TIMER, 1, in eeh_restore_device_bars()
752 eeh_ops->read_config(edev, PCI_COMMAND, 4, &cmd); in eeh_restore_device_bars()
761 eeh_ops->write_config(edev, PCI_COMMAND, 4, cmd); in eeh_restore_device_bars()
781 if (eeh_ops->restore_config) in eeh_restore_one_device_bars()
[all …]
A Deeh.c109 struct eeh_ops *eeh_ops = NULL; variable
328 eeh_ops->configure_bridge(pe); in eeh_slot_error_detail()
710 if (eeh_ops->restore_config) in eeh_restore_dev_state()
711 eeh_ops->restore_config(edev); in eeh_restore_dev_state()
960 if (WARN_ON(eeh_ops)) in eeh_init()
964 eeh_ops = ops; in eeh_init()
1013 edev = eeh_ops->probe(dev); in eeh_probe_device()
1348 if (!eeh_ops || !eeh_ops->set_option) { in eeh_pe_set_option()
1381 if (!eeh_ops || !eeh_ops->get_state) in eeh_pe_get_state()
1470 if (!eeh_ops || !eeh_ops->set_option || !eeh_ops->reset) in eeh_pe_reset()
[all …]
A Deeh_sysfs.c50 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
99 if (!edev || !edev->pe || !eeh_ops->notify_resume) in eeh_notify_resume_store()
102 if (eeh_ops->notify_resume(edev)) in eeh_notify_resume_store()
A Deeh_driver.c428 if (eeh_ops->notify_resume) in eeh_report_resume()
429 eeh_ops->notify_resume(edev); in eeh_report_resume()
672 eeh_ops->configure_bridge(pe); in eeh_reset_device()
1131 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/linux/arch/powerpc/platforms/powernv/
A Deeh-powernv.c75 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
95 ret = eeh_ops->err_inject(pe, type, func, addr, mask); in pnv_eeh_ei_write()
817 eeh_ops->read_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
820 eeh_ops->write_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
839 eeh_ops->read_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
842 eeh_ops->write_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
916 eeh_ops->read_config(edev, pos, 2, &status); in pnv_eeh_wait_for_pending()
990 eeh_ops->write_config(edev, edev->af_cap + PCI_AF_CTRL, in pnv_eeh_do_af_flr()
1378 ret = eeh_ops->get_state(dev_pe, NULL); in pnv_eeh_get_pe()
1574 state = eeh_ops->get_state(parent_pe, NULL); in pnv_eeh_next_error()
[all …]
/linux/arch/powerpc/include/asm/
A Deeh.h215 struct eeh_ops { struct
235 extern struct eeh_ops *eeh_ops; argument
294 int __init eeh_init(struct eeh_ops *ops);
/linux/arch/powerpc/platforms/pseries/
A Deeh_pseries.c436 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_init_edev()
785 static struct eeh_ops pseries_eeh_ops = {

Completed in 24 milliseconds