Home
last modified time | relevance | path

Searched refs:IDE_STATUS_REG (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/drivers/ide/
Dide-probe.c300 s = hwif->INB(IDE_STATUS_REG); in actual_try_to_identify()
305 hd_status = IDE_STATUS_REG; in actual_try_to_identify()
312 hd_status = IDE_STATUS_REG; in actual_try_to_identify()
342 if (OK_STAT((hwif->INB(IDE_STATUS_REG)), DRQ_STAT, BAD_R_STAT)) { in actual_try_to_identify()
352 (void) hwif->INB(IDE_STATUS_REG); in actual_try_to_identify()
392 (void) hwif->INB(IDE_STATUS_REG); in try_to_identify()
474 if (OK_STAT((hwif->INB(IDE_STATUS_REG)), READY_STAT, BUSY_STAT) || in do_probe()
481 if (hwif->INB(IDE_STATUS_REG) == (BUSY_STAT|READY_STAT)) in do_probe()
490 hwif->INB(IDE_STATUS_REG)); in do_probe()
496 while (((hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) && in do_probe()
[all …]
Dide-iops.c596 stat = hwif->INB(IDE_STATUS_REG); in drive_is_ready()
618 stat = hwif->INB(IDE_STATUS_REG); in wait_for_ready()
664 if ((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) { in ide_wait_stat()
667 while ((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) { in ide_wait_stat()
674 stat = hwif->INB(IDE_STATUS_REG); in ide_wait_stat()
694 if (OK_STAT((stat = hwif->INB(IDE_STATUS_REG)), good, bad)) in ide_wait_stat()
873 if (!OK_STAT(hwif->INB(IDE_STATUS_REG),DRQ_STAT,BAD_R_STAT)) {
886 (void) hwif->INB(IDE_STATUS_REG); /* clear drive IRQ */
952 if ((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) {
956 while ((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) {
[all …]
Dide-taskfile.c478 if (hwif->INB(IDE_STATUS_REG) & (BUSY_STAT|DRQ_STAT)) { in taskfile_error()
506 if (OK_STAT(stat = hwif->INB(IDE_STATUS_REG),READY_STAT,BAD_STAT)) { in set_multmode_intr()
527 while (((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) && retries--) in set_geometry_intr()
552 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG), READY_STAT, BAD_STAT)) in recal_intr()
569 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG),READY_STAT,BAD_STAT)) { in task_no_data_intr()
598 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG),DATA_READY,BAD_R_STAT)) { in task_in_intr()
681 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG),DATA_READY,BAD_R_STAT)) { in task_mulin_intr()
772 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG), DRIVE_READY, drive->bad_wstat)) { in task_out_intr()
849 stat = hwif->INB(IDE_STATUS_REG); in pre_task_mulout_intr()
886 u8 stat = hwif->INB(IDE_STATUS_REG); in task_mulout_intr()
[all …]
Dide-io.c298 if (hwif->INB(IDE_STATUS_REG) & (BUSY_STAT|DRQ_STAT)) { in ide_error()
399 u8 stat = hwif->INB(IDE_STATUS_REG); in drive_cmd_intr()
408 while (((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) && retries--) in drive_cmd_intr()
537 hwif->INB(IDE_STATUS_REG), in execute_drive_cmd()
880 hwif->INB(IDE_STATUS_REG)); in ide_dma_timeout_retry()
1000 startstop = DRIVER(drive)->error(drive, "irq timeout", hwif->INB(IDE_STATUS_REG)); in ide_timer_expiry()
Dide-dma.c220 stat = HWIF(drive)->INB(IDE_STATUS_REG); /* get drive status */ in ide_dma_intr()
826 u8 stat = hwif->INB(IDE_STATUS_REG); in __ide_dma_test_irq()
Dide-disk.c160 if (!OK_STAT(stat=hwif->INB(IDE_STATUS_REG),DATA_READY,BAD_R_STAT)) { in read_intr()
217 if (!OK_STAT(stat = hwif->INB(IDE_STATUS_REG), in write_intr()
322 if (OK_STAT(stat = hwif->INB(IDE_STATUS_REG), in multwrite_intr()
959 if (hwif->INB(IDE_STATUS_REG) & (BUSY_STAT|DRQ_STAT)) { in idedisk_error()
Dide-cd.c645 if (HWIF(drive)->INB(IDE_STATUS_REG) & (BUSY_STAT|DRQ_STAT)) in ide_cdrom_error()
704 *stat_ret = stat = HWIF(drive)->INB(IDE_STATUS_REG); in cdrom_decode_status()
1022 (void) HWIF(drive)->INB(IDE_STATUS_REG); in cdrom_read_check_ireason()
1860 int stat = HWIF(drive)->INB(IDE_STATUS_REG); in ide_do_rw_cdrom()
Dide-floppy.c829 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idefloppy_pc_intr()
1656 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idefloppy_get_format_progress()
Dide-tape.c2105 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idetape_pc_intr()
2607 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idetape_media_access_finished()
2837 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idetape_do_request()
/linux-2.4.37.9/drivers/ide/legacy/
Dpdc4030.c408 status.all = HWIF(drive)->INB(IDE_STATUS_REG); 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()
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()
748 stat = HWIF(drive)->INB(IDE_STATUS_REG);
Dht6560b.c164 (void) HWIF(drive)->INB(IDE_STATUS_REG); in ht6560b_selectproc()
/linux-2.4.37.9/drivers/ide/pci/
Dsgiioc4.c641 u8 stat = hwif->INB(IDE_STATUS_REG); in sgiioc4_clearirq()
645 stat = hwif->INB(IDE_STATUS_REG); /* Removes Interrupt from IDE Device */ in sgiioc4_clearirq()
/linux-2.4.37.9/include/linux/
Dide.h188 #define IDE_STATUS_REG (HWIF(drive)->io_ports[IDE_STATUS_OFFSET]) macro
203 #define IDE_COMMAND_REG IDE_STATUS_REG
/linux-2.4.37.9/arch/cris/drivers/
Dide.c812 stat = HWIF(drive)->INB(IDE_STATUS_REG); /* get drive status */ in etrax_dma_intr()
/linux-2.4.37.9/drivers/ide/arm/
Dicside.c339 u8 stat = HWIF(drive)->INB(IDE_STATUS_REG); in icside_dmaintr()
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c471 (void)hwif->INB(IDE_STATUS_REG); in pmac_ide_do_setfeature()
1878 status = hwif->INB(IDE_STATUS_REG); in idepmac_sleep_device()
/linux-2.4.37.9/drivers/scsi/
Dide-scsi.c438 status.all = HWIF(drive)->INB(IDE_STATUS_REG); in idescsi_pc_intr()