Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dini9100u.c584 int i91u_biosparam(Scsi_Disk * disk, kdev_t dev, int *info_array) in i91u_biosparam() argument
593 info_array[0] = pTcb->TCS_DrvHead; in i91u_biosparam()
594 info_array[1] = pTcb->TCS_DrvSector; in i91u_biosparam()
595 info_array[2] = disk->capacity / pTcb->TCS_DrvHead / pTcb->TCS_DrvSector; in i91u_biosparam()
598 info_array[0] = 255; in i91u_biosparam()
599 info_array[1] = 63; in i91u_biosparam()
600 info_array[2] = disk->capacity / 255 / 63; in i91u_biosparam()
602 info_array[0] = 64; in i91u_biosparam()
603 info_array[1] = 32; in i91u_biosparam()
604 info_array[2] = disk->capacity >> 11; in i91u_biosparam()
[all …]
Dfdomain.c1877 int fdomain_16x0_biosparam( Scsi_Disk *disk, kdev_t dev, int *info_array ) in fdomain_16x0_biosparam() argument
1960 info_array[0] = i.heads; in fdomain_16x0_biosparam()
1961 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1962 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
1968 info_array[0] = i.heads + 1; in fdomain_16x0_biosparam()
1969 info_array[1] = i.sectors; in fdomain_16x0_biosparam()
1970 info_array[2] = i.cylinders; in fdomain_16x0_biosparam()
2013 info_array[0] = data[0x1c3] + 1; /* heads */ in fdomain_16x0_biosparam()
2014 info_array[1] = data[0x1c4] & 0x3f; /* sectors */ in fdomain_16x0_biosparam()
2022 info_array[0] = 0xff; /* heads = 255 */ in fdomain_16x0_biosparam()
[all …]
Dinia100.c693 int inia100_biosparam(Scsi_Disk * disk, kdev_t dev, int *info_array) in inia100_biosparam() argument
702 info_array[0] = pTcb->TCS_DrvHead; in inia100_biosparam()
703 info_array[1] = pTcb->TCS_DrvSector; in inia100_biosparam()
704 info_array[2] = disk->capacity / pTcb->TCS_DrvHead / pTcb->TCS_DrvSector; in inia100_biosparam()
707 info_array[0] = 255; in inia100_biosparam()
708 info_array[1] = 63; in inia100_biosparam()
709 info_array[2] = disk->capacity / 255 / 63; in inia100_biosparam()
711 info_array[0] = 64; in inia100_biosparam()
712 info_array[1] = 32; in inia100_biosparam()
713 info_array[2] = disk->capacity >> 11; in inia100_biosparam()
Dfd_mcs.c1386 int fd_mcs_biosparam( Scsi_Disk *disk, kdev_t dev, int *info_array ) in fd_mcs_biosparam() argument
1440 info_array[0] = data[0x1c3] + 1; /* heads */ in fd_mcs_biosparam()
1441 info_array[1] = data[0x1c4] & 0x3f; /* sectors */ in fd_mcs_biosparam()
1449 info_array[0] = 0xff; /* heads = 255 */ in fd_mcs_biosparam()
1450 info_array[1] = 0x3f; /* sectors = 63 */ in fd_mcs_biosparam()
1452 info_array[0] = 0x80; /* heads = 128 */ in fd_mcs_biosparam()
1453 info_array[1] = 0x3f; /* sectors = 63 */ in fd_mcs_biosparam()
1455 info_array[0] = 0x40; /* heads = 64 */ in fd_mcs_biosparam()
1456 info_array[1] = 0x20; /* sectors = 32 */ in fd_mcs_biosparam()
1460 info_array[2] = (unsigned int)size / (info_array[0] * info_array[1] ); in fd_mcs_biosparam()
DNCR53c406a.c763 NCR53c406a_biosparm(Scsi_Disk *disk, kdev_t dev, int* info_array){ in NCR53c406a_biosparm() argument
769 info_array[0] = 64; /* heads */ in NCR53c406a_biosparm()
770 info_array[1] = 32; /* sectors */ in NCR53c406a_biosparm()
771 info_array[2] = size>>11; /* cylinders */ in NCR53c406a_biosparm()
772 if (info_array[2] > 1024) { /* big disk */ in NCR53c406a_biosparm()
773 info_array[0] = 255; in NCR53c406a_biosparm()
774 info_array[1] = 63; in NCR53c406a_biosparm()
775 info_array[2] = size / (255*63); in NCR53c406a_biosparm()
Daha152x.c1844 int aha152x_biosparam(Scsi_Disk * disk, kdev_t dev, int *info_array) argument
1849 info_array[0] = 64;
1850 info_array[1] = 32;
1851 info_array[2] = disk->capacity / (64 * 32);
1854 if (info_array[2] >= 1024) {
1864 info_array[0] = 255;
1865 info_array[1] = 63;
1866 info_array[2] = disk->capacity / (255 * 63);
1875 info_array[0] = info[0];
1876 info_array[1] = info[1];
[all …]