Home
last modified time | relevance | path

Searched refs:msi_regs (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/4xx/
Dmsi.c38 void __iomem *msi_regs; member
153 msi->msi_regs = of_iomap(msi->msi_dev, 0); in ppc4xx_setup_pcieh_hw()
154 if (!msi->msi_regs) { in ppc4xx_setup_pcieh_hw()
160 (u32) (msi->msi_regs + PEIH_TERMADH), (u32) (msi->msi_regs)); in ppc4xx_setup_pcieh_hw()
176 out_be32(msi->msi_regs + PEIH_TERMADH, msi->msi_addr_hi); in ppc4xx_setup_pcieh_hw()
177 out_be32(msi->msi_regs + PEIH_TERMADL, msi->msi_addr_lo); in ppc4xx_setup_pcieh_hw()
180 out_be32(msi->msi_regs + PEIH_MSIED, *msi_data); in ppc4xx_setup_pcieh_hw()
181 out_be32(msi->msi_regs + PEIH_MSIMK, *msi_mask); in ppc4xx_setup_pcieh_hw()
188 iounmap(msi->msi_regs); in ppc4xx_setup_pcieh_hw()
208 iounmap(msi->msi_regs); in ppc4xx_of_msi_remove()
/Linux-v5.4/drivers/pci/controller/
Dpci-xgene-msi.c37 void __iomem *msi_regs; member
97 return readl_relaxed(msi->msi_regs + MSI_IR0 + in xgene_msi_ir_read()
104 return readl_relaxed(msi->msi_regs + MSI_INT0 + (msi_grp << 16)); in xgene_msi_int_read()
456 xgene_msi->msi_regs = devm_ioremap_resource(&pdev->dev, res); in xgene_msi_probe()
457 if (IS_ERR(xgene_msi->msi_regs)) { in xgene_msi_probe()
459 rc = PTR_ERR(xgene_msi->msi_regs); in xgene_msi_probe()
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_msi.c287 msir_value = fsl_msi_read(msi_data->msi_regs, in fsl_msi_cascade()
291 msir_value = fsl_msi_read(msi_data->msi_regs, msir_index * 0x4); in fsl_msi_cascade()
345 iounmap(msi->msi_regs); in fsl_of_msi_remove()
443 msi->msi_regs = ioremap(res.start, resource_size(&res)); in fsl_of_msi_probe()
444 if (!msi->msi_regs) { in fsl_of_msi_probe()
Dfsl_msi.h37 void __iomem *msi_regs; member