Searched refs:host_regs (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/ata/
H A Dpata_imx.c39 void __iomem *host_regs; member in struct:pata_imx_priv
55 val = __raw_readl(priv->host_regs + PATA_IMX_ATA_CONTROL); ata_for_each_dev()
60 __raw_writel(val, priv->host_regs + PATA_IMX_ATA_CONTROL); ata_for_each_dev()
135 priv->host_regs = devm_ioremap_resource(&pdev->dev, io_res); pata_imx_probe()
136 if (IS_ERR(priv->host_regs)) { pata_imx_probe()
137 ret = PTR_ERR(priv->host_regs); pata_imx_probe()
141 ap->ioaddr.cmd_addr = priv->host_regs + PATA_IMX_DRIVE_DATA; pata_imx_probe()
142 ap->ioaddr.ctl_addr = priv->host_regs + PATA_IMX_DRIVE_CONTROL; pata_imx_probe()
155 priv->host_regs + PATA_IMX_ATA_CONTROL); pata_imx_probe()
158 priv->host_regs + PATA_IMX_ATA_INT_EN); pata_imx_probe()
181 __raw_writel(0, priv->host_regs + PATA_IMX_ATA_INT_EN); pata_imx_remove()
197 __raw_writel(0, priv->host_regs + PATA_IMX_ATA_INT_EN); pata_imx_suspend()
199 __raw_readl(priv->host_regs + PATA_IMX_ATA_CONTROL); pata_imx_suspend()
215 __raw_writel(priv->ata_ctl, priv->host_regs + PATA_IMX_ATA_CONTROL); pata_imx_resume()
218 priv->host_regs + PATA_IMX_ATA_INT_EN); pata_imx_resume()
/linux-4.4.14/arch/arm/mach-cns3xxx/
H A Dpcie.c27 void __iomem *host_regs; /* PCI config registers for host bridge */ member in struct:cns3xxx_pcie
74 base = cnspci->host_regs; cns3xxx_pci_map_bus()
145 .host_regs = (void __iomem *)CNS3XXX_PCIE0_HOST_BASE_VIRT,
164 .host_regs = (void __iomem *)CNS3XXX_PCIE1_HOST_BASE_VIRT,
218 void __iomem *base = cnspci->host_regs + (where & 0xffc); cns3xxx_write_config()

Completed in 99 milliseconds