tag | line | file | source code |
HWIF | 285 | drivers/block/blk.h | struct request *req = ide_cur_rq[HWIF]; |
HWIF | 319 | drivers/block/blk.h | ide_cur_rq[HWIF] = NULL; |
HWIF | 210 | drivers/block/ide.c | #define DEV_HWIF HWIF |
HWIF | 436 | drivers/block/ide.c | if (ide_handler[HWIF] != NULL) { /* waiting for an irq? */ |
HWIF | 437 | drivers/block/ide.c | timer_table[ide_timer[HWIF]].expires = jiffies + WAIT_CMD; |
HWIF | 438 | drivers/block/ide.c | timer_active |= ide_timerbit[HWIF]; |
HWIF | 535 | drivers/block/ide.c | ide_dev_t *dev = ide_cur_dev[HWIF]; |
HWIF | 536 | drivers/block/ide.c | const char *name = dev ? dev->name : ide_name[HWIF]; |
HWIF | 560 | drivers/block/ide.c | err = GET_ERR(HWIF); |
HWIF | 573 | drivers/block/ide.c | byte cur = IN_BYTE(HD_CURRENT,HWIF); |
HWIF | 577 | drivers/block/ide.c | |(IN_BYTE(HD_HCYL,HWIF)<<16) |
HWIF | 578 | drivers/block/ide.c | |(IN_BYTE(HD_LCYL,HWIF)<<8) |
HWIF | 579 | drivers/block/ide.c | | IN_BYTE(HD_SECTOR,HWIF)); |
HWIF | 582 | drivers/block/ide.c | (IN_BYTE(HD_HCYL,HWIF)<<8) + |
HWIF | 583 | drivers/block/ide.c | IN_BYTE(HD_LCYL,HWIF), |
HWIF | 585 | drivers/block/ide.c | IN_BYTE(HD_SECTOR,HWIF)); |
HWIF | 587 | drivers/block/ide.c | if (ide_cur_rq[HWIF]) |
HWIF | 588 | drivers/block/ide.c | printk(", sector=%ld", ide_cur_rq[HWIF]->sector); |
HWIF | 861 | drivers/block/ide.c | if (ide_handler[HWIF] == NULL || (timer_active & ide_timerbit[HWIF])) { |
HWIF | 864 | drivers/block/ide.c | printk("%s: marginal timeout\n", ide_name[HWIF]); |
HWIF | 866 | drivers/block/ide.c | ide_handler[HWIF] = NULL; |
HWIF | 867 | drivers/block/ide.c | disable_irq(ide_irq[HWIF]); |
HWIF | 869 | drivers/block/ide.c | ide_error(ide_cur_dev[HWIF], "timeout", GET_STAT(HWIF)); |
HWIF | 870 | drivers/block/ide.c | do_request(HWIF); |
HWIF | 876 | drivers/block/ide.c | start_ide_timer(HWIF); |
HWIF | 877 | drivers/block/ide.c | enable_irq(ide_irq[HWIF]); |
HWIF | 1045 | drivers/block/ide.c | if ((rq = ide_cur_rq[HWIF]) == NULL) { |
HWIF | 1046 | drivers/block/ide.c | rq = blk_dev[ide_major[HWIF]].current_request; |
HWIF | 1059 | drivers/block/ide.c | blk_dev[ide_major[HWIF]].current_request = rq->next; |
HWIF | 1060 | drivers/block/ide.c | ide_cur_rq[HWIF] = rq; |
HWIF | 1063 | drivers/block/ide.c | printk("%s: do_request: current=0x%08lx\n",ide_name[HWIF],(unsigned long)rq); |
HWIF | 1067 | drivers/block/ide.c | ide_cur_dev[HWIF] = dev = &ide_dev[HWIF][drive]; |
HWIF | 1068 | drivers/block/ide.c | if ((MAJOR(rq->dev) != ide_major[HWIF]) || (drive >= MAX_DRIVES)) { |
HWIF | 1069 | drivers/block/ide.c | printk("%s: bad device number: 0x%04x\n", ide_name[HWIF], rq->dev); |
HWIF | 1070 | drivers/block/ide.c | end_request(0, HWIF); |
HWIF | 1074 | drivers/block/ide.c | printk("%s: block not locked\n", ide_name[HWIF]); |
HWIF | 1075 | drivers/block/ide.c | end_request(0, HWIF); |
HWIF | 1080 | drivers/block/ide.c | if ((blockend < block) || (blockend > ide_hd[HWIF][minor].nr_sects)) { |
HWIF | 1083 | drivers/block/ide.c | end_request(0, HWIF); |
HWIF | 1086 | drivers/block/ide.c | block += ide_hd[HWIF][minor].start_sect; |
HWIF | 1088 | drivers/block/ide.c | while ((read_timer() - ide_lastreq[HWIF]) < DISK_RECOVERY_TIME); |
HWIF | 1145 | drivers/block/ide.c | DO_IDE_REQUEST(HWIF); |
HWIF | 1170 | drivers/block/ide.c | if (!OK_STAT(stat=GET_STAT(HWIF), DRIVE_READY, BAD_STAT)) |
HWIF | 1171 | drivers/block/ide.c | (void) dump_status(HWIF, "unexpected_intr", stat); |
HWIF | 1228 | drivers/block/ide.c | IDE_INTR(HWIF); |
HWIF | 1900 | drivers/block/ide.c | ide_dev_t *devs = &ide_dev[HWIF][0]; /* for convenience */ |
HWIF | 1902 | drivers/block/ide.c | if (check_region(IDE_PORT(HD_DATA,HWIF),8) |
HWIF | 1903 | drivers/block/ide.c | || check_region(IDE_PORT(HD_CMD,HWIF),1)) |
HWIF | 1907 | drivers/block/ide.c | printk("%s: port(s) already in use\n", ide_name[HWIF]); |
HWIF | 1922 | drivers/block/ide.c | request_region(IDE_PORT(HD_DATA,HWIF),8,ide_name[HWIF]); |
HWIF | 1923 | drivers/block/ide.c | request_region(IDE_PORT(HD_CMD,HWIF),1,ide_name[HWIF]); |
HWIF | 1952 | drivers/block/ide.c | if (!SUPPORT_TWO_INTERFACES && hwif != HWIF) { |
HWIF | 1986 | drivers/block/ide.c | ide_irq[HWIF] = ints[5]; |
HWIF | 1987 | drivers/block/ide.c | ide_capacity[HWIF][drive] = BIOS_SECTORS(dev); |
HWIF | 2096 | drivers/block/ide.c | void (*handler)(int, struct pt_regs *) = HWIF ? &ide1_intr : &ide0_intr; |
HWIF | 2100 | drivers/block/ide.c | if (HWIF != 0 && !rc) { /* IRQ already allocated? */ |
HWIF | 2109 | drivers/block/ide.c | if ((rc = request_irq(ide_irq[HWIF],handler,SA_INTERRUPT,ide_name[HWIF]))) |
HWIF | 2116 | drivers/block/ide.c | ide_name[HWIF], primary_secondary[HWIF], ide_irq[HWIF], msg); |
HWIF | 2125 | drivers/block/ide.c | ide_dev_t *dev = &ide_dev[HWIF][drive]; |
HWIF | 2127 | drivers/block/ide.c | ide_hd[HWIF][drive<<PARTN_BITS].nr_sects = ide_capacity[HWIF][drive]; |
HWIF | 2130 | drivers/block/ide.c | ide_hd[HWIF][drive<<PARTN_BITS].start_sect = -1; |
HWIF | 2172 | drivers/block/ide.c | if (SUPPORT_TWO_INTERFACES || hwif == HWIF) { |
HWIF | 2213 | drivers/block/ide.c | const char *name = ide_name[HWIF]; |
HWIF | 2214 | drivers/block/ide.c | unsigned int major = ide_major[HWIF]; |
HWIF | 2218 | drivers/block/ide.c | timer_table[ide_timer[HWIF]].fn |
HWIF | 2219 | drivers/block/ide.c | = HWIF ? ide1_timer_expiry : ide0_timer_expiry; |
HWIF | 2226 | drivers/block/ide.c | HWIF ? &do_ide1_request : &do_ide0_request; |
HWIF | 2228 | drivers/block/ide.c | ide_gendisk[HWIF].next = gendisk_head; |
HWIF | 2229 | drivers/block/ide.c | gendisk_head = &ide_gendisk[HWIF]; |