tag | line | file | source code |
heads | 298 | drivers/block/genhd.c | unsigned int heads = q->end_head + 1; |
heads | 299 | drivers/block/genhd.c | if (heads == 32 || heads == 64 || heads == 128) { |
heads | 301 | drivers/block/genhd.c | (void) ide_xlate_1024(dev, heads, " [PTBL]"); |
heads | 316 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
heads | 797 | drivers/block/hd.c | (char *) &loc->heads); |
heads | 477 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
heads | 1910 | drivers/block/ide.c | put_user(drive->bios_head, (byte *) &loc->heads); |
heads | 2250 | drivers/block/ide.c | drive->head = drive->bios_head = id->heads; |
heads | 2281 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && id->heads && id->heads <= 16) { |
heads | 2283 | drivers/block/ide.c | drive->head = id->heads; |
heads | 2859 | drivers/block/ide.c | const byte *heads = head_vals; |
heads | 2872 | drivers/block/ide.c | drive->head = drive->id->heads; |
heads | 2887 | drivers/block/ide.c | drive->bios_head = *heads; |
heads | 2889 | drivers/block/ide.c | if (0 == *++heads) |
heads | 312 | drivers/block/md.c | put_user (2, (char *) &loc->heads); |
heads | 169 | drivers/block/xd.c | printk("xd_geninit: drive %d geometry - heads = %d, cylinders = %d, sectors = %d\n",i,xd_info[i].heads,xd_info[i].cylinders,xd_info[i].sectors); |
heads | 182 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
heads | 251 | drivers/block/xd.c | put_user(xd_info[dev].heads, &geometry->heads); |
heads | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
heads | 349 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
heads | 350 | drivers/block/xd.c | cylinder = track / xd_info[drive].heads; |
heads | 554 | drivers/block/xd.c | xd_info[drive].heads = buf[0x0A]; /* heads */ |
heads | 564 | drivers/block/xd.c | xd_setparam(CMD_DTCSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf + 1))[0x05],((u_short *) (buf + 1))[0x06],buf[0x0F]); |
heads | 598 | drivers/block/xd.c | xd_info[drive].heads = buf[0x1AF]; /* heads */ |
heads | 608 | drivers/block/xd.c | xd_setparam(CMD_WDSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf))[0xD8],((u_short *) (buf))[0xDA],buf[0x1B4]); |
heads | 637 | drivers/block/xd.c | xd_info[drive].heads = buf[0x04]; /* heads */ |
heads | 692 | drivers/block/xd.c | xd_info[drive].heads = (u_char) min[0] + 1; |
heads | 712 | drivers/block/xd.c | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc) |
heads | 719 | drivers/block/xd.c | cmdblk[8] = heads & 0x1F; |
heads | 4586 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
heads | 4596 | drivers/scsi/aic7xxx.c | heads = 64; |
heads | 4598 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
heads | 4602 | drivers/scsi/aic7xxx.c | heads = 255; |
heads | 4607 | drivers/scsi/aic7xxx.c | geom[0] = heads; |
heads | 14 | drivers/scsi/eata_dma_proc.h | __u8 heads; |
heads | 369 | drivers/scsi/eata_generic.h | __u32 heads; /* number of heads */ |
heads | 1877 | drivers/scsi/fdomain.c | unsigned char heads; |
heads | 1943 | drivers/scsi/fdomain.c | info_array[0] = i->heads; |
heads | 1950 | drivers/scsi/fdomain.c | info_array[0] = i->heads + 1; |
heads | 190 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
heads | 196 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
heads | 198 | drivers/scsi/scsicam.c | heads++; /* Else, increment number of heads */ |
heads | 199 | drivers/scsi/scsicam.c | temp = cylinders * heads; /* Compute divisor for sectors */ |
heads | 204 | drivers/scsi/scsicam.c | temp = heads * sectors; /* Compute divisor for cylinders */ |
heads | 212 | drivers/scsi/scsicam.c | *hds = (unsigned int) heads; |
heads | 57 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[0], &loc->heads); |
heads | 1640 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
heads | 1677 | drivers/scsi/seagate.c | heads = (int) page[5]; |
heads | 1696 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
heads | 1707 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
heads | 1709 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
heads | 1712 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
heads | 1723 | drivers/scsi/seagate.c | ip[0] = heads; |
heads | 276 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 365 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 460 | drivers/scsi/u14-34f.c | HD(j)->heads = mapping_table[config_2.mapping_mode].heads; |
heads | 835 | drivers/scsi/u14-34f.c | dkinfo[0] = HD(j)->heads; |
heads | 837 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
heads | 241 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 285 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 462 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
heads | 594 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
heads | 1016 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
heads | 1018 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
heads | 254 | fs/fat/inode.c | || !b->secs_track || !b->heads; |
heads | 391 | include/linux/cdrom.h | u_char heads; /* #heads */ |
heads | 79 | include/linux/hdreg.h | unsigned char heads; |
heads | 110 | include/linux/hdreg.h | unsigned short heads; /* "physical" heads */ |
heads | 109 | include/linux/msdos_fs.h | __u16 heads; /* number of heads */ |
heads | 82 | include/linux/xd.h | u_char heads; |
heads | 92 | include/linux/xd.h | u_char heads; |
heads | 135 | include/linux/xd.h | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc); |