Home
last modified time | relevance | path

Searched refs:lnkbase (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/mips/pci/
Dmsi-xlp.c114 uint64_t lnkbase; member
142 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_EN, in xlp_msi_enable()
145 nlm_write_reg(md->lnkbase, PCIE_MSI_EN, md->msi_enabled_mask); in xlp_msi_enable()
159 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_EN, in xlp_msi_disable()
162 nlm_write_reg(md->lnkbase, PCIE_MSI_EN, md->msi_enabled_mask); in xlp_msi_disable()
177 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack()
179 nlm_write_reg(md->lnkbase, PCIE_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack()
224 nlm_write_reg(md->lnkbase, status_reg, 1u << bit); in xlp_msix_mask_ack()
248 static void xlp_config_link_msi(uint64_t lnkbase, int lirq, uint64_t msiaddr) in xlp_config_link_msi() argument
253 val = nlm_read_reg(lnkbase, PCIE_9XX_INT_EN0); in xlp_config_link_msi()
[all …]
Dpci-xlp.c241 uint64_t nbubase, lnkbase; in xlp_config_pci_bswap() local
245 lnkbase = nlm_get_pcie_base(node, link); in xlp_config_pci_bswap()
254 nlm_write_pci_reg(lnkbase, PCIE_9XX_BYTE_SWAP_MEM_BASE, reg); in xlp_config_pci_bswap()
258 nlm_write_pci_reg(lnkbase, in xlp_config_pci_bswap()
263 nlm_write_pci_reg(lnkbase, PCIE_9XX_BYTE_SWAP_IO_BASE, reg); in xlp_config_pci_bswap()
267 nlm_write_pci_reg(lnkbase, in xlp_config_pci_bswap()
271 nlm_write_pci_reg(lnkbase, PCIE_BYTE_SWAP_MEM_BASE, reg); in xlp_config_pci_bswap()
275 nlm_write_pci_reg(lnkbase, PCIE_BYTE_SWAP_MEM_LIM, reg | 0xfff); in xlp_config_pci_bswap()
278 nlm_write_pci_reg(lnkbase, PCIE_BYTE_SWAP_IO_BASE, reg); in xlp_config_pci_bswap()
281 nlm_write_pci_reg(lnkbase, PCIE_BYTE_SWAP_IO_LIM, reg | 0xfff); in xlp_config_pci_bswap()