tag | line | file | source code |
heads | 318 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
heads | 798 | drivers/block/hd.c | (char *) &loc->heads); |
heads | 1513 | drivers/block/ide.c | (char *) &loc->heads); |
heads | 1698 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
heads | 1777 | drivers/block/ide.c | dev->head = dev->bios_head = id->heads; |
heads | 1808 | drivers/block/ide.c | if ((!dev->head || dev->head > 16) && id->heads && id->heads <= 16) { |
heads | 1810 | drivers/block/ide.c | dev->head = id->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 | 249 | drivers/block/xd.c | put_user(xd_info[dev].heads, &geometry->heads); |
heads | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
heads | 339 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
heads | 340 | drivers/block/xd.c | cylinder = track / xd_info[drive].heads; |
heads | 544 | drivers/block/xd.c | xd_info[drive].heads = buf[0x0A]; /* heads */ |
heads | 554 | 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 | 588 | drivers/block/xd.c | xd_info[drive].heads = buf[0x1AF]; /* heads */ |
heads | 598 | 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 | 627 | drivers/block/xd.c | xd_info[drive].heads = buf[0x04]; /* heads */ |
heads | 682 | drivers/block/xd.c | xd_info[drive].heads = (u_char) min[0] + 1; |
heads | 702 | 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 | 709 | drivers/block/xd.c | cmdblk[8] = heads & 0x1F; |
heads | 3852 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
heads | 3862 | drivers/scsi/aic7xxx.c | heads = 64; |
heads | 3864 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
heads | 3868 | drivers/scsi/aic7xxx.c | heads = 255; |
heads | 3873 | drivers/scsi/aic7xxx.c | geom[0] = heads; |
heads | 14 | drivers/scsi/eata_dma_proc.h | __u8 heads; |
heads | 354 | drivers/scsi/eata_generic.h | __u32 heads; /* number of heads */ |
heads | 1763 | drivers/scsi/fdomain.c | unsigned char heads; |
heads | 1829 | drivers/scsi/fdomain.c | info_array[0] = i->heads; |
heads | 1836 | drivers/scsi/fdomain.c | info_array[0] = i->heads + 1; |
heads | 181 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
heads | 187 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
heads | 189 | drivers/scsi/scsicam.c | heads++; /* Else, increment number of heads */ |
heads | 190 | drivers/scsi/scsicam.c | temp = cylinders * heads; /* Compute divisor for sectors */ |
heads | 195 | drivers/scsi/scsicam.c | temp = heads * sectors; /* Compute divisor for cylinders */ |
heads | 203 | drivers/scsi/scsicam.c | *hds = (unsigned int) heads; |
heads | 46 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[0], &loc->heads); |
heads | 1606 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
heads | 1643 | drivers/scsi/seagate.c | heads = (int) page[5]; |
heads | 1662 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
heads | 1673 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
heads | 1675 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
heads | 1678 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
heads | 1689 | drivers/scsi/seagate.c | ip[0] = heads; |
heads | 270 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 359 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 454 | drivers/scsi/u14-34f.c | HD(j)->heads = mapping_table[config_2.mapping_mode].heads; |
heads | 826 | drivers/scsi/u14-34f.c | dkinfo[0] = HD(j)->heads; |
heads | 828 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
heads | 235 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 279 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 456 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
heads | 588 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
heads | 1009 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
heads | 1011 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
heads | 255 | fs/msdos/inode.c | !b->heads; |
heads | 160 | include/linux/cdrom.h | u_char heads; /* #heads */ |
heads | 68 | include/linux/hdreg.h | unsigned char heads; |
heads | 97 | include/linux/hdreg.h | unsigned short heads; /* "physical" heads */ |
heads | 77 | 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 | 136 | 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); |