Searched refs:dkinfo (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | u14-34f.c | 1539 struct block_device *bdev, sector_t capacity, int *dkinfo) { in u14_34f_bios_param() argument 1543 dkinfo[0] = HD(j)->heads; in u14_34f_bios_param() 1544 dkinfo[1] = HD(j)->sectors; in u14_34f_bios_param() 1545 dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); in u14_34f_bios_param() 1547 if (ext_tran && (scsicam_bios_param(bdev, capacity, dkinfo) < 0)) { in u14_34f_bios_param() 1548 dkinfo[0] = 255; in u14_34f_bios_param() 1549 dkinfo[1] = 63; in u14_34f_bios_param() 1550 dkinfo[2] = size / (dkinfo[0] * dkinfo[1]); in u14_34f_bios_param() 1555 dkinfo[0], dkinfo[1], dkinfo[2]); in u14_34f_bios_param()
|
D | ultrastor.c | 1036 sector_t capacity, int * dkinfo) in ultrastor_biosparam() argument 1041 dkinfo[0] = config.heads; in ultrastor_biosparam() 1042 dkinfo[1] = config.sectors; in ultrastor_biosparam() 1043 dkinfo[2] = size / s; /* Ignore partial cylinders */ in ultrastor_biosparam() 1045 if (dkinfo[2] > 1024) in ultrastor_biosparam() 1046 dkinfo[2] = 1024; in ultrastor_biosparam()
|
D | eata.c | 2066 sector_t capacity, int *dkinfo) in eata2x_bios_param() argument 2070 if (ext_tran || (scsicam_bios_param(bdev, capacity, dkinfo) < 0)) { in eata2x_bios_param() 2071 dkinfo[0] = 255; in eata2x_bios_param() 2072 dkinfo[1] = 63; in eata2x_bios_param() 2073 dkinfo[2] = size / (dkinfo[0] * dkinfo[1]); in eata2x_bios_param() 2077 dkinfo[0], dkinfo[1], dkinfo[2]); in eata2x_bios_param()
|