Searched refs:unit10 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-siliconimage.c247 int unit01 = (ch->unit & 1), unit10 = (ch->unit & 2); local
252 ch->r_io[i].offset = 0x80 + i + (unit01 << 6) + (unit10 << 8);
255 ch->r_io[ATA_CONTROL].offset = 0x8a + (unit01 << 6) + (unit10 << 8);
260 ch->r_io[ATA_BMCMD_PORT].offset = 0x00 + (unit01 << 3) + (unit10 << 8);
262 ch->r_io[ATA_BMSTAT_PORT].offset = 0x02 + (unit01 << 3) + (unit10 << 8);
264 ch->r_io[ATA_BMDTP_PORT].offset = 0x04 + (unit01 << 3) + (unit10 << 8);
268 ch->r_io[ATA_SSTATUS].offset = 0x104 + (unit01 << 7) + (unit10 << 8);
270 ch->r_io[ATA_SERROR].offset = 0x108 + (unit01 << 7) + (unit10 << 8);
272 ch->r_io[ATA_SCONTROL].offset = 0x100 + (unit01 << 7) + (unit10 << 8);
278 ATA_OUTL(ctlr->r_res2, 0x148 + (unit01 << 7) + (unit10 <<
[all...]
H A Data-acerlabs.c224 int unit01 = (ch->unit & 1), unit10 = (ch->unit & 2); local
238 ch->r_io[i].offset = i + (unit10 ? 8 : 0);
241 ch->r_io[ATA_CONTROL].offset = 2 + (unit10 ? 4 : 0);

Completed in 60 milliseconds