Searched refs:n_hd (Results 1 – 1 of 1) sorted by relevance
5563 BYTE *pte, hd, n_hd, sc, n_sc; local5571 for (n_hd = 8; n_hd != 0 && sz_drv32 / n_hd / n_sc > 1024; n_hd *= 2) ;5572 if (n_hd == 0) n_hd = 255; /* Number of heads needs to be <256 */5586 cy = (UINT)(s_lba32 / n_sc / n_hd); /* Start cylinder */5587 hd = (BYTE)(s_lba32 / n_sc % n_hd); /* Start head */5593 cy = (UINT)((s_lba32 + n_lba32 - 1) / n_sc / n_hd); /* End cylinder */5594 hd = (BYTE)((s_lba32 + n_lba32 - 1) / n_sc % n_hd); /* End head */