Lines Matching refs:floppy
191 struct fd_drive_type *type; /* type of floppy for this unit */
192 struct fd_data_type *dtype; /* type of floppy for this unit */
306 /* floppy internal millisecond timer stuff */
1382 printk (KERN_NOTICE "floppy disk write protected\n");
1407 printk (KERN_NOTICE "floppy disk write protected "
1458 static blk_status_t amiflop_rw_cur_segment(struct amiga_floppy_struct *floppy,
1461 int drive = floppy - unit;
1472 track = block / (floppy->dtype->sects * floppy->type->sect_mult);
1473 sector = block % (floppy->dtype->sects * floppy->type->sect_mult);
1484 memcpy(data, floppy->trackbuf + sector * 512, 512);
1486 memcpy(floppy->trackbuf + sector * 512, data, 512);
1495 floppy->dirty = 1;
1508 struct amiga_floppy_struct *floppy = rq->rq_disk->private_data;
1517 err = amiflop_rw_cur_segment(floppy, rq);
1730 * here, sleep etc. Note that floppy-on tries to set current_DOR to point
1930 .name = "amiga-floppy",
1954 __setup("floppy=", amiga_floppy_setup);
1957 MODULE_ALIAS("platform:amiga-floppy");