Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsicam.c24 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds,
126 unsigned int *cyls, unsigned int *hds, unsigned int *secs) in scsi_partsize() argument
184 *cyls = capacity / ((end_head + 1) * end_sector); in scsi_partsize()
230 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, in setsize() argument
255 *cyls = (unsigned int) cylinders; /* Stuff return values */ in setsize()
Dgdth.c144 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs);
498 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs) in gdth_eval_mapping() argument
500 *cyls = size /HEADS/SECS; in gdth_eval_mapping()
501 if (*cyls <= MAXCYLS) { in gdth_eval_mapping()
505 *cyls = size /MEDHEADS/MEDSECS; in gdth_eval_mapping()
506 if (*cyls <= MAXCYLS) { in gdth_eval_mapping()
510 *cyls = size /BIGHEADS/BIGSECS; in gdth_eval_mapping()
4348 int cyls, hds, secs; in ioc_rescan() local
4405 gdth_eval_mapping(ha->hdr[i].size,&cyls,&hds,&secs); in ioc_rescan()
4409 ha->hdr[i].size = cyls * hds * secs; in ioc_rescan()
/drivers/ide/
Dide-floppy.c316 u16 transfer_rate, sector_size, cyls, rpm; in ide_floppy_get_flexible_disk_page() local
337 cyls = be16_to_cpup((__be16 *)&buf[8 + 8]); in ide_floppy_get_flexible_disk_page()
342 capacity = cyls * heads * sectors * sector_size; in ide_floppy_get_flexible_disk_page()
347 drive->name, capacity / 1024, cyls, heads, in ide_floppy_get_flexible_disk_page()
351 drive->bios_cyl = cyls; in ide_floppy_get_flexible_disk_page()
/drivers/block/
Dmg_disk.c121 u16 cyls; member
374 host->cyls = id[ATA_ID_CYLS]; in mg_get_disk_id()
380 host->cyls = (host->n_sectors - MG_RES_SEC) / in mg_get_disk_id()
382 host->nres_sectors = host->n_sectors - host->cyls * in mg_get_disk_id()
773 geo->cylinders = (unsigned short)host->cyls; in mg_getgeo()
/drivers/message/i2o/
Di2o_block.c541 static void i2o_block_biosparam(unsigned long capacity, unsigned short *cyls, in i2o_block_biosparam() argument
560 *cyls = (unsigned short)cylinders; /* Stuff return values */ in i2o_block_biosparam()