Lines Matching refs:ch_offset
125 int ch_offset; in ata_serverworks_allocate() local
128 ch_offset = ch->unit * 0x100; in ata_serverworks_allocate()
134 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_serverworks_allocate()
135 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04; in ata_serverworks_allocate()
136 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_serverworks_allocate()
137 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_serverworks_allocate()
138 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_serverworks_allocate()
139 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_serverworks_allocate()
140 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_serverworks_allocate()
141 ch->r_io[ATA_COMMAND].offset = ch_offset + 0x1c; in ata_serverworks_allocate()
142 ch->r_io[ATA_CONTROL].offset = ch_offset + 0x20; in ata_serverworks_allocate()
146 ch->r_io[ATA_BMCMD_PORT].offset = ch_offset + 0x30; in ata_serverworks_allocate()
147 ch->r_io[ATA_BMSTAT_PORT].offset = ch_offset + 0x32; in ata_serverworks_allocate()
148 ch->r_io[ATA_BMDTP_PORT].offset = ch_offset + 0x34; in ata_serverworks_allocate()
151 ch->r_io[ATA_SSTATUS].offset = ch_offset + 0x40; in ata_serverworks_allocate()
152 ch->r_io[ATA_SERROR].offset = ch_offset + 0x44; in ata_serverworks_allocate()
153 ch->r_io[ATA_SCONTROL].offset = ch_offset + 0x48; in ata_serverworks_allocate()