Lines Matching defs:channel
83 uint8_t channel, device;
89 for (channel=0; channel<BX_MAX_ATA_INTERFACES; channel++) {
90 bios_dsk->channels[channel].iface = ATA_IFACE_NONE;
91 bios_dsk->channels[channel].iobase1 = 0x0;
92 bios_dsk->channels[channel].iobase2 = 0x0;
93 bios_dsk->channels[channel].irq = 0;
133 uint8_t channel, slave, sn, sc;
139 channel = device / 2;
142 iobase1 = bios_dsk->channels[channel].iobase1;
143 iobase2 = bios_dsk->channels[channel].iobase2;
215 uint8_t channel, slave;
220 channel = device / 2;
223 iobase1 = bios_dsk->channels[channel].iobase1;
224 iobase2 = bios_dsk->channels[channel].iobase2;
405 uint8_t channel, slave;
408 channel = device / 2;
411 iobase1 = bios_dsk->channels[channel].iobase1;
412 iobase2 = bios_dsk->channels[channel].iobase2;
433 // reset the channel
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;
696 channel = device / 2;
699 iobase1 = bios_dsk->channels[channel].iobase1;
700 iobase2 = bios_dsk->channels[channel].iobase2;
894 uint8_t channel, slave;
901 channel = device / 2;
916 iobase1 = bios_dsk->channels[channel].iobase1;
917 iobase2 = bios_dsk->channels[channel].iobase2;
1118 uint8_t channel, slave;
1124 channel = device / 2;
1127 iobase1 = bios_dsk->channels[channel].iobase1;
1128 iobase2 = bios_dsk->channels[channel].iobase2;