Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/kernel/
Deeh.c115 struct eeh_ops *eeh_ops = NULL; variable
180 eeh_ops->read_config(pdn, PCI_VENDOR_ID, 4, &cfg); in eeh_dump_dev_log()
184 eeh_ops->read_config(pdn, PCI_COMMAND, 4, &cfg); in eeh_dump_dev_log()
190 eeh_ops->read_config(pdn, PCI_SEC_STATUS, 2, &cfg); in eeh_dump_dev_log()
194 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &cfg); in eeh_dump_dev_log()
202 eeh_ops->read_config(pdn, cap, 4, &cfg); in eeh_dump_dev_log()
206 eeh_ops->read_config(pdn, cap+4, 4, &cfg); in eeh_dump_dev_log()
218 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
245 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
326 eeh_ops->configure_bridge(pe); in eeh_slot_error_detail()
[all …]
Deeh_pe.c693 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link()
700 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link()
702 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link()
707 eeh_ops->write_config(pdn, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
713 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link()
715 eeh_ops->write_config(pdn, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
718 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
731 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
756 eeh_ops->write_config(pdn, i*4, 4, edev->config_space[i]); in eeh_restore_bridge_bars()
758 eeh_ops->write_config(pdn, 14*4, 4, edev->config_space[14]); in eeh_restore_bridge_bars()
[all …]
Deeh_sysfs.c67 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
Deeh_driver.c608 eeh_ops->configure_bridge(pe); in eeh_reset_device()
686 rc = eeh_ops->wait_state(pe, MAX_WAIT_FOR_RECOVERY*1000); in eeh_handle_normal_event()
835 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Deeh-powernv.c132 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()
862 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
865 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
869 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &ctrl); in pnv_eeh_bridge_reset()
871 eeh_ops->write_config(pdn, PCI_BRIDGE_CONTROL, 2, ctrl); 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()
884 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
887 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Deeh.h200 struct eeh_ops { struct
222 extern struct eeh_ops *eeh_ops; argument
278 int __init eeh_ops_register(struct eeh_ops *ops);
/linux-4.1.27/arch/powerpc/platforms/pseries/
Deeh_pseries.c249 ret = eeh_ops->set_option(&pe, EEH_OPT_ENABLE); in pseries_eeh_probe()
253 edev->pe_config_addr = eeh_ops->get_pe_addr(&pe); in pseries_eeh_probe()
260 ret = eeh_ops->get_state(&pe, NULL); in pseries_eeh_probe()
701 static struct eeh_ops pseries_eeh_ops = {