Home
last modified time | relevance | path

Searched refs:eeh_ops (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kernel/
H 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()
657 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link()
662 eeh_ops->write_config(edev, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
668 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link()
670 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
673 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
686 eeh_ops->read_config(edev, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
710 eeh_ops in eeh_restore_bridge_bars()
[all...]
H A Deeh.c87 * In addition, struct eeh_ops::probe would be invoked for
109 struct eeh_ops *eeh_ops = NULL; variable
182 eeh_ops->read_config(edev, PCI_VENDOR_ID, 4, &cfg); in eeh_dump_dev_log()
186 eeh_ops->read_config(edev, PCI_COMMAND, 4, &cfg); in eeh_dump_dev_log()
192 eeh_ops->read_config(edev, PCI_SEC_STATUS, 2, &cfg); in eeh_dump_dev_log()
196 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &cfg); in eeh_dump_dev_log()
204 eeh_ops->read_config(edev, cap, 4, &cfg); in eeh_dump_dev_log()
208 eeh_ops->read_config(edev, cap+4, 4, &cfg); in eeh_dump_dev_log()
220 eeh_ops in eeh_dump_dev_log()
[all...]
H 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()
H 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()
1132 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Deeh_pe.c124 ret = eeh_ops->get_state(pe, &mwait); in eeh_wait_state()
649 eeh_ops->read_config(edev, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link()
656 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link()
658 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link()
663 eeh_ops->write_config(edev, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
669 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link()
671 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
686 eeh_ops->read_config(edev, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
710 eeh_ops->write_config(edev, i*4, 4, edev->config_space[i]); in eeh_restore_bridge_bars()
712 eeh_ops in eeh_restore_bridge_bars()
[all...]
H A Deeh.c87 * In addition, struct eeh_ops::probe would be invoked for
109 struct eeh_ops *eeh_ops = NULL; variable
182 eeh_ops->read_config(edev, PCI_VENDOR_ID, 4, &cfg); in eeh_dump_dev_log()
186 eeh_ops->read_config(edev, PCI_COMMAND, 4, &cfg); in eeh_dump_dev_log()
192 eeh_ops->read_config(edev, PCI_SEC_STATUS, 2, &cfg); in eeh_dump_dev_log()
196 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &cfg); in eeh_dump_dev_log()
204 eeh_ops->read_config(edev, cap, 4, &cfg); in eeh_dump_dev_log()
208 eeh_ops->read_config(edev, cap+4, 4, &cfg); in eeh_dump_dev_log()
220 eeh_ops in eeh_dump_dev_log()
[all...]
H A Deeh_sysfs.c51 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
100 if (!edev || !edev->pe || !eeh_ops->notify_resume) in eeh_notify_resume_store()
103 if (eeh_ops->notify_resume(edev)) in eeh_notify_resume_store()
H A Deeh_driver.c427 if (eeh_ops->notify_resume) in eeh_report_resume()
428 eeh_ops->notify_resume(edev); in eeh_report_resume()
671 eeh_ops->configure_bridge(pe); in eeh_reset_device()
1128 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H 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()
824 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
826 eeh_ops->write_config(edev, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
831 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
833 eeh_ops->write_config(edev, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
839 eeh_ops in __pnv_eeh_bridge_reset()
[all...]
H A Dpci-ioda.c2847 if (eehpe && eeh_ops && eeh_ops->reset) in pnv_npu_disable_device()
2848 eeh_ops->reset(eehpe, EEH_RESET_HOT); in pnv_npu_disable_device()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c76 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
96 ret = eeh_ops->err_inject(pe, type, func, addr, mask); in pnv_eeh_ei_write()
818 eeh_ops->read_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
821 eeh_ops->write_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
825 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
827 eeh_ops->write_config(edev, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
832 eeh_ops->read_config(edev, PCI_BRIDGE_CONTROL, 2, &ctrl); in __pnv_eeh_bridge_reset()
834 eeh_ops->write_config(edev, PCI_BRIDGE_CONTROL, 2, ctrl); in __pnv_eeh_bridge_reset()
840 eeh_ops in __pnv_eeh_bridge_reset()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Deeh.h180 /* Return values from eeh_ops::next_error */
215 struct eeh_ops { struct
235 extern struct eeh_ops *eeh_ops;
294 int __init eeh_init(struct eeh_ops *ops);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Deeh.h180 /* Return values from eeh_ops::next_error */
215 struct eeh_ops { struct
235 extern struct eeh_ops *eeh_ops;
294 int __init eeh_init(struct eeh_ops *ops);
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c436 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_init_edev()
786 static struct eeh_ops pseries_eeh_ops = {
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c438 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_init_edev()
787 static struct eeh_ops pseries_eeh_ops = {

Completed in 18 milliseconds