Home
last modified time | relevance | path

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

/drivers/scsi/
Dfdomain.c1590 sector_t capacity, int *info_array) in fdomain_16x0_biosparam() argument
1668 info_array[0] = i.heads; in fdomain_16x0_biosparam()
1669 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1670 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
1676 info_array[0] = i.heads + 1; in fdomain_16x0_biosparam()
1677 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1678 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
1715 info_array[0] = p[5] + 1; /* heads */ in fdomain_16x0_biosparam()
1716 info_array[1] = p[6] & 0x3f; /* sectors */ in fdomain_16x0_biosparam()
1724 info_array[0] = 0xff; /* heads = 255 */ in fdomain_16x0_biosparam()
[all …]
DNCR53c406a.c752 sector_t capacity, int *info_array) in NCR53c406a_biosparm() argument
759 info_array[0] = 64; /* heads */ in NCR53c406a_biosparm()
760 info_array[1] = 32; /* sectors */ in NCR53c406a_biosparm()
761 info_array[2] = size >> 11; /* cylinders */ in NCR53c406a_biosparm()
762 if (info_array[2] > 1024) { /* big disk */ in NCR53c406a_biosparm()
763 info_array[0] = 255; in NCR53c406a_biosparm()
764 info_array[1] = 63; in NCR53c406a_biosparm()
765 info_array[2] = size / (255 * 63); in NCR53c406a_biosparm()
Dinitio.c2679 sector_t capacity, int *info_array) in i91u_biosparam() argument
2688 info_array[0] = tc->heads; in i91u_biosparam()
2689 info_array[1] = tc->sectors; in i91u_biosparam()
2690 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; in i91u_biosparam()
2693 info_array[0] = 255; in i91u_biosparam()
2694 info_array[1] = 63; in i91u_biosparam()
2695 info_array[2] = (unsigned long)capacity / 255 / 63; in i91u_biosparam()
2697 info_array[0] = 64; in i91u_biosparam()
2698 info_array[1] = 32; in i91u_biosparam()
2699 info_array[2] = (unsigned long)capacity >> 11; in i91u_biosparam()
[all …]
Daha152x.c1239 sector_t capacity, int *info_array) in aha152x_biosparam() argument
1244 info_array[0] = 64; in aha152x_biosparam()
1245 info_array[1] = 32; in aha152x_biosparam()
1246 info_array[2] = (unsigned long)capacity / (64 * 32); in aha152x_biosparam()
1249 if (info_array[2] >= 1024) { in aha152x_biosparam()
1259 info_array[0] = 255; in aha152x_biosparam()
1260 info_array[1] = 63; in aha152x_biosparam()
1261 info_array[2] = (unsigned long)capacity / (255 * 63); in aha152x_biosparam()
1270 info_array[0] = info[0]; in aha152x_biosparam()
1271 info_array[1] = info[1]; in aha152x_biosparam()
[all …]
/drivers/scsi/pcmcia/
Dsym53c500_cs.c604 sector_t capacity, int *info_array) in SYM53C500_biosparm() argument
611 info_array[0] = 64; /* heads */ in SYM53C500_biosparm()
612 info_array[1] = 32; /* sectors */ in SYM53C500_biosparm()
613 info_array[2] = size >> 11; /* cylinders */ in SYM53C500_biosparm()
614 if (info_array[2] > 1024) { /* big disk */ in SYM53C500_biosparm()
615 info_array[0] = 255; in SYM53C500_biosparm()
616 info_array[1] = 63; in SYM53C500_biosparm()
617 info_array[2] = size / (255 * 63); in SYM53C500_biosparm()