Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Deeh.c115 struct eeh_ops *eeh_ops = NULL; variable
179 eeh_ops->read_config(pdn, PCI_VENDOR_ID, 4, &cfg); in eeh_dump_dev_log()
183 eeh_ops->read_config(pdn, PCI_COMMAND, 4, &cfg); in eeh_dump_dev_log()
189 eeh_ops->read_config(pdn, PCI_SEC_STATUS, 2, &cfg); in eeh_dump_dev_log()
193 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &cfg); in eeh_dump_dev_log()
201 eeh_ops->read_config(pdn, cap, 4, &cfg); in eeh_dump_dev_log()
205 eeh_ops->read_config(pdn, cap+4, 4, &cfg); in eeh_dump_dev_log()
217 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
244 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
325 eeh_ops->configure_bridge(pe); in eeh_slot_error_detail()
[all …]
Deeh_pe.c729 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link()
736 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link()
738 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link()
743 eeh_ops->write_config(pdn, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
749 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link()
751 eeh_ops->write_config(pdn, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
754 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
767 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
792 eeh_ops->write_config(pdn, i*4, 4, edev->config_space[i]); in eeh_restore_bridge_bars()
794 eeh_ops->write_config(pdn, 14*4, 4, edev->config_space[14]); in eeh_restore_bridge_bars()
[all …]
Deeh_sysfs.c66 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
115 if (!edev || !edev->pe || !eeh_ops->notify_resume) in eeh_notify_resume_store()
118 if (eeh_ops->notify_resume(pci_get_pdn(pdev))) in eeh_notify_resume_store()
Deeh_driver.c437 if (eeh_ops->notify_resume && eeh_dev_to_pdn(edev)) in eeh_report_resume()
438 eeh_ops->notify_resume(eeh_dev_to_pdn(edev)); in eeh_report_resume()
714 eeh_ops->configure_bridge(pe); in eeh_reset_device()
837 rc = eeh_ops->wait_state(pe, MAX_WAIT_FOR_RECOVERY*1000); in eeh_handle_normal_event()
1015 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Deeh-powernv.c138 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
158 ret = eeh_ops->err_inject(pe, type, func, addr, mask); in pnv_eeh_ei_write()
869 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
872 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
876 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
878 eeh_ops->write_config(pdn, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
883 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
885 eeh_ops->write_config(pdn, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
891 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
894 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Deeh.h204 struct eeh_ops { struct
226 extern struct eeh_ops *eeh_ops; argument
291 int __init eeh_ops_register(struct eeh_ops *ops);
/Linux-v4.19/arch/powerpc/platforms/pseries/
Deeh_pseries.c296 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_probe()
299 edev->pe_config_addr = eeh_ops->get_pe_addr(&pe); in pseries_eeh_probe()
306 ret = eeh_ops->get_state(&pe, NULL); in pseries_eeh_probe()
844 static struct eeh_ops pseries_eeh_ops = {