Lines Matching defs:slave
133 uint8_t channel, slave, sn, sc;
140 slave = device % 2;
164 outb(iobase1+ATA_CB_DH, slave?ATA_CB_DH_DEV1:ATA_CB_DH_DEV0);
215 uint8_t channel, slave;
221 slave = device % 2;
281 outb(iobase1 + ATA_CB_DH, (slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0) | (uint8_t) head );
405 uint8_t channel, slave;
409 slave = device % 2;
418 outb(iobase1+ATA_CB_DH, slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0);
437 outb(iobase1+ATA_CB_DH, slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0);
515 BX_INFO("ata%d-%d: PCHS=%u/%u/%u LCHS=%u/%u/%u\n", channel, slave,
630 printf("ata%d %s: ", channel, slave ? " slave" : "master");
637 printf("ata%d %s: ", channel, slave ? " slave" : "master");
647 printf("ata%d %s: Unknown device\n", channel , slave ? " slave" : "master");
692 uint8_t channel, slave;
697 slave = device % 2;
749 outb(iobase1 + ATA_CB_DH, (slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0) | (uint8_t) head );
894 uint8_t channel, slave;
902 slave = device % 2;
942 outb(iobase1 + ATA_CB_DH, slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0);
1118 uint8_t channel, slave;
1125 slave = device % 2;
1132 outb(iobase1 + ATA_CB_DH, slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0);