Home
last modified time | relevance | path

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

/linux-4.1.27/block/partitions/
Dibm.c32 sector_t cyl; in cchh2blk() local
36 cyl = ptr->hh & 0xFFF0; in cchh2blk()
37 cyl <<= 12; in cchh2blk()
38 cyl |= ptr->cc; in cchh2blk()
40 return cyl * geo->heads * geo->sectors + in cchh2blk()
50 sector_t cyl; in cchhb2blk() local
54 cyl = ptr->hh & 0xFFF0; in cchhb2blk()
55 cyl <<= 12; in cchhb2blk()
56 cyl |= ptr->cc; in cchhb2blk()
58 return cyl * geo->heads * geo->sectors + in cchhb2blk()
/linux-4.1.27/drivers/block/
Dhd.c122 unsigned int head, sect, cyl, wpcom, lzone, ctl; member
186 hd_info[hdind].cyl = ints[1]; in hd_setup()
308 unsigned int cyl, in hd_out() argument
330 outb_p(cyl, ++port); in hd_out()
331 outb_p(cyl >> 8, ++port); in hd_out()
384 disk->cyl, ATA_CMD_INIT_DEV_PARAMS, &reset_hd); in reset_hd()
581 unsigned int block, nsect, sec, track, head, cyl; in hd_request() local
622 cyl = track / disk->head; in hd_request()
627 cyl, head, sec, nsect, bio_data(req->bio)); in hd_request()
632 hd_out(disk, nsect, sec, head, cyl, ATA_CMD_PIO_READ, in hd_request()
[all …]
Dida_cmd.h139 __u16 cyl; member
Dsx8.c394 __le16 cyl; member
978 port->dev_geom_cyl = le16_to_cpu(desc->cyl); in carm_handle_array_info()
Dcpqarray.c1759 drv->cylinders = id_ldrive->drv.cyl; in getgeometry()
/linux-4.1.27/drivers/scsi/
Dscsicam.c130 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local
142 cyl = p->cyl + ((p->sector & 0xc0) << 2); in scsi_partsize()
143 if (cyl > largest_cyl) { in scsi_partsize()
144 largest_cyl = cyl; in scsi_partsize()
Dscsi_debug.c3926 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()
3927 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
/linux-4.1.27/drivers/ide/
Dide-disk.c133 unsigned int sect, head, cyl, track; in __ide_do_rw_disk() local
138 cyl = track / drive->head; in __ide_do_rw_disk()
140 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect); in __ide_do_rw_disk()
144 tf->lbam = cyl; in __ide_do_rw_disk()
145 tf->lbah = cyl >> 8; in __ide_do_rw_disk()
370 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.c239 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()
Dide-probe.c55 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()
502 drive->name, drive->cyl, in probe_for_drive()
Dide-io.c159 tf->lbam = drive->cyl; in ide_tf_set_specify_cmd()
160 tf->lbah = drive->cyl >> 8; in ide_tf_set_specify_cmd()
Dide-proc.c469 drive->cyl, drive->head, drive->sect); in ide_geometry_proc_show()
/linux-4.1.27/drivers/mtd/
Dssfdc.c59 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()
Dsm_ftl.h69 unsigned short cyl; member
Dsm_ftl.c651 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
/linux-4.1.27/drivers/s390/block/
Ddasd_eckd.h99 __u16 cyl; member
107 __u16 cyl; member
112 __u16 cyl; member
118 __u16 cyl; member
124 __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()
473 data->search_arg.cyl = data->seek_addr.cyl; in fill_LRE_data()
728 data->search_arg.cyl = data->seek_addr.cyl; in locate_record()
1984 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis()
1999 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis()
2275 ect->cyl = address.cyl; in dasd_eckd_build_format()
2290 ect->cyl = address.cyl; in dasd_eckd_build_format()
2304 ect->cyl = address.cyl; in dasd_eckd_build_format()
[all …]
/linux-4.1.27/include/linux/mtd/
Dnftl.h47 int head,sect,cyl; member
Dinftl.h41 int head,sect,cyl; member
/linux-4.1.27/drivers/memstick/core/
Dms_block.h271 unsigned short cyl; member
Dms_block.c1750 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c1611 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local
1618 cyl = track / dev->heads; in ata_scsi_verify_xlat()
1623 (u32)block, track, cyl, head, sect); in ata_scsi_verify_xlat()
1629 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat()
1635 tf->lbam = cyl; in ata_scsi_verify_xlat()
1636 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
Dlibata-core.c713 u32 cyl, head, sect; in ata_tf_read_block() local
715 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
725 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block()
819 u32 sect, head, cyl, track; in ata_build_rw_tf() local
830 cyl = track / dev->heads; in ata_build_rw_tf()
835 (u32)block, track, cyl, head, sect); in ata_build_rw_tf()
841 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_build_rw_tf()
846 tf->lbam = cyl; in ata_build_rw_tf()
847 tf->lbah = cyl >> 8; in ata_build_rw_tf()
/linux-4.1.27/include/linux/
Dgenhd.h72 unsigned char cyl; /* starting cylinder */ member
Dide.h533 unsigned int cyl; /* "real" number of cyls */ member
/linux-4.1.27/Documentation/
Dkernel-parameters.txt1234 Format: <cyl>,<head>,<sect>