Home
last modified time | relevance | path

Searched refs:bs_factor (Results 1 – 2 of 2) sorted by relevance

/drivers/ide/
Dide-floppy.c195 int block = sector / floppy->bs_factor; in idefloppy_create_rw_cmd()
196 int blocks = blk_rq_sectors(rq) / floppy->bs_factor; in idefloppy_create_rw_cmd()
259 if (((long)blk_rq_pos(rq) % floppy->bs_factor) || in ide_floppy_do_request()
260 (blk_rq_sectors(rq) % floppy->bs_factor)) { in ide_floppy_do_request()
362 drive->capacity64 = floppy->blocks * floppy->bs_factor; in ide_floppy_get_flexible_disk_page()
386 floppy->bs_factor = 1; in ide_floppy_get_capacity()
439 floppy->bs_factor = length / 512; in ide_floppy_get_capacity()
440 if (floppy->bs_factor != 1) in ide_floppy_get_capacity()
446 floppy->blocks * floppy->bs_factor; in ide_floppy_get_capacity()
Dide-gd.h33 int blocks, block_size, bs_factor; member