Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kernel/
Deeh_pe.c662 eeh_ops->write_config(edev, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link()
670 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 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->write_config(edev, 14*4, 4, edev->config_space[14]); in eeh_restore_bridge_bars()
715 eeh_ops->write_config(edev, PCI_CACHE_LINE_SIZE, 1, in eeh_restore_bridge_bars()
717 eeh_ops->write_config(edev, PCI_LATENCY_TIMER, 1, in eeh_restore_bridge_bars()
720 eeh_ops->write_config(edev, 15*4, 4, edev->config_space[15]); in eeh_restore_bridge_bars()
723 eeh_ops->write_config(edev, PCI_COMMAND, 4, edev->config_space[1] | in eeh_restore_bridge_bars()
736 eeh_ops->write_config(edev, i*4, 4, edev->config_space[i]); in eeh_restore_device_bars()
738 eeh_ops->write_config(edev, 12*4, 4, edev->config_space[12]); in eeh_restore_device_bars()
[all …]
/Linux-v5.10/arch/powerpc/platforms/powernv/
Deeh-powernv.c820 eeh_ops->write_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
826 eeh_ops->write_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()
842 eeh_ops->write_config(edev, aer + PCI_ERR_UNCOR_MASK, in __pnv_eeh_bridge_reset()
950 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
958 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
990 eeh_ops->write_config(edev, edev->af_cap + PCI_AF_CTRL, in pnv_eeh_do_af_flr()
995 eeh_ops->write_config(edev, edev->af_cap + PCI_AF_CTRL, 1, 0); in pnv_eeh_do_af_flr()
1637 .write_config = pnv_eeh_write_config,
/Linux-v5.10/drivers/staging/mt7621-pci/
Dpci-mt7621.c208 static void write_config(struct mt7621_pcie *pcie, unsigned int dev, in write_config() function
596 write_config(pcie, slot, PCI_COMMAND, val); in mt7621_pcie_enable_ports()
601 write_config(pcie, slot, PCIE_FTS_NUM, val); in mt7621_pcie_enable_ports()
/Linux-v5.10/arch/powerpc/include/asm/
Deeh.h226 int (*write_config)(struct eeh_dev *edev, int where, int size, u32 val); member
/Linux-v5.10/arch/powerpc/platforms/pseries/
Deeh_pseries.c796 .write_config = pseries_eeh_write_config,