Searched refs:regio (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/ata/ |
H A D | pata_opti.c | 82 void __iomem *regio = ap->ioaddr.cmd_addr; opti_write_reg() local 85 ioread16(regio + 1); opti_write_reg() 86 ioread16(regio + 1); opti_write_reg() 87 iowrite8(3, regio + 2); opti_write_reg() 90 iowrite8(val, regio + reg); opti_write_reg() 93 iowrite8(0x83, regio + 2); opti_write_reg() 111 void __iomem *regio = ap->ioaddr.cmd_addr; opti_set_piomode() local 124 iowrite8(0xff, regio + 5); opti_set_piomode() 125 clock = ioread16(regio + 5) & 1; opti_set_piomode()
|
H A D | pata_optidma.c | 78 void __iomem *regio = ap->ioaddr.cmd_addr; optidma_unlock() local 81 ioread16(regio + 1); optidma_unlock() 82 ioread16(regio + 1); optidma_unlock() 83 iowrite8(3, regio + 2); optidma_unlock() 95 void __iomem *regio = ap->ioaddr.cmd_addr; optidma_lock() local 98 iowrite8(0x83, regio + 2); optidma_lock() 120 void __iomem *regio = ap->ioaddr.cmd_addr; optidma_mode_setup() local 165 iowrite8(adev->devno, regio + MISC_REG); optidma_mode_setup() 168 iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); optidma_mode_setup() 169 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); optidma_mode_setup() 171 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + READ_REG); optidma_mode_setup() 172 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + WRITE_REG); optidma_mode_setup() 175 iowrite8(addr | adev->devno, regio + MISC_REG); optidma_mode_setup() 178 iowrite8(0x85, regio + CNTRL_REG); optidma_mode_setup()
|
Completed in 89 milliseconds