Lines Matching refs:offset
187 ch->r_io[ATA_DATA].offset = ch_offset + 0x00;
188 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04;
189 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08;
190 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c;
191 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10;
192 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14;
193 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18;
194 ch->r_io[ATA_COMMAND].offset = ch_offset + 0x1c;
195 ch->r_io[ATA_CONTROL].offset = ch_offset + 0x20;
199 ch->r_io[ATA_BMCMD_PORT].offset = ch_offset + 0x30;
200 ch->r_io[ATA_BMSTAT_PORT].offset = ch_offset + 0x32;
201 ch->r_io[ATA_BMDTP_PORT].offset = ch_offset + 0x34;
204 ch->r_io[ATA_SSTATUS].offset = ch_offset + 0x40;
205 ch->r_io[ATA_SERROR].offset = ch_offset + 0x44;
206 ch->r_io[ATA_SCONTROL].offset = ch_offset + 0x48;
321 int offset = (devno ^ 0x01) << 3;
338 ~(0xff << offset)) |
339 (dmatimings[2] << offset), 4);
348 ~(0xff << offset)) |
349 (dmatimings[mode & ATA_MODE_MASK] << offset), 4);
368 ~(0xff << offset)) |
369 (piotimings[ata_mode2idx(piomode)] << offset), 4);