Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ata/
Dpata_imx.c40 u8 *host_regs; member
56 val = __raw_readl(priv->host_regs + PATA_IMX_ATA_CONTROL); in pata_imx_set_mode()
61 __raw_writel(val, priv->host_regs + PATA_IMX_ATA_CONTROL); in pata_imx_set_mode()
134 priv->host_regs = devm_ioremap(&pdev->dev, io_res->start, in pata_imx_probe()
136 if (!priv->host_regs) { in pata_imx_probe()
141 ap->ioaddr.cmd_addr = priv->host_regs + PATA_IMX_DRIVE_DATA; in pata_imx_probe()
142 ap->ioaddr.ctl_addr = priv->host_regs + PATA_IMX_DRIVE_CONTROL; in pata_imx_probe()
155 priv->host_regs + PATA_IMX_ATA_CONTROL); in pata_imx_probe()
158 priv->host_regs + PATA_IMX_ATA_INT_EN); in pata_imx_probe()
177 __raw_writel(0, priv->host_regs + PATA_IMX_ATA_INT_EN); in pata_imx_remove()
[all …]