/linux-2.4.37.9/drivers/scsi/ |
D | scsicam.c | 26 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, 92 unsigned int *cyls, unsigned int *hds, unsigned int *secs) in scsi_partsize() argument 151 *cyls = capacity / ((end_head + 1) * end_sector); in scsi_partsize() 196 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, in setsize() argument 221 *cyls = (unsigned int) cylinders; /* Stuff return values */ in setsize()
|
D | scsi.h | 438 unsigned int *cyls, unsigned int *hds,
|
D | megaraid.c | 4534 int heads, cyls, sectors; local 4555 cyls = p->end_cyl + ((p->end_sector & 0xc0) << 2); 4557 if(cyls >= largest_cyl) { 4558 largest_cyl = cyls; 4573 cyls = capacity/(heads * sectors); 4577 geom[2] = cyls;
|
D | gdth.c | 417 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs); 740 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs) in gdth_eval_mapping() argument 742 *cyls = size /HEADS/SECS; in gdth_eval_mapping() 743 if (*cyls <= MAXCYLS) { in gdth_eval_mapping() 747 *cyls = size /MEDHEADS/MEDSECS; in gdth_eval_mapping() 748 if (*cyls <= MAXCYLS) { in gdth_eval_mapping() 752 *cyls = size /BIGHEADS/BIGSECS; in gdth_eval_mapping() 5666 int hanum, cyls, hds, secs; in ioc_rescan() local 5764 gdth_eval_mapping(ha->hdr[i].size,&cyls,&hds,&secs); in ioc_rescan() 5768 ha->hdr[i].size = cyls * hds * secs; in ioc_rescan()
|
D | tmscsim.c | 1385 unsigned int *cyls, unsigned int *hds, unsigned int *secs) { in partsize() argument 1427 *cyls = capacity / ((end_head + 1) * end_sector); in partsize()
|
/linux-2.4.37.9/include/scsi/ |
D | scsicam.h | 18 unsigned int *cyls, unsigned int *hds, unsigned int *secs);
|
/linux-2.4.37.9/drivers/s390/block/ |
D | dasd_fba.c | 226 unsigned long cyls = tracks >> 4; in dasd_fba_fill_geometry() local 237 geo->cylinders = cyls; in dasd_fba_fill_geometry()
|
D | dasd_diag.c | 421 unsigned long cyls = tracks >> 4; in dasd_diag_fill_geometry() local 432 geo->cylinders = cyls; in dasd_diag_fill_geometry()
|
/linux-2.4.37.9/Documentation/ |
D | ide.txt | 9 See description later on below for handling BIG IDE drives with >1024 cyls. 151 hdx=cyls,heads,sects,wpcom,irq 155 (cyls,heads,sects). For example: 372 (1024cyls * 16heads * 63sects * 512bytes/sector) / (1024 * 1024) == 504MB 381 addresses, giving a limit of 1024cyls for programs which use it. 385 cyls for operating systems that do not use the "sector count" fields 419 for the 1024 cyls problem. If for some reason Linux gets confused (unlikely), 455 root partition is *not* completely within the first 1024 cyls (quite common),
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-floppy.c | 231 u16 cyls; /* Number of cylinders */ member 1354 page->cyls = ntohs(page->cyls); in idefloppy_get_flexible_disk_page() 1356 capacity = page->cyls * page->heads * page->sectors * page->sector_size; in idefloppy_get_flexible_disk_page() 1360 drive->name, capacity / 1024, page->cyls, in idefloppy_get_flexible_disk_page() 1365 drive->bios_cyl = page->cyls; in idefloppy_get_flexible_disk_page()
|
D | ide-disk.c | 119 if ((id->cyls == 16383 in lba_capacity_is_ok() 120 || (id->cyls == 4092 && id->cur_cyls == 16383)) && in lba_capacity_is_ok() 127 chs_sects = id->cyls * id->heads * id->sectors; in lba_capacity_is_ok() 1670 drive->cyl = drive->bios_cyl = id->cyls; in idedisk_setup() 1685 drive->cyl = id->cyls; in idedisk_setup()
|
D | ide-iops.c | 451 id->cyls = __le16_to_cpu(id->cyls); in ide_fix_driveid()
|
D | ide-probe.c | 70 drive->id->cyls = drive->cyl; in generic_id()
|
/linux-2.4.37.9/include/linux/ |
D | hdreg.h | 477 unsigned short cyls; /* Obsolete, "physical" cyls */ member
|
/linux-2.4.37.9/drivers/usb/storage/ |
D | isd200.c | 1265 US_DEBUGP(" cyls = 0x%x\n", info->drive.cyls); in isd200_get_inquiry_data() 1509 info->drive.cyls * in isd200_scsi_to_ata()
|
/linux-2.4.37.9/drivers/message/i2o/ |
D | i2o_block.c | 949 unsigned short *cyls, in i2o_block_biosparam() argument 969 *cyls = (unsigned short) cylinders; /* Stuff return values */ in i2o_block_biosparam()
|