Lines Matching refs:channel
2484 Bit8u channel, device;
2487 for (channel=0; channel<BX_MAX_ATA_INTERFACES; channel++) {
2488 write_byte(ebda_seg,&EbdaData->ata.channels[channel].iface,ATA_IFACE_NONE);
2489 write_word(ebda_seg,&EbdaData->ata.channels[channel].iobase1,0x0);
2490 write_word(ebda_seg,&EbdaData->ata.channels[channel].iobase2,0x0);
2491 write_byte(ebda_seg,&EbdaData->ata.channels[channel].irq,0);
2618 Bit8u channel, slave, shift;
2621 channel = device / 2;
2624 iobase1 =read_word(ebda_seg,&EbdaData->ata.channels[channel].iobase1);
2625 iobase2 =read_word(ebda_seg,&EbdaData->ata.channels[channel].iobase2);
2713 BX_INFO("ata%d-%d: PCHS=%u/%d/%d translation=", channel, slave,cylinders, heads, spt);
2715 translation = inb_cmos(0x39 + channel/2);
2854 printf("ata%d %s: ",channel,slave?" slave":"master");
2862 printf("ata%d %s: ",channel,slave?" slave":"master");
2870 printf("ata%d %s: Unknown device\n",channel,slave?" slave":"master");
2900 Bit8u channel, slave, sn, sc;
2904 channel = device / 2;
2907 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
2908 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
2970 Bit8u channel, slave;
2973 channel = device / 2;
2976 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
2977 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
3119 Bit8u channel, slave;
3122 channel = device / 2;
3125 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
3126 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
3270 Bit8u channel, slave;
3274 channel = device / 2;
3289 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
3290 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
5686 Bit8u channel, dev, irq, mode, checksum, i, translation;
5695 channel = device / 2;
5696 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
5697 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
5698 irq = read_byte(ebda_seg, &EbdaData->ata.channels[channel].irq);
5731 Bit8u channel, iface, checksum, i;
5734 channel = device / 2;
5735 iface = read_byte(ebda_seg, &EbdaData->ata.channels[channel].iface);
5736 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
6038 Bit8u channel, dev, irq, mode, checksum, i;
6047 channel = device / 2;
6048 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
6049 iobase2 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase2);
6050 irq = read_byte(ebda_seg, &EbdaData->ata.channels[channel].irq);
6079 Bit8u channel, iface, checksum, i;
6082 channel = device / 2;
6083 iface = read_byte(ebda_seg, &EbdaData->ata.channels[channel].iface);
6084 iobase1 = read_word(ebda_seg, &EbdaData->ata.channels[channel].iobase1);
8977 out #0x0a, al ;; clear DMA-1 channel 2 mask bit
10767 out 0xD6, al ; cascade mode of channel 4 enabled
10769 out 0xD4, al ; unmask channel 4
11137 ; b7: 1=DMA channel 3 used by hard disk