Home
last modified time | relevance | path

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

/drivers/scsi/
Dfdomain.c1588 sector_t capacity, int *info_array) in fdomain_16x0_biosparam() argument
1666 info_array[0] = i.heads; in fdomain_16x0_biosparam()
1667 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1668 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
1674 info_array[0] = i.heads + 1; in fdomain_16x0_biosparam()
1675 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1676 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
1713 info_array[0] = p[5] + 1; /* heads */ in fdomain_16x0_biosparam()
1714 info_array[1] = p[6] & 0x3f; /* sectors */ in fdomain_16x0_biosparam()
1722 info_array[0] = 0xff; /* heads = 255 */ in fdomain_16x0_biosparam()
[all …]
Dfd_mcs.c1271 sector_t capacity, int *info_array) in fd_mcs_biosparam() argument
1310 info_array[0] = p[5] + 1; /* heads */ in fd_mcs_biosparam()
1311 info_array[1] = p[6] & 0x3f; /* sectors */ in fd_mcs_biosparam()
1318 info_array[0] = 0xff; /* heads = 255 */ in fd_mcs_biosparam()
1319 info_array[1] = 0x3f; /* sectors = 63 */ in fd_mcs_biosparam()
1321 info_array[0] = 0x80; /* heads = 128 */ in fd_mcs_biosparam()
1322 info_array[1] = 0x3f; /* sectors = 63 */ in fd_mcs_biosparam()
1324 info_array[0] = 0x40; /* heads = 64 */ in fd_mcs_biosparam()
1325 info_array[1] = 0x20; /* sectors = 32 */ in fd_mcs_biosparam()
1329 info_array[2] = (unsigned int) size / (info_array[0] * info_array[1]); in fd_mcs_biosparam()
DNCR53c406a.c750 sector_t capacity, int *info_array) in NCR53c406a_biosparm() argument
757 info_array[0] = 64; /* heads */ in NCR53c406a_biosparm()
758 info_array[1] = 32; /* sectors */ in NCR53c406a_biosparm()
759 info_array[2] = size >> 11; /* cylinders */ in NCR53c406a_biosparm()
760 if (info_array[2] > 1024) { /* big disk */ in NCR53c406a_biosparm()
761 info_array[0] = 255; in NCR53c406a_biosparm()
762 info_array[1] = 63; in NCR53c406a_biosparm()
763 info_array[2] = size / (255 * 63); in NCR53c406a_biosparm()
Dinitio.c2693 sector_t capacity, int *info_array) in i91u_biosparam() argument
2702 info_array[0] = tc->heads; in i91u_biosparam()
2703 info_array[1] = tc->sectors; in i91u_biosparam()
2704 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; in i91u_biosparam()
2707 info_array[0] = 255; in i91u_biosparam()
2708 info_array[1] = 63; in i91u_biosparam()
2709 info_array[2] = (unsigned long)capacity / 255 / 63; in i91u_biosparam()
2711 info_array[0] = 64; in i91u_biosparam()
2712 info_array[1] = 32; in i91u_biosparam()
2713 info_array[2] = (unsigned long)capacity >> 11; in i91u_biosparam()
[all …]
Daha152x.c1349 sector_t capacity, int *info_array) in aha152x_biosparam() argument
1354 info_array[0] = 64; in aha152x_biosparam()
1355 info_array[1] = 32; in aha152x_biosparam()
1356 info_array[2] = (unsigned long)capacity / (64 * 32); in aha152x_biosparam()
1359 if (info_array[2] >= 1024) { in aha152x_biosparam()
1369 info_array[0] = 255; in aha152x_biosparam()
1370 info_array[1] = 63; in aha152x_biosparam()
1371 info_array[2] = (unsigned long)capacity / (255 * 63); in aha152x_biosparam()
1380 info_array[0] = info[0]; in aha152x_biosparam()
1381 info_array[1] = info[1]; in aha152x_biosparam()
[all …]
/drivers/scsi/pcmcia/
Dsym53c500_cs.c616 sector_t capacity, int *info_array) in SYM53C500_biosparm() argument
623 info_array[0] = 64; /* heads */ in SYM53C500_biosparm()
624 info_array[1] = 32; /* sectors */ in SYM53C500_biosparm()
625 info_array[2] = size >> 11; /* cylinders */ in SYM53C500_biosparm()
626 if (info_array[2] > 1024) { /* big disk */ in SYM53C500_biosparm()
627 info_array[0] = 255; in SYM53C500_biosparm()
628 info_array[1] = 63; in SYM53C500_biosparm()
629 info_array[2] = size / (255 * 63); in SYM53C500_biosparm()