Lines Matching refs:ch_offset

179     int ch_offset;  in ata_serverworks_ch_attach()  local
182 ch_offset = ch->unit * 0x100; in ata_serverworks_ch_attach()
188 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_serverworks_ch_attach()
189 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04; in ata_serverworks_ch_attach()
190 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_serverworks_ch_attach()
191 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_serverworks_ch_attach()
192 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_serverworks_ch_attach()
193 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_serverworks_ch_attach()
194 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_serverworks_ch_attach()
195 ch->r_io[ATA_COMMAND].offset = ch_offset + 0x1c; in ata_serverworks_ch_attach()
196 ch->r_io[ATA_CONTROL].offset = ch_offset + 0x20; in ata_serverworks_ch_attach()
200 ch->r_io[ATA_BMCMD_PORT].offset = ch_offset + 0x30; in ata_serverworks_ch_attach()
201 ch->r_io[ATA_BMSTAT_PORT].offset = ch_offset + 0x32; in ata_serverworks_ch_attach()
202 ch->r_io[ATA_BMDTP_PORT].offset = ch_offset + 0x34; in ata_serverworks_ch_attach()
205 ch->r_io[ATA_SSTATUS].offset = ch_offset + 0x40; in ata_serverworks_ch_attach()
206 ch->r_io[ATA_SERROR].offset = ch_offset + 0x44; in ata_serverworks_ch_attach()
207 ch->r_io[ATA_SCONTROL].offset = ch_offset + 0x48; in ata_serverworks_ch_attach()
220 ATA_OUTL(ctlr->r_res2, ch_offset + 0x80, in ata_serverworks_ch_attach()
221 ATA_INL(ctlr->r_res2, ch_offset + 0x80) & ~0x00040000); in ata_serverworks_ch_attach()
222 ATA_OUTL(ctlr->r_res2, ch_offset + 0x88, 0); in ata_serverworks_ch_attach()