Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/
Dsd.c1502 int diskinfo[4]; in sd_getgeo() local
1505 diskinfo[0] = 0x40; /* 1 << 6 */ in sd_getgeo()
1506 diskinfo[1] = 0x20; /* 1 << 5 */ in sd_getgeo()
1507 diskinfo[2] = capacity >> 11; in sd_getgeo()
1511 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
1513 scsicam_bios_param(bdev, capacity, diskinfo); in sd_getgeo()
1515 geo->heads = diskinfo[0]; in sd_getgeo()
1516 geo->sectors = diskinfo[1]; in sd_getgeo()
1517 geo->cylinders = diskinfo[2]; in sd_getgeo()