taglinefilesource code
hwif284drivers/block/blk.hstatic void end_request(byte uptodate, byte hwif) {
hwif44drivers/block/ide-cd.c#define OUT_WORDS(b,n)  outsw (IDE_PORT (HD_DATA, dev->hwif), (b), (n))
hwif45drivers/block/ide-cd.c#define IN_WORDS(b,n)   insw  (IDE_PORT (HD_DATA, dev->hwif), (b), (n))
hwif163drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif174drivers/block/ide-cd.cend_request (uptodate, dev->hwif);
hwif184drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].nsectors_buffered = 0;
hwif192drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif196drivers/block/ide-cd.cstat = GET_STAT (dev->hwif);
hwif203drivers/block/ide-cd.cerr = IN_BYTE (HD_ERROR, dev->hwif);
hwif254drivers/block/ide-cd.cdump_status (dev->hwif, "packet command error", stat);
hwif340drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
hwif433drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif439drivers/block/ide-cd.cireason = IN_BYTE (HD_NSECTOR, dev->hwif);
hwif440drivers/block/ide-cd.clen = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif);
hwif535drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_read_intr;
hwif545drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
hwif546drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif608drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif673drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_read_intr;
hwif687drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif711drivers/block/ide-cd.cide_handler[dev->hwif] = (void (*)(ide_dev_t *))cdrom_start_read_continuation;
hwif731drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif738drivers/block/ide-cd.cireason = IN_BYTE (HD_NSECTOR, dev->hwif);
hwif739drivers/block/ide-cd.clen = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif);
hwif829drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_pc_intr;
hwif835drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif842drivers/block/ide-cd.cide_handler[dev->hwif] = cdrom_pc_intr;
hwif851drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif863drivers/block/ide-cd.cide_handler[dev->hwif] = (void (*)(ide_dev_t *))cdrom_do_pc_continuation;
hwif880drivers/block/ide-cd.cint major = ide_major[dev->hwif];
hwif925drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
hwif1107drivers/block/ide-cd.cstruct atapi_toc *toc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1114drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].toc = toc;
hwif1318drivers/block/ide-cd.ctoc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1414drivers/block/ide-cd.ctoc = cdrom_info[dev->hwif][dev->select.b.drive].toc;
hwif1631drivers/block/ide-cd.cide_capacity[dev->hwif][dev->select.b.drive] = 0x1fffff;
hwif1633drivers/block/ide-cd.cide_blksizes[dev->hwif][dev->select.b.drive << PARTN_BITS] = CD_FRAMESIZE;
hwif1655drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].toc               = NULL;
hwif1656drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].sector_buffer     = NULL;
hwif1657drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].sector_buffered   = 0;
hwif1658drivers/block/ide-cd.ccdrom_info[dev->hwif][dev->select.b.drive].nsectors_buffered = 0;
hwif198drivers/block/ide.c#define HWIF      hwif
hwif199drivers/block/ide.c#define DEV_HWIF    (dev->hwif)
hwif217drivers/block/ide.c#define IDE_PORT(p,hwif) ((p)^((hwif)<<7)) /* IDE0: p^0x00 , IDE1: p^0x80 */
hwif221drivers/block/ide.c#define IN_BYTE(p,hwif)    (byte)inb(IDE_PORT(p,hwif))
hwif224drivers/block/ide.c#define IN_BYTE(p,hwif)    (byte)inb_p(IDE_PORT(p,hwif))
hwif235drivers/block/ide.c#define GET_ERR(hwif)    IN_BYTE(HD_ERROR,hwif)
hwif236drivers/block/ide.c#define GET_STAT(hwif)    IN_BYTE(HD_STATUS,hwif)
hwif292drivers/block/ide.cbyte     hwif;      /* first field gets very fast access */
hwif401drivers/block/ide.cstatic void do_request (byte hwif);
hwif434drivers/block/ide.cstatic inline void start_ide_timer (byte hwif)
hwif531drivers/block/ide.cstatic byte dump_status (byte hwif, const char *msg, byte stat)
hwif631drivers/block/ide.c(void) IN_BYTE(HD_DATA, dev->hwif);
hwif634drivers/block/ide.cif (GET_STAT(dev->hwif) & (BUSY_STAT|DRQ_STAT))
hwif854drivers/block/ide.cstatic void timer_expiry (byte hwif)
hwif873drivers/block/ide.chwif = current_hwif;
hwif1034drivers/block/ide.cstatic void do_request (byte hwif)
hwif1043drivers/block/ide.ccurrent_hwif = hwif;  /* used *only* when sharing_single_irq==1 */
hwif1050drivers/block/ide.cif ((dev = ide_cur_dev[hwif])) /* disable irq */
hwif1052drivers/block/ide.crq = blk_dev[ide_major[hwif^=1]].current_request;
hwif1120drivers/block/ide.c#define DO_IDE_REQUEST(hwif)      \
hwif1122drivers/block/ide.cif (ide_handler[hwif] == NULL) {  \
hwif1123drivers/block/ide.cdisable_irq(ide_irq[hwif]);  \
hwif1124drivers/block/ide.cdo_request(hwif);    \
hwif1126drivers/block/ide.cstart_ide_timer(hwif);    \
hwif1127drivers/block/ide.cenable_irq(ide_irq[hwif]);  \
hwif1166drivers/block/ide.cstatic void unexpected_intr (byte hwif)
hwif1174drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(hwif^1), DRIVE_READY, BAD_STAT))
hwif1175drivers/block/ide.c(void) dump_status(hwif^1, "unexpected_intr", stat);
hwif1185drivers/block/ide.c#define IDE_INTR(hwif)          \
hwif1190drivers/block/ide.ctimer_active &= ~ide_timerbit[hwif];    \
hwif1191drivers/block/ide.cif ((handler = ide_handler[hwif]) != NULL) {  \
hwif1192drivers/block/ide.cide_handler[hwif] = NULL;    \
hwif1193drivers/block/ide.cdev = ide_cur_dev[hwif];    \
hwif1198drivers/block/ide.cunexpected_intr(hwif);      \
hwif1200drivers/block/ide.cstart_ide_timer(hwif);        \
hwif1226drivers/block/ide.cbyte hwif = (irq != ide_irq[0]);
hwif1898drivers/block/ide.cstatic void probe_for_drives (byte hwif)
hwif1935drivers/block/ide.cint i, hwif, drive = next_drive++;
hwif1944drivers/block/ide.chwif = (drive > 1);
hwif1945drivers/block/ide.cprintk("%s: ", ide_name[hwif]);
hwif1951drivers/block/ide.cprintk("%s: ", ide_devname[hwif][drive]);
hwif1952drivers/block/ide.cif (!SUPPORT_TWO_INTERFACES && hwif != HWIF) {
hwif1956drivers/block/ide.cdev = &ide_dev[hwif][drive];
hwif2055drivers/block/ide.cstatic void init_ide_data (byte hwif)
hwif2060drivers/block/ide.cide_blksizes[hwif][drive] = 1024;
hwif2061drivers/block/ide.cblksize_size[ide_major[hwif]] = ide_blksizes[hwif];
hwif2065drivers/block/ide.cide_dev_t *dev = &ide_dev[hwif][drive];
hwif2067drivers/block/ide.cdev->hwif      = hwif;
hwif2080drivers/block/ide.cide_hd[hwif][drive<<PARTN_BITS].start_sect = 0;
hwif2081drivers/block/ide.cdev->name = ide_devname[hwif][drive];
hwif2091drivers/block/ide.cstatic byte setup_irq (byte hwif)
hwif2120drivers/block/ide.cstatic void ide_geninit(byte hwif)
hwif2168drivers/block/ide.cbyte hwif;
hwif2170drivers/block/ide.cfor (hwif = 0; hwif < 2; hwif++) {
hwif2171drivers/block/ide.cinit_ide_data (hwif);
hwif2172drivers/block/ide.cif (SUPPORT_TWO_INTERFACES || hwif == HWIF) {
hwif2173drivers/block/ide.cif (hwif == 0)
hwif2180drivers/block/ide.cprobe_for_drives (hwif);
hwif2211drivers/block/ide.cfor (hwif = 2; hwif-- > 0;) {
hwif2212drivers/block/ide.cif (ide_gendisk[hwif].nr_real != 0 && !setup_irq(hwif)) {