Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-spear13xx.c140 dw_pcie_writew_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL, val); in spear13xx_pcie_host_init()
142 dw_pcie_writew_dbi(pci, PCI_VENDOR_ID, 0x104A); in spear13xx_pcie_host_init()
143 dw_pcie_writew_dbi(pci, PCI_DEVICE_ID, 0xCD80); in spear13xx_pcie_host_init()
H A Dpcie-designware-ep.c138 dw_pcie_writew_dbi(pci, func_offset + PCI_VENDOR_ID, hdr->vendorid); in dw_pcie_ep_write_header()
139 dw_pcie_writew_dbi(pci, func_offset + PCI_DEVICE_ID, hdr->deviceid); in dw_pcie_ep_write_header()
142 dw_pcie_writew_dbi(pci, func_offset + PCI_CLASS_DEVICE, in dw_pcie_ep_write_header()
146 dw_pcie_writew_dbi(pci, func_offset + PCI_SUBSYSTEM_VENDOR_ID, in dw_pcie_ep_write_header()
148 dw_pcie_writew_dbi(pci, func_offset + PCI_SUBSYSTEM_ID, hdr->subsys_id); in dw_pcie_ep_write_header()
370 dw_pcie_writew_dbi(pci, reg, val); in dw_pcie_ep_set_msi()
421 dw_pcie_writew_dbi(pci, reg, val); in dw_pcie_ep_set_msix()
H A Dpcie-tegra194.c357 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + in apply_bad_link_workaround()
363 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + in apply_bad_link_workaround()
410 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + in tegra_pcie_rp_irq_handler()
768 dw_pcie_writew_dbi(&pcie->pci, pcie->pcie_cap_base + PCI_EXP_LNKCTL, in tegra_pcie_enable_system_interrupts()
847 dw_pcie_writew_dbi(pci, CAP_SPCIE_CAP_OFF + (i * 2), val); in config_gen3_gen4_eq_presets()
930 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA, in tegra_pcie_dw_host_init()
1888 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA, in pex_ep_event_pex_rst_deassert()
H A Dpci-keystone.c827 dw_pcie_writew_dbi(pci, PCI_VENDOR_ID, id & PCIE_VENDORID_MASK); in ks_pcie_init_id()
828 dw_pcie_writew_dbi(pci, PCI_DEVICE_ID, id >> PCIE_DEVICEID_SHIFT); in ks_pcie_init_id()
H A Dpci-imx6.c1198 dw_pcie_writew_dbi(pci, offset + PCI_MSI_FLAGS, val); in imx6_pcie_msi_save_restore()
1459 dw_pcie_writew_dbi(pci, offset + PCI_MSI_FLAGS, val); in imx6_pcie_probe()
H A Dpcie-designware.h459 static inline void dw_pcie_writew_dbi(struct dw_pcie *pci, u32 reg, u16 val) in dw_pcie_writew_dbi() function
H A Dpcie-designware-host.c801 dw_pcie_writew_dbi(pci, PCI_CLASS_DEVICE, PCI_CLASS_BRIDGE_PCI); in dw_pcie_setup_rc()