taglinefilesource code
hwif284drivers/block/blk.hstatic void end_request(byte uptodate, byte hwif) {
hwif45drivers/block/ide-cd.c#define OUT_WORDS(b,n)  outsw (IDE_PORT (HD_DATA, dev->hwif), (b), (n))
hwif46drivers/block/ide-cd.c#define IN_WORDS(b,n)   insw  (IDE_PORT (HD_DATA, dev->hwif), (b), (n))
hwif168drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif179drivers/block/ide-cd.cend_request (uptodate, dev->hwif);
hwif189drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].nsectors_buffered = 0;
hwif197drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif201drivers/block/ide-cd.cstat = GET_STAT (dev->hwif);
hwif208drivers/block/ide-cd.cerr = IN_BYTE (HD_ERROR, dev->hwif);
hwif259drivers/block/ide-cd.cdump_status (dev->hwif, "packet command error", stat);
hwif345drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
hwif438drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif444drivers/block/ide-cd.cireason = IN_BYTE (HD_NSECTOR, dev->hwif);
hwif445drivers/block/ide-cd.clen = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif);
hwif540drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_read_intr;
hwif550drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
hwif551drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif613drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif678drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_read_intr;
hwif692drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif716drivers/block/ide-cd.cide_handler[dev->hwif] = (void (*)(ide_dev_t *))cdrom_start_read_continuation;
hwif736drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif743drivers/block/ide-cd.cireason = IN_BYTE (HD_NSECTOR, dev->hwif);
hwif744drivers/block/ide-cd.clen = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif);
hwif834drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_pc_intr;
hwif840drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif847drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_pc_intr;
hwif856drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif868drivers/block/ide-cd.cide_handler[dev->hwif] = (void (*)(ide_dev_t *))cdrom_do_pc_continuation;
hwif885drivers/block/ide-cd.cint major = ide_major[dev->hwif];
hwif930drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif1112drivers/block/ide-cd.cstruct atapi_toc *toc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1119drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].toc = toc;
hwif1323drivers/block/ide-cd.ctoc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1419drivers/block/ide-cd.ctoc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1636drivers/block/ide-cd.cide_capacity[dev->hwif][dev->select.b.drive] = 0x1fffff;
hwif1638drivers/block/ide-cd.cide_blksizes[dev->hwif][dev->select.b.drive << PARTN_BITS] = CD_FRAMESIZE;
hwif1660drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].toc               = NULL;
hwif1661drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].sector_buffer     = NULL;
hwif1662drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].sector_buffered   = 0;
hwif1663drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].nsectors_buffered = 0;
hwif222drivers/block/ide.c#define HWIF      hwif
hwif223drivers/block/ide.c#define DEV_HWIF    (dev->hwif)
hwif247drivers/block/ide.c#define IDE_PORT(p,hwif) ((p)^((hwif)<<7)) /* IDE0: p^0x00 , IDE1: p^0x80 */
hwif251drivers/block/ide.c#define IN_BYTE(p,hwif)    (byte)inb(IDE_PORT(p,hwif))
hwif254drivers/block/ide.c#define IN_BYTE(p,hwif)    (byte)inb_p(IDE_PORT(p,hwif))
hwif267drivers/block/ide.c#define GET_ERR(hwif)    IN_BYTE(HD_ERROR,hwif)
hwif268drivers/block/ide.c#define GET_STAT(hwif)    IN_BYTE(HD_STATUS,hwif)
hwif326drivers/block/ide.cbyte     hwif;      /* first field gets very fast access */
hwif438drivers/block/ide.cstatic void do_request (byte hwif);
hwif515drivers/block/ide.cstatic inline void start_ide_timer (byte hwif)
hwif612drivers/block/ide.cstatic byte dump_status (byte hwif, const char *msg, byte stat)
hwif712drivers/block/ide.c(void) IN_BYTE(HD_DATA, dev->hwif);
hwif715drivers/block/ide.cif (GET_STAT(dev->hwif) & (BUSY_STAT|DRQ_STAT))
hwif935drivers/block/ide.cstatic void timer_expiry (byte hwif)
hwif958drivers/block/ide.chwif = current_hwif;
hwif1123drivers/block/ide.cstatic void do_request (byte hwif)
hwif1132drivers/block/ide.ccurrent_hwif = hwif;  /* used *only* when single_threaded==1 */
hwif1139drivers/block/ide.cif (sharing_single_irq && (dev = ide_cur_dev[hwif])) /* disable irq */
hwif1141drivers/block/ide.crq = blk_dev[ide_major[hwif^=1]].current_request;
hwif1209drivers/block/ide.c#define DO_IDE_REQUEST(hwif)      \
hwif1211drivers/block/ide.cif (ide_handler[hwif] == NULL) {  \
hwif1212drivers/block/ide.cdisable_irq(ide_irq[hwif]);  \
hwif1213drivers/block/ide.cif (single_threaded && ide_irq[hwif] != ide_irq[hwif^1]) \
hwif1214drivers/block/ide.cdisable_irq(ide_irq[hwif^1]); \
hwif1215drivers/block/ide.cdo_request(hwif);    \
hwif1217drivers/block/ide.cstart_ide_timer(hwif);    \
hwif1218drivers/block/ide.cenable_irq(ide_irq[hwif]);  \
hwif1219drivers/block/ide.cif (single_threaded && ide_irq[hwif] != ide_irq[hwif^1]) \
hwif1220drivers/block/ide.cenable_irq(ide_irq[hwif^1]); \
hwif1259drivers/block/ide.cstatic void unexpected_intr (byte hwif)
hwif1265drivers/block/ide.coutb_p(2,IDE_PORT(HD_CMD,hwif));  /* disable device irq */
hwif1267drivers/block/ide.cif (single_threaded && ide_irq[hwif] == ide_irq[hwif^1]) {
hwif1268drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(hwif^1), DRIVE_READY, BAD_STAT))
hwif1269drivers/block/ide.c(void) dump_status(hwif^1, "unexpected_intr", stat);
hwif1270drivers/block/ide.coutb_p(2,IDE_PORT(HD_CMD,hwif^1));  /* disable device irq */
hwif1280drivers/block/ide.c#define IDE_INTR(hwif)          \
hwif1285drivers/block/ide.ctimer_active &= ~ide_timerbit[hwif];    \
hwif1286drivers/block/ide.cif ((handler = ide_handler[hwif]) != NULL) {  \
hwif1287drivers/block/ide.cide_handler[hwif] = NULL;    \
hwif1288drivers/block/ide.cdev = ide_cur_dev[hwif];    \
hwif1293drivers/block/ide.cunexpected_intr(hwif);      \
hwif1301drivers/block/ide.cbyte hwif = (irq != ide_irq[0]);
hwif1332drivers/block/ide.cbyte hwif = (irq != ide_irq[0]);
hwif2025drivers/block/ide.cstatic void probe_for_drives (byte hwif)
hwif2062drivers/block/ide.cint i, hwif, drive = next_drive++;
hwif2071drivers/block/ide.chwif = (drive > 1);
hwif2072drivers/block/ide.cprintk("%s: ", ide_name[hwif]);
hwif2078drivers/block/ide.cprintk("%s: ", ide_devname[hwif][drive]);
hwif2079drivers/block/ide.cif (!SUPPORT_TWO_INTERFACES && hwif != HWIF) {
hwif2083drivers/block/ide.cdev = &ide_dev[hwif][drive];
hwif2196drivers/block/ide.cstatic void init_ide_data (byte hwif)
hwif2201drivers/block/ide.cide_blksizes[hwif][drive] = 1024;
hwif2202drivers/block/ide.cblksize_size[ide_major[hwif]] = ide_blksizes[hwif];
hwif2206drivers/block/ide.cide_dev_t *dev = &ide_dev[hwif][drive];
hwif2208drivers/block/ide.cdev->hwif      = hwif;
hwif2223drivers/block/ide.cide_hd[hwif][drive<<PARTN_BITS].start_sect = 0;
hwif2224drivers/block/ide.cdev->name = ide_devname[hwif][drive];
hwif2234drivers/block/ide.cstatic byte setup_irq (byte hwif)
hwif2270drivers/block/ide.cstatic void ide_geninit(byte hwif)
hwif2366drivers/block/ide.cbyte hwif;
hwif2373drivers/block/ide.cfor (hwif = 0; hwif < 2; hwif++) {
hwif2374drivers/block/ide.cinit_ide_data (hwif);
hwif2375drivers/block/ide.cif (SUPPORT_TWO_INTERFACES || hwif == HWIF) {
hwif2376drivers/block/ide.cif (hwif == 0)
hwif2383drivers/block/ide.cprobe_for_drives (hwif);
hwif2415drivers/block/ide.cfor (hwif = 2; hwif-- > 0;) {
hwif2416drivers/block/ide.cif (ide_gendisk[hwif].nr_real != 0 && !setup_irq(hwif)) {