Home
last modified time | relevance | path

Searched refs:write_config (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/powerpc/kernel/
Deeh_pe.c731 eeh_ops->write_config(pdn, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
739 eeh_ops->write_config(pdn, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
780 eeh_ops->write_config(pdn, i*4, 4, edev->config_space[i]); in eeh_restore_bridge_bars()
782 eeh_ops->write_config(pdn, 14*4, 4, edev->config_space[14]); in eeh_restore_bridge_bars()
785 eeh_ops->write_config(pdn, PCI_CACHE_LINE_SIZE, 1, in eeh_restore_bridge_bars()
787 eeh_ops->write_config(pdn, PCI_LATENCY_TIMER, 1, in eeh_restore_bridge_bars()
790 eeh_ops->write_config(pdn, 15*4, 4, edev->config_space[15]); in eeh_restore_bridge_bars()
793 eeh_ops->write_config(pdn, PCI_COMMAND, 4, edev->config_space[1] | in eeh_restore_bridge_bars()
807 eeh_ops->write_config(pdn, i*4, 4, edev->config_space[i]); in eeh_restore_device_bars()
809 eeh_ops->write_config(pdn, 12*4, 4, edev->config_space[12]); in eeh_restore_device_bars()
[all …]
Deeh.c758 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config()
769 eeh_ops->write_config(pdn, in eeh_restore_vf_config()
778 eeh_ops->write_config(pdn, PCI_COMMAND, 2, cmd); in eeh_restore_vf_config()
788 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config()
797 eeh_ops->write_config(pdn, edev->aer_cap + PCI_ERR_CAP, in eeh_restore_vf_config()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Deeh-powernv.c865 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
871 eeh_ops->write_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()
887 eeh_ops->write_config(pdn, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
994 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
1002 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
1034 eeh_ops->write_config(pdn, edev->af_cap + PCI_AF_CTRL, in pnv_eeh_do_af_flr()
1039 eeh_ops->write_config(pdn, edev->af_cap + PCI_AF_CTRL, 1, 0); in pnv_eeh_do_af_flr()
1689 .write_config = pnv_eeh_write_config,
/Linux-v5.4/drivers/staging/mt7621-pci/
Dpci-mt7621.c199 static void write_config(struct mt7621_pcie *pcie, unsigned int dev, in write_config() function
543 write_config(pcie, slot, PCI_COMMAND, val); in mt7621_pcie_enable_ports()
548 write_config(pcie, slot, PCIE_FTS_NUM, val); in mt7621_pcie_enable_ports()
/Linux-v5.4/arch/powerpc/include/asm/
Deeh.h228 int (*write_config)(struct pci_dn *pdn, int where, int size, u32 val); member
/Linux-v5.4/arch/powerpc/platforms/pseries/
Deeh_pseries.c788 .write_config = pseries_eeh_write_config,