Searched refs:regio (Results 1 – 2 of 2) sorted by relevance
83 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg() local86 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() local125 iowrite8(0xff, regio + 5); in opti_set_piomode()126 clock = ioread16(regio + 5) & 1; in opti_set_piomode()
79 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_unlock() local82 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() local99 iowrite8(0x83, regio + 2); in optidma_lock()121 void __iomem *regio = ap->ioaddr.cmd_addr; in optidma_mode_setup() local166 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 …]