| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | scsicam.c | 180 unsigned long heads, sectors, cylinders, temp; in setsize() local 182 cylinders = 1024L; /* Set number of cylinders to max */ in setsize() 185 temp = cylinders * sectors; /* Compute divisor for heads */ in setsize() 189 temp = cylinders * heads; /* Compute divisor for sectors */ in setsize() 195 cylinders = capacity / temp; /* Compute number of cylinders */ in setsize() 198 if (cylinders == 0) in setsize() 201 *cyls = (unsigned int) cylinders; /* Stuff return values */ in setsize()
|
| H A D | storvsc_drv.c | 1550 sector_t cylinders = nsect; in storvsc_get_chs() local 1558 sector_div(cylinders, heads * sectors_pt); in storvsc_get_chs() 1559 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) in storvsc_get_chs() 1560 cylinders = 0xffff; in storvsc_get_chs() 1564 info[2] = (int)cylinders; in storvsc_get_chs()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | ssfdc.c | 24 unsigned short cylinders; member 320 ssfdc->cylinders = (unsigned short)(((u32)mtd->size >> SECTOR_SHIFT) / in ssfdcr_add_mtd() 324 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd() 325 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd() 328 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 | nftlcore.c | 67 nftl->cylinders = 1024; in nftl_add_mtd() 70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 74 temp = nftl->cylinders * nftl->sectors; in nftl_add_mtd() 80 nftl->cylinders = nftl->mbd.size / temp; in nftl_add_mtd() 84 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { in nftl_add_mtd() 93 nftl->cylinders, nftl->heads , nftl->sectors, in nftl_add_mtd() 94 (long)nftl->cylinders * (long)nftl->heads * in nftl_add_mtd() 773 geo->cylinders = nftl->cylinders; in nftl_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() 922 geo->cylinders = inftl->cylinders; in inftl_getgeo()
|
| H A D | rfd_ftl.c | 85 int cylinders; member 175 part->cylinders = (part->data_sectors_per_block * in scan_header() 178 part->sector_count = part->cylinders * SECTORS_PER_TRACK; in scan_header() 717 geo->cylinders = part->cylinders; in rfd_ftl_getgeo()
|
| H A D | sm_ftl.h | 56 int cylinders; member
|
| H A D | sm_ftl.c | 638 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info() 646 ftl->cylinders = 985; in sm_get_media_info() 1114 geo->cylinders = ftl->cylinders; in sm_getgeo()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | pd.c | 230 int cylinders; member 722 disk->cylinders = le16_to_cpu(*(__le16 *) (pd_scratch + 2)); in pd_identify() 726 disk->capacity = disk->sectors * disk->heads * disk->cylinders; in pd_identify() 742 disk->cylinders, disk->heads, disk->sectors, in pd_identify() 813 geo->cylinders = disk->capacity / (geo->heads * geo->sectors); in pd_getgeo() 817 geo->cylinders = disk->cylinders; in pd_getgeo()
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.imximage | 160 for the cylinders. 185 Number of cylinders (1-1048576, default 60032): 239 204 Last cylinder, +cylinders or +size{K,M,G} (3-239, default 239): +100M 209 255 heads, 63 sectors/track, 239 cylinders 210 Units = cylinders of 16065 * 512 = 8225280 bytes
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/block/rsxx/ |
| H A D | dev.c | 86 geo->cylinders = blocks; in rsxx_getgeo() 90 geo->cylinders = 0; in rsxx_getgeo()
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | nftl.h | 28 unsigned short cylinders; member
|
| H A D | inftl.h | 36 unsigned short cylinders; member
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | sunvdc.c | 127 sector_t cylinders = nsect; in vdc_getgeo() local 131 sector_div(cylinders, geo->heads * geo->sectors); in vdc_getgeo() 132 geo->cylinders = cylinders; in vdc_getgeo() 133 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) in vdc_getgeo() 134 geo->cylinders = 0xffff; in vdc_getgeo()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | virtio_blk.h | 63 __u16 cylinders; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | virtio_blk.h | 63 __u16 cylinders; member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/syslinux/syslinux/ |
| H A D | 0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch | 152 - geo->cylinders = fd_str.track; 171 - geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); 351 + geo->cylinders = fd_str.track; 370 + geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT);
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | virtio_blk.h | 67 __virtio16 cylinders; member
|
| /OK3568_Linux_fs/kernel/drivers/memstick/core/ |
| H A D | mspro_block.c | 126 __be16 cylinders; member 145 unsigned short cylinders; member 237 geo->cylinders = msb->cylinders; in mspro_block_bd_getgeo() 481 be16_to_cpu(x_devinfo->cylinders)); in mspro_block_attr_show_devinfo() 1196 msb->cylinders = be16_to_cpu(dev_info->cylinders); in mspro_block_init_disk()
|
| /OK3568_Linux_fs/u-boot/disk/ |
| H A D | part_amiga.h | 46 u32 cylinders; member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/dpt/ |
| H A D | sys_info.h | 82 uSHORT cylinders; /* Up to 1024 */ member
|
| /OK3568_Linux_fs/kernel/drivers/block/aoe/ |
| H A D | aoeblk.c | 294 geo->cylinders = d->geo.cylinders; in aoeblk_getgeo()
|
| /OK3568_Linux_fs/kernel/arch/m68k/emu/ |
| H A D | nfblock.c | 87 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
|