Lines Matching refs:outb

130     outb(0x03f2, val8 & ~0x04);
131 outb(0x03f2, val8 | 0x04);
156 outb(0x03f2, dor);
164 outb(0x03f7, val8);
224 outb(0x03f5, 0x4a); // 4a: Read ID (MFM)
225 outb(0x03f5, drive); // 0=drive0, 1=drive1, head always 0
262 outb(0x03f5, 0x07); // 07: Recalibrate
263 outb(0x03f5, drive); // 0=drive0, 1=drive1
575 outb(0x000a, 0x06);
578 outb(0x000c, 0x00); // clear flip-flop
579 outb(0x0004, base_address);
580 outb(0x0004, base_address>>8);
582 outb(0x000c, 0x00); // clear flip-flop
583 outb(0x0005, base_count);
584 outb(0x0005, base_count>>8);
592 outb(0x000b, mode_register);
596 outb(0x0081, page);
599 outb(0x000a, 0x02); // unmask channel 2
607 outb(0x03f5, 0xe6); // e6: read normal data
608 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
609 outb(0x03f5, track);
610 outb(0x03f5, head);
611 outb(0x03f5, sector);
612 outb(0x03f5, 2); // 512 byte sector size
613 outb(0x03f5, sector + num_sectors - 1); // last sector to read on track
614 outb(0x03f5, 0); // Gap length
615 outb(0x03f5, 0xff); // Gap length
716 outb(0x000a, 0x06);
718 outb(0x000c, 0x00); // clear flip-flop
719 outb(0x0004, base_address);
720 outb(0x0004, base_address>>8);
721 outb(0x000c, 0x00); // clear flip-flop
722 outb(0x0005, base_count);
723 outb(0x0005, base_count>>8);
730 outb(0x000b, mode_register);
733 outb(0x0081, page);
736 outb(0x000a, 0x02);
744 outb(0x03f5, 0xc5); // c5: write normal data
745 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
746 outb(0x03f5, track);
747 outb(0x03f5, head);
748 outb(0x03f5, sector);
749 outb(0x03f5, 2); // 512 byte sector size
750 outb(0x03f5, sector + num_sectors - 1); // last sector to write on track
751 outb(0x03f5, 0); // Gap length
752 outb(0x03f5, 0xff); // Gap length
891 outb(0x000a, 0x06);
892 outb(0x000c, 0x00); // clear flip-flop
893 outb(0x0004, base_address);
894 outb(0x0004, base_address>>8);
895 outb(0x000c, 0x00); // clear flip-flop
896 outb(0x0005, base_count);
897 outb(0x0005, base_count>>8);
900 outb(0x000b, mode_register);
902 outb(0x0081, page);
903 outb(0x000a, 0x02);
909 outb(0x03f5, 0x0f); // 0f: seek
910 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
911 outb(0x03f5, track);
914 outb(0x03f5, 0x4d); // 4d: format track
915 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
916 outb(0x03f5, 2); // 512 byte sector size
917 outb(0x03f5, num_sectors); // number of sectors per track
918 outb(0x03f5, 0); // Gap length
919 outb(0x03f5, 0xf6); // Fill byte
1376 outb(0x03f2, DOR); // Digital Output Register