Lines Matching full:heads
87 orig_dev->heads != dev->heads || in compare_geom()
184 #define HEADS(floppy) floppy.fg.heads macro
291 #define HEADS(floppy) (floppy).dp_heads macro
418 #define HEADS(floppy) floppy.fdchar.fdc_nhead macro
532 #define HEADS(floppy) floppy.dkbuf.nhead macro
762 #define HEADS(floppy) floppy.head macro
832 uint16_t heads=dev->heads; in get_block_geom() local
856 if(!heads) in get_block_geom()
857 heads = geom.heads; in get_block_geom()
861 sect_per_track = heads * sectors; in get_block_geom()
873 dev->heads = heads; in get_block_geom()
964 SET_INT(gdbuf.params.heads,dev->nheads); in init_geom()
967 dev->nheads = gdbuf.params.heads; in init_geom()
972 gdbuf.params.pseccyl = gdbuf.params.psectrk * gdbuf.params.heads; in init_geom()
1131 * the number of heads and sectors must match exactly, to avoid in init_geom()
1141 if(compare(dev->heads, HEADS(floppy))){ in init_geom()
1142 HEADS(floppy) = dev->heads; in init_geom()
1145 dev->heads = (uint16_t) HEADS(floppy); in init_geom()
1173 SECTORS_PER_TRACK(floppy) = dev->sectors * dev->heads; in init_geom()
1177 SECTORS_PER_DISK(floppy) = dev->sectors * dev->heads * dev->tracks; in init_geom()