| /linux/drivers/mtd/ |
| H A D | ssfdc.c | 23 unsigned short cylinders; member 319 ssfdc->cylinders = (unsigned short)(((u32)mtd->size >> SECTOR_SHIFT) / in ssfdcr_add_mtd() 323 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd() 324 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd() 327 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * in ssfdcr_add_mtd() 411 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo() 415 geo->cylinders = ssfdc->cylinders; in ssfdcr_getgeo()
|
| H A D | inftlcore.c | 74 inftl->cylinders = 1024; in inftl_add_mtd() 77 temp = inftl->cylinders * inftl->heads; in inftl_add_mtd() 81 temp = inftl->cylinders * inftl->sectors; in inftl_add_mtd() 87 inftl->cylinders = inftl->mbd.size / temp; in inftl_add_mtd() 91 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { in inftl_add_mtd() 100 inftl->cylinders, inftl->heads , inftl->sectors, in inftl_add_mtd() 101 (long)inftl->cylinders * (long)inftl->heads * in inftl_add_mtd() 923 geo->cylinders = inftl->cylinders; in inftl_getgeo()
|
| H A D | sm_ftl.h | 56 int cylinders; member
|
| H A D | inftlmount.c | 492 s->EraseSize, s->heads, s->sectors, s->cylinders, in INFTL_dumptables()
|
| /linux/arch/x86/boot/ |
| H A D | mtools.conf.in | 11 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=18 filter 15 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=36 filter
|
| /linux/Documentation/scsi/ |
| H A D | aha152x.rst | 130 The number of cylinders/heads/sectors is called geometry and is required 147 and a maximum of 1023 cylinders. 151 cylinders by dividing the capacity reported by the disk by 64*32 (1 MB). 154 With respect to the limit of 1023 cylinders using C/H/S you can only
|
| /linux/include/linux/mtd/ |
| H A D | nftl.h | 28 unsigned short cylinders; member
|
| H A D | inftl.h | 36 unsigned short cylinders; member
|
| /linux/drivers/memstick/core/ |
| H A D | mspro_block.c | 126 __be16 cylinders; member 144 unsigned short cylinders; member 199 geo->cylinders = msb->cylinders; in mspro_block_bd_getgeo() 410 rc += sysfs_emit_at(buffer, rc, "cylinders: %x\n", be16_to_cpu(x_devinfo->cylinders)); in mspro_block_attr_show_devinfo() 1127 msb->cylinders = be16_to_cpu(dev_info->cylinders); in mspro_block_init_disk()
|
| /linux/include/uapi/linux/ |
| H A D | virtio_blk.h | 69 __virtio16 cylinders; member
|
| H A D | hdreg.h | 327 unsigned short cylinders; member
|
| /linux/drivers/scsi/ |
| H A D | storvsc_drv.c | 1616 sector_t cylinders = nsect; in storvsc_get_chs() local 1624 sector_div(cylinders, heads * sectors_pt); in storvsc_get_chs() 1625 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) in storvsc_get_chs() 1626 cylinders = 0xffff; in storvsc_get_chs() 1630 info[2] = (int)cylinders; in storvsc_get_chs()
|
| H A D | qla1280.c | 1029 int heads, sectors, cylinders; in qla1280_biosparam() local 1033 cylinders = (unsigned long)capacity / (heads * sectors); in qla1280_biosparam() 1034 if (cylinders > 1024) { in qla1280_biosparam() 1037 cylinders = (unsigned long)capacity / (heads * sectors); in qla1280_biosparam() 1044 geom[2] = cylinders; in qla1280_biosparam()
|
| H A D | ipr.c | 4664 sector_t cylinders; in ipr_biosparam() local 4669 cylinders = capacity; in ipr_biosparam() 4670 sector_div(cylinders, (128 * 32)); in ipr_biosparam() 4675 parm[2] = cylinders; in ipr_biosparam()
|
| /linux/Documentation/userspace-api/ioctl/ |
| H A D | hdio.rst | 76 cylinders number of cylinders, mod 65536 97 In addition, the cylinders field of the hd_geometry is an
|
| /linux/drivers/scsi/aacraid/ |
| H A D | linit.c | 319 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm() 333 int saved_cylinders = param->cylinders; in aac_biosparm() 362 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm() 364 if (param->cylinders != saved_cylinders) { in aac_biosparm()
|
| H A D | aacraid.h | 438 int cylinders; member
|
| /linux/drivers/block/aoe/ |
| H A D | aoecmd.c | 948 d->geo.cylinders = ssize; in ataid_complete() 949 d->geo.cylinders /= (255 * 63); in ataid_complete() 959 d->geo.cylinders = get_unaligned_le16(&id[54 << 1]); in ataid_complete()
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_os.c | 4059 sector_t cylinders; in mpi3mr_bios_param() local 4066 cylinders = capacity; in mpi3mr_bios_param() 4067 sector_div(cylinders, dummy); in mpi3mr_bios_param() 4073 cylinders = capacity; in mpi3mr_bios_param() 4074 sector_div(cylinders, dummy); in mpi3mr_bios_param() 4079 params[2] = cylinders; in mpi3mr_bios_param()
|
| /linux/arch/um/drivers/ |
| H A D | ubd_kern.c | 1333 geo->cylinders = ubd_dev->size / (128 * 32 * 512); in ubd_getgeo()
|
| /linux/include/linux/ |
| H A D | libata.h | 760 u16 cylinders; /* Number of cylinders */ member
|
| /linux/drivers/md/ |
| H A D | dm-ioctl.c | 1106 geometry.cylinders = indata[0]; in dev_set_geometry()
|
| H A D | dm.c | 851 sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors; in dm_set_geometry()
|
| /linux/Documentation/arch/m68k/ |
| H A D | kernel-options.rst | 266 :Syntax: hd=<cylinders>,<heads>,<sectors>
|
| /linux/drivers/mmc/core/ |
| H A D | block.c | 402 geo->cylinders = get_capacity(disk) / (4 * 16); in mmc_blk_getgeo()
|