Lines Matching refs:HWIF

107 	number = (HWIF(drive)->channel << 1) + drive->select.b.unit;  in promise_selectproc()
108 HWIF(drive)->OUTB(number, IDE_FEATURE_REG); in promise_selectproc()
122 HWIF(drive)->OUTB(0xF3, IDE_SECTOR_REG); in pdc4030_cmd()
123 HWIF(drive)->OUTB(cmd, IDE_SELECT_REG); in pdc4030_cmd()
124 HWIF(drive)->OUTB(PROMISE_EXTENDED_COMMAND, IDE_COMMAND_REG); in pdc4030_cmd()
133 status_val = HWIF(drive)->INB(IDE_SECTOR_REG); in pdc4030_cmd()
408 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in promise_read_intr()
415 sectors_left = HWIF(drive)->INB(IDE_NSECTOR_REG); in promise_read_intr()
416 HWIF(drive)->INB(IDE_SECTOR_REG); in promise_read_intr()
417 } while (HWIF(drive)->INB(IDE_NSECTOR_REG) != sectors_left); in promise_read_intr()
431 HWIF(drive)->ata_input_data(drive, to, nsect * SECTOR_WORDS); in promise_read_intr()
433 HWIF(drive)->ata_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); in promise_read_intr()
474 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in promise_read_intr()
512 if ((HWIF(drive)->INB(IDE_STATUS_REG)) & BUSY_STAT) { in promise_complete_pollfunc()
526 HWIF(drive)->INB(IDE_STATUS_REG)); in promise_complete_pollfunc()
613 if (HWIF(drive)->INB(IDE_NSECTOR_REG) != 0) { in promise_write_pollfunc()
626 HWIF(drive)->INB(IDE_STATUS_REG)); in promise_write_pollfunc()
639 drive->name, HWIF(drive)->INB(IDE_STATUS_REG)); in promise_write_pollfunc()
692 HWIF(drive)->INB(IDE_STATUS_REG)); in promise_write()
718 HWIF(drive)->OUTB(drive->ctl, IDE_CONTROL_REG); /* clear nIEN */
720 HWIF(drive)->OUTB(taskfile->feature, IDE_FEATURE_REG);
721 HWIF(drive)->OUTB(taskfile->sector_count, IDE_NSECTOR_REG);
723 HWIF(drive)->OUTB(taskfile->sector_number, IDE_SECTOR_REG);
725 HWIF(drive)->OUTB(taskfile->low_cylinder, IDE_LCYL_REG);
726 HWIF(drive)->OUTB(taskfile->high_cylinder, IDE_HCYL_REG);
727 HWIF(drive)->OUTB(taskfile->device_head, IDE_SELECT_REG);
728 HWIF(drive)->OUTB(taskfile->command, IDE_COMMAND_REG);
734 HWIF(drive)->OUTB(PROMISE_READ, IDE_COMMAND_REG);
748 stat = HWIF(drive)->INB(IDE_STATUS_REG);
753 if (HWIF(drive)->INB(IDE_SELECT_REG) & 0x01) {
772 HWIF(drive)->OUTB(PROMISE_WRITE, IDE_COMMAND_REG);
799 int drive_number = (HWIF(drive)->channel << 1) + drive->select.b.unit;
801 ide_hwif_t *hwif = HWIF(drive);