Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_opti.c83 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg() local
86 ioread16(regio + 1); in opti_write_reg()
87 ioread16(regio + 1); in opti_write_reg()
88 iowrite8(3, regio + 2); in opti_write_reg()
91 iowrite8(val, regio + reg); in opti_write_reg()
94 iowrite8(0x83, regio + 2); in opti_write_reg()
112 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_set_piomode() local
125 iowrite8(0xff, regio + 5); in opti_set_piomode()
126 clock = ioread16(regio + 5) & 1; in opti_set_piomode()
Dpata_optidma.c79 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_unlock() local
82 ioread16(regio + 1); in optidma_unlock()
83 ioread16(regio + 1); in optidma_unlock()
84 iowrite8(3, regio + 2); in optidma_unlock()
96 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_lock() local
99 iowrite8(0x83, regio + 2); in optidma_lock()
121 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_mode_setup() local
166 iowrite8(adev->devno, regio + MISC_REG); in optidma_mode_setup()
169 iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); in optidma_mode_setup()
170 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); in optidma_mode_setup()
[all …]
/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_top.c30 struct cxd2880_io regio; member
508 if (priv->tnrdmd.io != &priv->regio) { in cxd2880_init()
510 &priv->regio, &create_param); in cxd2880_init()
1918 ret = cxd2880_io_spi_create(&priv->regio, &priv->cxd2880_spi, 0); in cxd2880_attach()
1924 ret = priv->regio.write_reg(&priv->regio, in cxd2880_attach()
1931 ret = priv->regio.read_regs(&priv->regio, in cxd2880_attach()