tag | line | file | source code |
DEV_HWIF | 220 | drivers/block/ide.c | #define OUT_BYTE(b,p) outb((b),IDE_PORT(p,DEV_HWIF)) |
DEV_HWIF | 223 | drivers/block/ide.c | #define OUT_BYTE(b,p) outb_p((b),IDE_PORT(p,DEV_HWIF)) |
DEV_HWIF | 228 | drivers/block/ide.c | #define OUT_SECTORS(b,n) outsl(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<7) |
DEV_HWIF | 229 | drivers/block/ide.c | #define IN_SECTORS(b,n) insl(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<7) |
DEV_HWIF | 231 | drivers/block/ide.c | #define OUT_SECTORS(b,n) outsw(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<8) |
DEV_HWIF | 232 | drivers/block/ide.c | #define IN_SECTORS(b,n) insw(IDE_PORT(HD_DATA,DEV_HWIF),(b),(n)<<8) |
DEV_HWIF | 379 | drivers/block/ide.c | #define SET_DISK_RECOVERY_TIMER ide_lastreq[DEV_HWIF] = read_timer(); |
DEV_HWIF | 402 | drivers/block/ide.c | #define DO_REQUEST {SET_DISK_RECOVERY_TIMER do_request(DEV_HWIF);} |
DEV_HWIF | 417 | drivers/block/ide.c | if (GET_STAT(DEV_HWIF) & BUSY_STAT) { \ |
DEV_HWIF | 420 | drivers/block/ide.c | if ((GET_STAT(DEV_HWIF) & BUSY_STAT) == 0) \ |
DEV_HWIF | 425 | drivers/block/ide.c | if (!OK_STAT(stat=GET_STAT(DEV_HWIF), good, bad)) { \ |
DEV_HWIF | 450 | drivers/block/ide.c | ide_dev_t *rdev = &ide_dev[DEV_HWIF][tmp]; |
DEV_HWIF | 472 | drivers/block/ide.c | if ((GET_STAT(DEV_HWIF) & BUSY_STAT) == 0) |
DEV_HWIF | 475 | drivers/block/ide.c | printk("%s: do_ide_reset: ", ide_name[DEV_HWIF]); |
DEV_HWIF | 477 | drivers/block/ide.c | if (!OK_STAT(tmp=GET_STAT(DEV_HWIF), 0, BUSY_STAT)) { |
DEV_HWIF | 480 | drivers/block/ide.c | if ((tmp = GET_ERR(DEV_HWIF)) == 1) |
DEV_HWIF | 483 | drivers/block/ide.c | printk("%s: ", ide_devname[DEV_HWIF][0]); |
DEV_HWIF | 498 | drivers/block/ide.c | printk("; %s: error", ide_devname[DEV_HWIF][1]); |
DEV_HWIF | 512 | drivers/block/ide.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
DEV_HWIF | 519 | drivers/block/ide.c | args[2] = IN_BYTE(HD_NSECTOR,DEV_HWIF); |
DEV_HWIF | 524 | drivers/block/ide.c | ide_cur_rq[DEV_HWIF] = NULL; |
DEV_HWIF | 609 | drivers/block/ide.c | err = dump_status(DEV_HWIF, msg, stat); |
DEV_HWIF | 610 | drivers/block/ide.c | if ((rq = ide_cur_rq[DEV_HWIF]) == NULL || dev == NULL) |
DEV_HWIF | 638 | drivers/block/ide.c | end_request(0, DEV_HWIF); |
DEV_HWIF | 655 | drivers/block/ide.c | if (!OK_STAT(stat=GET_STAT(DEV_HWIF),DATA_READY,BAD_RW_STAT)) { |
DEV_HWIF | 663 | drivers/block/ide.c | rq = ide_cur_rq[DEV_HWIF]; |
DEV_HWIF | 681 | drivers/block/ide.c | end_request(1, DEV_HWIF); |
DEV_HWIF | 685 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &read_intr; |
DEV_HWIF | 696 | drivers/block/ide.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
DEV_HWIF | 698 | drivers/block/ide.c | if (OK_STAT(stat=GET_STAT(DEV_HWIF),DRIVE_READY,BAD_RW_STAT)) { |
DEV_HWIF | 711 | drivers/block/ide.c | end_request(1, DEV_HWIF); |
DEV_HWIF | 713 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &write_intr; |
DEV_HWIF | 728 | drivers/block/ide.c | struct request *rq = &ide_write_rq[DEV_HWIF]; |
DEV_HWIF | 763 | drivers/block/ide.c | struct request *rq = &ide_write_rq[DEV_HWIF]; |
DEV_HWIF | 765 | drivers/block/ide.c | if (OK_STAT(stat=GET_STAT(DEV_HWIF),DRIVE_READY,BAD_RW_STAT)) { |
DEV_HWIF | 770 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &multwrite_intr; |
DEV_HWIF | 775 | drivers/block/ide.c | rq = ide_cur_rq[DEV_HWIF]; |
DEV_HWIF | 778 | drivers/block/ide.c | end_request(1, DEV_HWIF); |
DEV_HWIF | 800 | drivers/block/ide.c | ide_handler[DEV_HWIF] = handler; |
DEV_HWIF | 805 | drivers/block/ide.c | byte stat = GET_STAT(DEV_HWIF); |
DEV_HWIF | 811 | drivers/block/ide.c | (void) dump_status(DEV_HWIF, "set_multmode", stat); |
DEV_HWIF | 824 | drivers/block/ide.c | byte stat = GET_STAT(DEV_HWIF); |
DEV_HWIF | 834 | drivers/block/ide.c | byte stat = GET_STAT(DEV_HWIF); |
DEV_HWIF | 844 | drivers/block/ide.c | byte stat = GET_STAT(DEV_HWIF); |
DEV_HWIF | 850 | drivers/block/ide.c | end_drive_cmd (dev, stat, GET_ERR(DEV_HWIF)); |
DEV_HWIF | 927 | drivers/block/ide.c | return (ide_handler[DEV_HWIF] == NULL) ? 1 : 0; |
DEV_HWIF | 980 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &read_intr; |
DEV_HWIF | 990 | drivers/block/ide.c | ide_write_rq[DEV_HWIF] = *rq; /* scratchpad */ |
DEV_HWIF | 992 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &multwrite_intr; |
DEV_HWIF | 995 | drivers/block/ide.c | ide_handler[DEV_HWIF] = &write_intr; |
DEV_HWIF | 1012 | drivers/block/ide.c | end_drive_cmd(dev,GET_STAT(DEV_HWIF),GET_ERR(DEV_HWIF)); |
DEV_HWIF | 1018 | drivers/block/ide.c | end_request(0, DEV_HWIF); |
DEV_HWIF | 1324 | drivers/block/ide.c | gd = &ide_gendisk[DEV_HWIF]; |
DEV_HWIF | 1325 | drivers/block/ide.c | major = ide_major[DEV_HWIF] << 8; |
DEV_HWIF | 1337 | drivers/block/ide.c | gd->part[start].nr_sects = ide_capacity[DEV_HWIF][drive]; |
DEV_HWIF | 1427 | drivers/block/ide.c | put_fs_long((unsigned)ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].start_sect, |
DEV_HWIF | 1447 | drivers/block/ide.c | return write_fs_long(arg, ide_hd[DEV_HWIF][MINOR(inode->i_rdev)].nr_sects); |
DEV_HWIF | 1706 | drivers/block/ide.c | ide_capacity[DEV_HWIF][dev->select.b.drive] = capacity; |
DEV_HWIF | 1747 | drivers/block/ide.c | if (!irq_probed[DEV_HWIF]) { /* already probed for IRQ? */ |
DEV_HWIF | 1753 | drivers/block/ide.c | if ((IN_BYTE(HD_ALTSTATUS,DEV_HWIF) ^ IN_BYTE(HD_STATUS,DEV_HWIF)) & ~INDEX_STAT) { |
DEV_HWIF | 1764 | drivers/block/ide.c | if (!irq_probed[DEV_HWIF]) |
DEV_HWIF | 1770 | drivers/block/ide.c | } while (IN_BYTE(hd_status,DEV_HWIF) & BUSY_STAT); |
DEV_HWIF | 1772 | drivers/block/ide.c | if (OK_STAT(GET_STAT(DEV_HWIF),DRQ_STAT,BAD_RW_STAT)) { |
DEV_HWIF | 1779 | drivers/block/ide.c | if (!irq_probed[DEV_HWIF]) { |
DEV_HWIF | 1782 | drivers/block/ide.c | irq_probed[DEV_HWIF] = 1; |
DEV_HWIF | 1783 | drivers/block/ide.c | ide_irq[DEV_HWIF] = irqs; |
DEV_HWIF | 1825 | drivers/block/ide.c | if (IN_BYTE(HD_CURRENT,DEV_HWIF) != dev->select.all && !dev->present) { |
DEV_HWIF | 1830 | drivers/block/ide.c | if (OK_STAT(GET_STAT(DEV_HWIF),READY_STAT,BUSY_STAT) |
DEV_HWIF | 1837 | drivers/block/ide.c | dev->name, GET_STAT(DEV_HWIF)); |
DEV_HWIF | 1840 | drivers/block/ide.c | (void) GET_STAT(DEV_HWIF); /* ensure drive irq is clear */ |
DEV_HWIF | 1849 | drivers/block/ide.c | (void) GET_STAT(DEV_HWIF); /* ensure drive irq is clear */ |