Lines Matching refs:heads
50 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
167 * number of heads and maximizes the number of cylinders. This
168 * will support rather large disks before the number of heads
179 unsigned long heads, sectors, cylinders, temp;
184 temp = cylinders * sectors; /* Compute divisor for heads */
185 heads = capacity / temp; /* Compute value for number of heads */
187 heads++; /* Else, increment number of heads */
188 temp = cylinders * heads; /* Compute divisor for sectors */
193 temp = heads * sectors; /* Compute divisor for cylinders */
202 *hds = (unsigned int) heads;
207 * scsicam_bios_param - Determine geometry of a disk in cylinders/heads/sectors.
210 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders