Home
last modified time | relevance | path

Searched refs:cyl (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/block/partitions/
Dibm.c33 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()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsicam.c63 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local
83 cyl = p->cyl + ((p->sector & 0xc0) << 2); in scsi_partsize()
84 if (cyl > largest_cyl) { in scsi_partsize()
85 largest_cyl = cyl; in scsi_partsize()
Dscsi_debug.c5334 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()
5335 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
/kernel/linux/linux-5.10/drivers/ide/
Dide-disk.c134 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()
711 unsigned int cylsz, cyl; in ide_disk_setup() local
717 cyl = cap0 / cylsz; in ide_disk_setup()
718 if (cyl > 65535) in ide_disk_setup()
719 cyl = 65535; in ide_disk_setup()
[all …]
Dide.c240 unsigned int cyl; member
271 ide_disks_chs[i].cyl = c; in ide_set_disk_chs()
316 drive->cyl = drive->bios_cyl = ide_disks_chs[i].cyl; in ide_dev_apply_params()
322 drive->cyl, drive->head, drive->sect); in ide_dev_apply_params()
Dide-probe.c56 id[ATA_ID_CUR_CYLS] = id[ATA_ID_CYLS] = drive->cyl; in generic_id()
66 if (!drive->cyl || !drive->head || !drive->sect) { in ide_disk_init_chs()
67 drive->cyl = drive->bios_cyl = id[ATA_ID_CYLS]; in ide_disk_init_chs()
74 drive->cyl = id[ATA_ID_CUR_CYLS]; in ide_disk_init_chs()
81 drive->cyl = id[ATA_ID_CYLS]; in ide_disk_init_chs()
504 drive->name, drive->cyl, in probe_for_drive()
Dide-io.c169 tf->lbam = drive->cyl; in ide_tf_set_specify_cmd()
170 tf->lbah = drive->cyl >> 8; in ide_tf_set_specify_cmd()
Dide-proc.c404 drive->cyl, drive->head, drive->sect); in ide_geometry_proc_show()
/kernel/linux/linux-5.10/drivers/mtd/
Dssfdc.c56 unsigned short cyl; member
74 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, in get_chs() argument
85 if (cyl) in get_chs()
86 *cyl = chs_table[k].cyl; in get_chs()
Dsm_ftl.h63 unsigned short cyl; member
Dsm_ftl.c638 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
/kernel/linux/linux-5.10/include/linux/
Dmsdos_partition.h11 u8 cyl; /* starting cylinder */ member
Dide.h582 unsigned int cyl; /* "real" number of cyls */ member
/kernel/linux/linux-5.10/include/linux/mtd/
Dnftl.h33 int head,sect,cyl; member
Dinftl.h42 int head,sect,cyl; member
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_eckd.h135 __u16 cyl; member
143 __u16 cyl; member
148 __u16 cyl; member
Ddasd_eckd.c202 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) in set_ch_t() argument
204 geo->cyl = (__u16) cyl; in set_ch_t()
205 geo->head = cyl >> 16; in set_ch_t()
219 u32 cyl; in dasd_eckd_track_from_irb() local
236 cyl = sense[30] << 20; in dasd_eckd_track_from_irb()
237 cyl |= (sense[31] & 0xF0) << 12; in dasd_eckd_track_from_irb()
238 cyl |= sense[28] << 8; in dasd_eckd_track_from_irb()
239 cyl |= sense[29]; in dasd_eckd_track_from_irb()
241 cyl = sense[29] << 8; in dasd_eckd_track_from_irb()
242 cyl |= sense[30]; in dasd_eckd_track_from_irb()
[all …]
/kernel/linux/linux-5.10/drivers/memstick/core/
Dms_block.h268 unsigned short cyl; member
Dms_block.c1747 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-core.c635 u32 cyl, head, sect; in ata_tf_read_block() local
637 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
647 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block()
748 u32 sect, head, cyl, track; in ata_build_rw_tf() local
759 cyl = track / dev->heads; in ata_build_rw_tf()
764 (u32)block, track, cyl, head, sect); in ata_build_rw_tf()
770 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_build_rw_tf()
775 tf->lbam = cyl; in ata_build_rw_tf()
776 tf->lbah = cyl >> 8; in ata_build_rw_tf()
Dlibata-scsi.c1454 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local
1461 cyl = track / dev->heads; in ata_scsi_verify_xlat()
1466 (u32)block, track, cyl, head, sect); in ata_scsi_verify_xlat()
1472 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat()
1478 tf->lbam = cyl; in ata_scsi_verify_xlat()
1479 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
/kernel/linux/linux-5.10/drivers/block/
Dsx8.c388 __le16 cyl; member
837 port->dev_geom_cyl = le16_to_cpu(desc->cyl); in carm_handle_array_info()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt1505 Format: <cyl>,<head>,<sect>