/Linux-v4.19/block/partitions/ |
D | ibm.c | 33 sector_t cyl; in cchh2blk() local 37 cyl = ptr->hh & 0xFFF0; in cchh2blk() 38 cyl <<= 12; in cchh2blk() 39 cyl |= ptr->cc; in cchh2blk() 41 return cyl * geo->heads * geo->sectors + in cchh2blk() 51 sector_t cyl; in cchhb2blk() local 55 cyl = ptr->hh & 0xFFF0; in cchhb2blk() 56 cyl <<= 12; in cchhb2blk() 57 cyl |= ptr->cc; in cchhb2blk() 59 return cyl * geo->heads * geo->sectors + in cchhb2blk()
|
/Linux-v4.19/drivers/scsi/ |
D | scsicam.c | 131 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local 143 cyl = p->cyl + ((p->sector & 0xc0) << 2); in scsi_partsize() 144 if (cyl > largest_cyl) { in scsi_partsize() 145 largest_cyl = cyl; in scsi_partsize()
|
D | scsi_debug.c | 4269 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts() 4270 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
|
/Linux-v4.19/drivers/ide/ |
D | ide-disk.c | 134 unsigned int sect, head, cyl, track; in __ide_do_rw_disk() local 139 cyl = track / drive->head; in __ide_do_rw_disk() 141 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); in __ide_do_rw_disk() 145 tf->lbam = cyl; in __ide_do_rw_disk() 146 tf->lbah = cyl >> 8; in __ide_do_rw_disk() 371 drive->capacity64 = drive->cyl * drive->head * drive->sect; in ide_disk_get_capacity() 712 unsigned int cylsz, cyl; in ide_disk_setup() local 718 cyl = cap0 / cylsz; in ide_disk_setup() 719 if (cyl > 65535) in ide_disk_setup() 720 cyl = 65535; in ide_disk_setup() [all …]
|
D | ide.c | 239 unsigned int cyl; member 270 ide_disks_chs[i].cyl = c; in ide_set_disk_chs() 315 drive->cyl = drive->bios_cyl = ide_disks_chs[i].cyl; in ide_dev_apply_params() 321 drive->cyl, drive->head, drive->sect); in ide_dev_apply_params()
|
D | ide-probe.c | 55 id[ATA_ID_CUR_CYLS] = id[ATA_ID_CYLS] = drive->cyl; in generic_id() 65 if (!drive->cyl || !drive->head || !drive->sect) { in ide_disk_init_chs() 66 drive->cyl = drive->bios_cyl = id[ATA_ID_CYLS]; in ide_disk_init_chs() 73 drive->cyl = id[ATA_ID_CUR_CYLS]; in ide_disk_init_chs() 80 drive->cyl = id[ATA_ID_CYLS]; in ide_disk_init_chs() 503 drive->name, drive->cyl, in probe_for_drive()
|
D | ide-io.c | 159 tf->lbam = drive->cyl; in ide_tf_set_specify_cmd() 160 tf->lbah = drive->cyl >> 8; in ide_tf_set_specify_cmd()
|
D | ide-proc.c | 404 drive->cyl, drive->head, drive->sect); in ide_geometry_proc_show()
|
/Linux-v4.19/drivers/mtd/ |
D | ssfdc.c | 59 unsigned short cyl; member 77 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, in get_chs() argument 88 if (cyl) in get_chs() 89 *cyl = chs_table[k].cyl; in get_chs()
|
D | sm_ftl.h | 66 unsigned short cyl; member
|
D | sm_ftl.c | 634 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
|
/Linux-v4.19/drivers/s390/block/ |
D | dasd_eckd.h | 107 __u16 cyl; member 115 __u16 cyl; member 120 __u16 cyl; member 126 __u16 cyl; member 132 __u16 cyl; member
|
D | dasd_eckd.c | 209 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) in set_ch_t() argument 211 geo->cyl = (__u16) cyl; in set_ch_t() 212 geo->head = cyl >> 16; in set_ch_t() 489 data->search_arg.cyl = data->seek_addr.cyl; in locate_record_ext() 666 data->search_arg.cyl = data->seek_addr.cyl; in locate_record() 1962 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis() 1977 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis() 2429 ect->cyl = address.cyl; in dasd_eckd_build_format() 2444 ect->cyl = address.cyl; in dasd_eckd_build_format() 2458 ect->cyl = address.cyl; in dasd_eckd_build_format() [all …]
|
/Linux-v4.19/include/linux/mtd/ |
D | nftl.h | 47 int head,sect,cyl; member
|
D | inftl.h | 42 int head,sect,cyl; member
|
/Linux-v4.19/drivers/memstick/core/ |
D | ms_block.h | 271 unsigned short cyl; member
|
D | ms_block.c | 1751 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
|
/Linux-v4.19/drivers/ata/ |
D | libata-core.c | 716 u32 cyl, head, sect; in ata_tf_read_block() local 718 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block() 728 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block() 829 u32 sect, head, cyl, track; in ata_build_rw_tf() local 840 cyl = track / dev->heads; in ata_build_rw_tf() 845 (u32)block, track, cyl, head, sect); in ata_build_rw_tf() 851 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_build_rw_tf() 856 tf->lbam = cyl; in ata_build_rw_tf() 857 tf->lbah = cyl >> 8; in ata_build_rw_tf()
|
D | libata-scsi.c | 1761 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local 1768 cyl = track / dev->heads; in ata_scsi_verify_xlat() 1773 (u32)block, track, cyl, head, sect); in ata_scsi_verify_xlat() 1779 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat() 1785 tf->lbam = cyl; in ata_scsi_verify_xlat() 1786 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
|
/Linux-v4.19/include/linux/ |
D | genhd.h | 76 unsigned char cyl; /* starting cylinder */ member
|
D | ide.h | 577 unsigned int cyl; /* "real" number of cyls */ member
|
/Linux-v4.19/drivers/block/ |
D | sx8.c | 394 __le16 cyl; member 975 port->dev_geom_cyl = le16_to_cpu(desc->cyl); in carm_handle_array_info()
|
/Linux-v4.19/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1333 Format: <cyl>,<head>,<sect>
|