/drivers/mtd/ |
H A D | sm_ftl.h | 69 unsigned short cyl; member in struct:chs_entry
|
H A D | ssfdc.c | 59 unsigned short cyl; member in struct:__anon2640 77 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, argument 88 if (cyl) 89 *cyl = chs_table[k].cyl;
|
/drivers/scsi/ |
H A D | scsicam.c | 130 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;
|
/drivers/ide/ |
H A D | ide.c | 240 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 D | ide-disk.c | 133 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; 370 drive->capacity64 = drive->cyl * drive->head * drive->sect; 711 unsigned int cylsz, cyl; local 717 cyl = cap0 / cylsz; 718 if (cyl > 65535) 719 cyl [all...] |
/drivers/block/ |
H A D | hd.c | 65 #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 D | ida_cmd.h | 139 __u16 cyl; member in struct:__anon317
|
H A D | sx8.c | 394 __le16 cyl; member in struct:carm_array_info 978 port->dev_geom_cyl = le16_to_cpu(desc->cyl);
|
/drivers/ata/ |
H A D | libata-scsi.c | 1360 tf->lbam = 0x0; /* cyl low */ 1361 tf->lbah = 0x0; /* cyl high */ 1598 u32 sect, head, cyl, track; local 1605 cyl = track / dev->heads; 1609 DPRINTK("block %u track %u cyl %u head %u sect %u\n", 1610 (u32)block, track, cyl, head, sect); 1616 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) 1622 tf->lbam = cyl; 1623 tf->lbah = cyl >> 8;
|
H A D | libata-core.c | 710 u32 cyl, head, sect; local 712 cyl = tf->lbam | (tf->lbah << 8); 722 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; 816 u32 sect, head, cyl, track; local 827 cyl = track / dev->heads; 831 DPRINTK("block %u track %u cyl %u head %u sect %u\n", 832 (u32)block, track, cyl, head, sect); 838 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect)) 843 tf->lbam = cyl; 844 tf->lbah = cyl >> [all...] |
/drivers/memstick/core/ |
H A D | ms_block.h | 271 unsigned short cyl; member in struct:chs_entry
|
/drivers/s390/block/ |
H A D | dasd_eckd.h | 99 __u16 cyl; member in struct:eckd_count 107 __u16 cyl; member in struct:ch_t 112 __u16 cyl; member in struct:chs_t 118 __u16 cyl; member in struct:chr_t 124 __u16 cyl; member in struct:geom_t
|
H A D | dasd_eckd.c | 202 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) argument 204 geo->cyl = (__u16) cyl; 205 geo->head = cyl >> 16; 473 data->search_arg.cyl = data->seek_addr.cyl; 728 data->search_arg.cyl = data->seek_addr.cyl; 1987 private->count_area[i].cyl != 0 || 2002 private->count_area[i].cyl ! [all...] |