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