Lines Matching refs:cyls
428 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs);
801 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs)
803 *cyls = size /HEADS/SECS;
804 if (*cyls <= MAXCYLS) {
808 *cyls = size /MEDHEADS/MEDSECS;
809 if (*cyls <= MAXCYLS) {
813 *cyls = size /BIGHEADS/BIGSECS;
4929 TRACE2(("gdth_bios_param(): %d heads, %d secs, %d cyls\n",
5269 int hanum, cyls, hds, secs;
5328 gdth_eval_mapping(ha->hdr[i].size,&cyls,&hds,&secs);
5332 ha->hdr[i].size = cyls * hds * secs;