Searched refs:cyl (Results 1 - 18 of 18) sorted by relevance

/drivers/scsi/
H A Dscsicam.c130 int cyl, ext_cyl, end_head, end_cyl, end_sector; local
142 cyl = p->cyl + ((p->sector & 0xc0) << 2);
143 if (cyl > largest_cyl) {
144 largest_cyl = cyl;
H A Dscsi_debug.c2654 pp->cyl = start_sec / heads_by_sects;
2655 pp->head = (start_sec - (pp->cyl * heads_by_sects))
/drivers/block/
H A Dhd.c65 #define HD_HCYL 0x1f5 /* high byte of starting cyl */
122 unsigned int head, sect, cyl, wpcom, lzone, ctl; member in struct:hd_i_struct
186 hd_info[hdind].cyl = ints[1];
308 unsigned int cyl,
330 outb_p(cyl, ++port);
331 outb_p(cyl >> 8, ++port);
384 disk->cyl, ATA_CMD_INIT_DEV_PARAMS, &reset_hd);
581 unsigned int block, nsect, sec, track, head, cyl; local
622 cyl = track / disk->head;
627 cyl, hea
304 hd_out(struct hd_i_struct *disk, unsigned int nsect, unsigned int sect, unsigned int head, unsigned int cyl, unsigned int cmd, void (*intr_addr)(void)) argument
[all...]
H A Dida_cmd.h139 __u16 cyl; member in struct:__anon303
H A Dsx8.c394 __le16 cyl; member in struct:carm_array_info
978 port->dev_geom_cyl = le16_to_cpu(desc->cyl);
H A Dcpqarray.c1760 drv->cylinders = id_ldrive->drv.cyl;
/drivers/mtd/
H A Dsm_ftl.h69 unsigned short cyl; member in struct:chs_entry
H A Dssfdc.c59 unsigned short cyl; member in struct:__anon1804
77 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, argument
88 if (cyl)
89 *cyl = chs_table[k].cyl;
H A Dsm_ftl.c655 ftl->cylinders = chs_table[i].cyl;
/drivers/ide/
H A Dide.c240 unsigned int cyl; member in struct:chs_geom
271 ide_disks_chs[i].cyl = c;
316 drive->cyl = drive->bios_cyl = ide_disks_chs[i].cyl;
322 drive->cyl, drive->head, drive->sect);
H A Dide-disk.c133 unsigned int sect, head, cyl, track; local
138 cyl = track / drive->head;
140 pr_debug("%s: CHS=%u/%u/%u\n", drive->name, cyl, head, sect);
144 tf->lbam = cyl;
145 tf->lbah = cyl >> 8;
371 drive->capacity64 = drive->cyl * drive->head * drive->sect;
710 unsigned int cylsz, cyl; local
716 cyl = cap0 / cylsz;
717 if (cyl > 65535)
718 cyl
[all...]
H A Dide-probe.c55 id[ATA_ID_CUR_CYLS] = id[ATA_ID_CYLS] = drive->cyl;
65 if (!drive->cyl || !drive->head || !drive->sect) {
66 drive->cyl = drive->bios_cyl = id[ATA_ID_CYLS];
73 drive->cyl = id[ATA_ID_CUR_CYLS];
80 drive->cyl = id[ATA_ID_CYLS];
502 drive->name, drive->cyl,
H A Dide-io.c159 tf->lbam = drive->cyl;
160 tf->lbah = drive->cyl >> 8;
H A Dide-proc.c469 drive->cyl, drive->head, drive->sect);
/drivers/s390/block/
H A Ddasd_eckd.h73 __u16 cyl; member in struct:eckd_count
81 __u16 cyl; member in struct:ch_t
86 __u16 cyl; member in struct:chs_t
92 __u16 cyl; member in struct:chr_t
98 __u16 cyl; member in struct:geom_t
H A Ddasd_eckd.c190 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) argument
192 geo->cyl = (__u16) cyl;
193 geo->head = cyl >> 16;
461 data->search_arg.cyl = data->seek_addr.cyl;
716 data->search_arg.cyl = data->seek_addr.cyl;
2158 ect->cyl = address.cyl;
[all...]
/drivers/ata/
H A Dlibata-scsi.c1337 tf->lbam = 0x0; /* cyl low */
1338 tf->lbah = 0x0; /* cyl high */
1575 u32 sect, head, cyl, track; local
1582 cyl = track / dev->heads;
1586 DPRINTK("block %u track %u cyl %u head %u sect %u\n",
1587 (u32)block, track, cyl, head, sect);
1593 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
1599 tf->lbam = cyl;
1600 tf->lbah = cyl >> 8;
H A Dlibata-core.c706 u32 cyl, head, sect; local
708 cyl = tf->lbam | (tf->lbah << 8);
718 block = (cyl * dev->heads + head) * dev->sectors + sect - 1;
812 u32 sect, head, cyl, track; local
823 cyl = track / dev->heads;
827 DPRINTK("block %u track %u cyl %u head %u sect %u\n",
828 (u32)block, track, cyl, head, sect);
834 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
839 tf->lbam = cyl;
840 tf->lbah = cyl >>
[all...]

Completed in 7149 milliseconds