Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/kernel/
Deeh.c115 struct eeh_ops *eeh_ops = NULL; variable
178 eeh_ops->read_config(pdn, PCI_VENDOR_ID, 4, &cfg); in eeh_dump_dev_log()
182 eeh_ops->read_config(pdn, PCI_COMMAND, 4, &cfg); in eeh_dump_dev_log()
188 eeh_ops->read_config(pdn, PCI_SEC_STATUS, 2, &cfg); in eeh_dump_dev_log()
192 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &cfg); in eeh_dump_dev_log()
200 eeh_ops->read_config(pdn, cap, 4, &cfg); in eeh_dump_dev_log()
204 eeh_ops->read_config(pdn, cap+4, 4, &cfg); in eeh_dump_dev_log()
216 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
243 eeh_ops->read_config(pdn, cap+4*i, 4, &cfg); in eeh_dump_dev_log()
324 eeh_ops->configure_bridge(pe); in eeh_slot_error_detail()
[all …]
Deeh_pe.c715 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link()
722 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link()
724 eeh_ops->read_config(pdn, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link()
729 eeh_ops->write_config(pdn, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
735 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link()
737 eeh_ops->write_config(pdn, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
740 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKCAP, 4, &val); in eeh_bridge_check_link()
753 eeh_ops->read_config(pdn, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
778 eeh_ops->write_config(pdn, i*4, 4, edev->config_space[i]); in eeh_restore_bridge_bars()
780 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.c610 eeh_ops->configure_bridge(pe); in eeh_reset_device()
696 rc = eeh_ops->wait_state(pe, MAX_WAIT_FOR_RECOVERY*1000); in eeh_handle_normal_event()
845 rc = eeh_ops->next_error(&pe); in eeh_handle_special_event()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c116 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write()
142 ret = eeh_ops->err_inject(pe, type, func, addr, mask); in pnv_eeh_ei_write()
849 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
852 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
856 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &ctrl); in pnv_eeh_bridge_reset()
858 eeh_ops->write_config(pdn, PCI_BRIDGE_CONTROL, 2, ctrl); in pnv_eeh_bridge_reset()
863 eeh_ops->read_config(pdn, PCI_BRIDGE_CONTROL, 2, &ctrl); in pnv_eeh_bridge_reset()
865 eeh_ops->write_config(pdn, PCI_BRIDGE_CONTROL, 2, ctrl); in pnv_eeh_bridge_reset()
871 eeh_ops->read_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
874 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in pnv_eeh_bridge_reset()
[all …]
/linux-4.4.14/arch/powerpc/include/asm/
Deeh.h197 struct eeh_ops { struct
219 extern struct eeh_ops *eeh_ops; argument
275 int __init eeh_ops_register(struct eeh_ops *ops);
/linux-4.4.14/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()
693 static struct eeh_ops pseries_eeh_ops = {