taglinefilesource code
drive558kernel/blk_drv/floppy.cint drive = MINOR(CURRENT->dev);
drive560kernel/blk_drv/floppy.cif (ftd_msg[drive])
drive562kernel/blk_drv/floppy.cfloppy->name,drive);
drive563kernel/blk_drv/floppy.ccurrent_type[drive] = floppy;
drive564kernel/blk_drv/floppy.cfloppy_sizes[drive] = floppy->size >> 1;
drive1005kernel/blk_drv/floppy.cint drive,cnt,okay;
drive1012kernel/blk_drv/floppy.cdrive = MINOR(inode->i_rdev);
drive1018kernel/blk_drv/floppy.cfake_change |= 1 << (drive & 3);
drive1020kernel/blk_drv/floppy.cdrive &= 3;
drive1024kernel/blk_drv/floppy.cif (drive > 3) this = &floppy_type[drive >> 2];
drive1025kernel/blk_drv/floppy.celse if ((this = current_type[drive & 3]) == NULL)
drive1039kernel/blk_drv/floppy.cformat_req.device = drive;
drive1059kernel/blk_drv/floppy.cif (drive < 0 || drive > 3) return -EINVAL;
drive1062kernel/blk_drv/floppy.ccurrent_type[drive] = NULL;
drive1063kernel/blk_drv/floppy.cfloppy_sizes[drive] = MAX_DISK_SIZE;
drive1064kernel/blk_drv/floppy.ckeep_data[drive] = 0;
drive1069kernel/blk_drv/floppy.c((char *) &user_params[drive])[cnt] =
drive1071kernel/blk_drv/floppy.ccurrent_type[drive] = &user_params[drive];
drive1072kernel/blk_drv/floppy.cfloppy_sizes[drive] = user_params[drive].size >> 1;
drive1073kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
drive1079kernel/blk_drv/floppy.coutb_p((current_DOR & 0xfc) | drive |
drive1080kernel/blk_drv/floppy.c(0x10 << drive),FD_DOR);
drive1082kernel/blk_drv/floppy.ckeep_data[drive] = (inb(FD_DIR) & 0x80) ? 1 : 0;
drive1089kernel/blk_drv/floppy.cftd_msg[drive] = 1;
drive1092kernel/blk_drv/floppy.cftd_msg[drive] = 0;
drive1095kernel/blk_drv/floppy.cmin_report_error_cnt[drive] = (unsigned short) (param & 0x0f);
drive1108kernel/blk_drv/floppy.cstatic struct floppy_struct *find_base(int drive,int code)
drive1114kernel/blk_drv/floppy.cprintk("fd%d is %s",drive,base->name);
drive1117kernel/blk_drv/floppy.cprintk("fd%d is unknown type %d",drive,code);
drive1142kernel/blk_drv/floppy.cint drive;
drive1145kernel/blk_drv/floppy.cdrive = inode->i_rdev & 3;
drive1146kernel/blk_drv/floppy.cold_dev = fd_device[drive];
drive1147kernel/blk_drv/floppy.cif (fd_ref[drive])
drive1150kernel/blk_drv/floppy.cfd_ref[drive]++;
drive1151kernel/blk_drv/floppy.cfd_device[drive] = inode->i_rdev;
drive154kernel/blk_drv/genhd.cint drive;
drive162kernel/blk_drv/genhd.cfor (drive=0 ; drive<dev->nr_real ; drive++) {
drive163kernel/blk_drv/genhd.ccurrent_minor = 1+(drive<<dev->minor_shift);
drive164kernel/blk_drv/genhd.ccheck_partition(dev, major+(drive<<dev->minor_shift));
drive129kernel/blk_drv/hd.cstatic void hd_out(unsigned int drive,unsigned int nsect,unsigned int sect,
drive135kernel/blk_drv/hd.cif (drive>1 || head>15)
drive146kernel/blk_drv/hd.coutb_p(hd_info[drive].ctl,HD_CMD);
drive148kernel/blk_drv/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
drive153kernel/blk_drv/hd.coutb_p(0xA0|(drive<<4)|head,++port);
drive503kernel/blk_drv/hd.cint drive;
drive509kernel/blk_drv/hd.cfor (drive=0 ; drive<2 ; drive++) {
drive510kernel/blk_drv/hd.chd_info[drive].cyl = *(unsigned short *) BIOS;
drive511kernel/blk_drv/hd.chd_info[drive].head = *(unsigned char *) (2+BIOS);
drive512kernel/blk_drv/hd.chd_info[drive].wpcom = *(unsigned short *) (5+BIOS);
drive513kernel/blk_drv/hd.chd_info[drive].ctl = *(unsigned char *) (8+BIOS);
drive514kernel/blk_drv/hd.chd_info[drive].lzone = *(unsigned short *) (12+BIOS);
drive515kernel/blk_drv/hd.chd_info[drive].sect = *(unsigned char *) (14+BIOS);