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

/freebsd-13-stable/sys/dev/ata/chipsets/
H A Data-siliconimage.c249 int unit01 = (ch->unit & 1), unit10 = (ch->unit & 2); local
254 ch->r_io[i].offset = 0x80 + i + (unit01 << 6) + (unit10 << 8);
257 ch->r_io[ATA_CONTROL].offset = 0x8a + (unit01 << 6) + (unit10 << 8);
262 ch->r_io[ATA_BMCMD_PORT].offset = 0x00 + (unit01 << 3) + (unit10 << 8);
264 ch->r_io[ATA_BMSTAT_PORT].offset = 0x02 + (unit01 << 3) + (unit10 << 8);
266 ch->r_io[ATA_BMDTP_PORT].offset = 0x04 + (unit01 << 3) + (unit10 << 8);
270 ch->r_io[ATA_SSTATUS].offset = 0x104 + (unit01 << 7) + (unit10 << 8);
272 ch->r_io[ATA_SERROR].offset = 0x108 + (unit01 << 7) + (unit10 << 8);
274 ch->r_io[ATA_SCONTROL].offset = 0x100 + (unit01 << 7) + (unit10 << 8);
280 ATA_OUTL(ctlr->r_res2, 0x148 + (unit01 << 7) + (unit10 <<
[all...]
H A Data-acerlabs.c226 int unit01 = (ch->unit & 1), unit10 = (ch->unit & 2); local
240 ch->r_io[i].offset = i + (unit10 ? 8 : 0);
243 ch->r_io[ATA_CONTROL].offset = 2 + (unit10 ? 4 : 0);

Completed in 70 milliseconds