Home
last modified time | relevance | path

Searched refs:info_array (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/scsi/pcmcia/
Dsym53c500_cs.c601 sector_t capacity, int *info_array) in SYM53C500_biosparm() argument
608 info_array[0] = 64; /* heads */ in SYM53C500_biosparm()
609 info_array[1] = 32; /* sectors */ in SYM53C500_biosparm()
610 info_array[2] = size >> 11; /* cylinders */ in SYM53C500_biosparm()
611 if (info_array[2] > 1024) { /* big disk */ in SYM53C500_biosparm()
612 info_array[0] = 255; in SYM53C500_biosparm()
613 info_array[1] = 63; in SYM53C500_biosparm()
614 info_array[2] = size / (255 * 63); in SYM53C500_biosparm()
/linux-5.19.10/drivers/scsi/
Dinitio.c2660 sector_t capacity, int *info_array) in i91u_biosparam() argument
2669 info_array[0] = tc->heads; in i91u_biosparam()
2670 info_array[1] = tc->sectors; in i91u_biosparam()
2671 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; in i91u_biosparam()
2674 info_array[0] = 255; in i91u_biosparam()
2675 info_array[1] = 63; in i91u_biosparam()
2676 info_array[2] = (unsigned long)capacity / 255 / 63; in i91u_biosparam()
2678 info_array[0] = 64; in i91u_biosparam()
2679 info_array[1] = 32; in i91u_biosparam()
2680 info_array[2] = (unsigned long)capacity >> 11; in i91u_biosparam()
[all …]
Daha152x.c1250 sector_t capacity, int *info_array) in aha152x_biosparam() argument
1255 info_array[0] = 64; in aha152x_biosparam()
1256 info_array[1] = 32; in aha152x_biosparam()
1257 info_array[2] = (unsigned long)capacity / (64 * 32); in aha152x_biosparam()
1260 if (info_array[2] >= 1024) { in aha152x_biosparam()
1270 info_array[0] = 255; in aha152x_biosparam()
1271 info_array[1] = 63; in aha152x_biosparam()
1272 info_array[2] = (unsigned long)capacity / (255 * 63); in aha152x_biosparam()
1281 info_array[0] = info[0]; in aha152x_biosparam()
1282 info_array[1] = info[1]; in aha152x_biosparam()
[all …]