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 | 1422 | drivers/block/ide.c | (char *) &loc->heads); |
heads | 1591 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
heads | 1660 | drivers/block/ide.c | dev->head = dev->bios_head = id->heads; |
heads | 1688 | drivers/block/ide.c | if ((!dev->head || dev->head > 16) && id->heads && id->heads <= 16) { |
heads | 1690 | 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_fs_byte(xd_info[dev].heads,(char *) &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 | 1467 | drivers/scsi/aha274x.c | int heads, sectors, cylinders; |
heads | 1474 | drivers/scsi/aha274x.c | heads = 64; |
heads | 1476 | drivers/scsi/aha274x.c | cylinders = disk->capacity / (heads * sectors); |
heads | 1479 | drivers/scsi/aha274x.c | heads = 255; |
heads | 1484 | drivers/scsi/aha274x.c | geom[0] = heads; |
heads | 847 | drivers/scsi/eata_dma.c | geometry.drv[0].heads = HEADS0; |
heads | 852 | drivers/scsi/eata_dma.c | geometry.drv[1].heads = HEADS1; |
heads | 377 | drivers/scsi/eata_dma.h | uint heads; /* number of heads */ |
heads | 1556 | drivers/scsi/fdomain.c | unsigned char heads; |
heads | 1611 | drivers/scsi/fdomain.c | info_array[0] = i->heads; |
heads | 1618 | drivers/scsi/fdomain.c | info_array[0] = i->heads + 1; |
heads | 167 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
heads | 173 | drivers/scsi/scsicam.c | heads = capacity / temp; /* Compute value for number of heads */ |
heads | 175 | drivers/scsi/scsicam.c | heads++; /* Else, increment number of heads */ |
heads | 176 | drivers/scsi/scsicam.c | temp = cylinders * heads; /* Compute divisor for sectors */ |
heads | 181 | drivers/scsi/scsicam.c | temp = heads * sectors; /* Compute divisor for cylinders */ |
heads | 189 | drivers/scsi/scsicam.c | *hds = (unsigned int) heads; |
heads | 41 | drivers/scsi/sd_ioctl.c | (char *) &loc->heads); |
heads | 1601 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
heads | 1638 | drivers/scsi/seagate.c | heads = (int) page[5]; |
heads | 1657 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
heads | 1668 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
heads | 1670 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
heads | 1673 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
heads | 1684 | drivers/scsi/seagate.c | ip[0] = heads; |
heads | 254 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 343 | drivers/scsi/u14-34f.c | unsigned char heads; |
heads | 427 | drivers/scsi/u14-34f.c | HD(j)->heads = mapping_table[config_2.mapping_mode].heads; |
heads | 794 | drivers/scsi/u14-34f.c | dkinfo[0] = HD(j)->heads; |
heads | 796 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
heads | 231 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 275 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 452 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
heads | 584 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
heads | 1005 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
heads | 1007 | 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 | 93 | 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); |