Searched refs:cyl (Results 1 – 11 of 11) sorted by relevance
/drivers/scsi/ |
D | scsicam.c | 64 int cyl, ext_cyl, end_head, end_cyl, end_sector; in scsi_partsize() local 84 cyl = p->cyl + ((p->sector & 0xc0) << 2); in scsi_partsize() 85 if (cyl > largest_cyl) { in scsi_partsize() 86 largest_cyl = cyl; in scsi_partsize()
|
D | scsi_debug.c | 5450 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts() 5451 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
|
/drivers/mtd/ |
D | ssfdc.c | 56 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()
|
D | sm_ftl.h | 63 unsigned short cyl; member
|
D | sm_ftl.c | 645 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
|
/drivers/s390/block/ |
D | dasd_eckd.c | 203 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) in set_ch_t() argument 205 geo->cyl = (__u16) cyl; in set_ch_t() 206 geo->head = cyl >> 16; in set_ch_t() 220 u32 cyl; in dasd_eckd_track_from_irb() local 237 cyl = sense[30] << 20; in dasd_eckd_track_from_irb() 238 cyl |= (sense[31] & 0xF0) << 12; in dasd_eckd_track_from_irb() 239 cyl |= sense[28] << 8; in dasd_eckd_track_from_irb() 240 cyl |= sense[29]; in dasd_eckd_track_from_irb() 242 cyl = sense[29] << 8; in dasd_eckd_track_from_irb() 243 cyl |= sense[30]; in dasd_eckd_track_from_irb() [all …]
|
D | dasd_eckd.h | 135 __u16 cyl; member 143 __u16 cyl; member 148 __u16 cyl; member
|
/drivers/memstick/core/ |
D | ms_block.h | 268 unsigned short cyl; member
|
D | ms_block.c | 1756 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
|
/drivers/ata/ |
D | libata-core.c | 641 u32 cyl, head, sect; in ata_tf_read_block() local 643 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block() 653 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block() 752 u32 sect, head, cyl, track; in ata_build_rw_tf() local 763 cyl = track / dev->heads; in ata_build_rw_tf() 768 (u32)block, track, cyl, head, sect); in ata_build_rw_tf() 774 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_build_rw_tf() 779 tf->lbam = cyl; in ata_build_rw_tf() 780 tf->lbah = cyl >> 8; in ata_build_rw_tf()
|
D | libata-scsi.c | 1452 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local 1459 cyl = track / dev->heads; in ata_scsi_verify_xlat() 1464 (u32)block, track, cyl, head, sect); in ata_scsi_verify_xlat() 1470 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) in ata_scsi_verify_xlat() 1476 tf->lbam = cyl; in ata_scsi_verify_xlat() 1477 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
|