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

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/
H A Dpartition.h22 unsigned char cyl; /* starting cylinder */ member in struct:hsc
27 #define cyl(x) ((unsigned int)((x).cyl | (((x).sector & 0xc0)<<2))) macro
H A Dmpartition.c44 (sector(x)-1+(head(x)+cyl(x)*used_dev->heads)*used_dev->sectors)
50 head(*h), sector(*h), cyl(*h));
55 int head, sector, cyl; local
58 head = sector = cyl = 0; /* linear mode */
64 cyl = offset / heads;
65 if(cyl > 1023) cyl = 1023;
69 h->sector = ((sector+1) & 0x3f) | ((cyl & 0x300)>>2);
70 h->cyl = cyl
[all...]
H A Dplain_io.c251 printf("file_geom:media=%0X=>cyl=%d,heads=%d,sects=%d,ssize=%d,use2m=%X\n",
727 dev->tracks = cyl(partTable[dev->partition].end) -
728 cyl(partTable[dev->partition].start)+1;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dfdformat.c51 int fd, n, cyl, read_bytes, verify; local
105 for (cyl = 0; cyl < param.track; cyl++) {
106 printf("%3d\b\b\b", cyl);
113 "expected %d, read %d", cyl, n, read_bytes);
118 printf("bad data in cyl %d\nContinuing... ",cyl);
H A Dfdisk.c76 unsigned char cyl; /* starting cylinder */ member in struct:partition
503 STATIC_SUN void sun_set_ncyl(int cyl);
853 return !(!p || p->boot_ind || p->head || p->sector || p->cyl ||
886 set_hsc(p->head, p->sector, p->cyl, start);
1712 pbc = (p->cyl & 0xff) | ((p->sector << 2) & 0x300);
2009 cylinder(p->sector, p->cyl), p->end_head,
H A Dfdisk_sun.c319 "%s%s%s cyl %d alt %d hd %d sec %d",
507 /* ewt asks to add: "don't start a partition at cyl 0"
631 "%d extra sects/cyl, interleave %d:1\n"
678 sun_set_ncyl(int cyl) argument
680 sunlabel->ncyl = SUN_SSWAP16(cyl);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/partitions/
H A Dibm.c22 * cyl-cyl-head-head structure
27 sector_t cyl; local
31 cyl = ptr->hh & 0xFFF0;
32 cyl <<= 12;
33 cyl |= ptr->cc;
35 return cyl * geo->heads * geo->sectors +
41 * cyl-cyl-head-head-block structure
46 sector_t cyl; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dscsicam.c131 int cyl, ext_cyl, end_head, end_cyl, end_sector; local
143 cyl = p->cyl + ((p->sector & 0xc0) << 2);
144 if (cyl > largest_cyl) {
145 largest_cyl = cyl;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/
H A Dhd.c66 #define HD_HCYL 0x1f5 /* high byte of starting cyl */
123 unsigned int head, sect, cyl, wpcom, lzone, ctl; member in struct:hd_i_struct
187 hd_info[hdind].cyl = ints[1];
309 unsigned int cyl,
331 outb_p(cyl, ++port);
332 outb_p(cyl >> 8, ++port);
385 disk->cyl, ATA_CMD_INIT_DEV_PARAMS, &reset_hd);
582 unsigned int block, nsect, sec, track, head, cyl; local
623 cyl = track / disk->head;
628 cyl, hea
305 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.h136 __u16 cyl; member in struct:__anon11010
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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:__anon12396
77 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, argument
88 if (cyl)
89 *cyl = chs_table[k].cyl;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/
H A Dinftl.h41 int head,sect,cyl; member in struct:INFTLrecord
H A Dnftl.h47 int head,sect,cyl; member in struct:NFTLrecord
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/block/
H A Ddasd_eckd.h64 __u16 cyl; member in struct:eckd_count
72 __u16 cyl; member in struct:ch_t
77 __u16 cyl; member in struct:chs_t
83 __u16 cyl; member in struct:chr_t
89 __u16 cyl; member in struct:geom_t
H A Ddasd_eckd.c169 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head) argument
171 geo->cyl = (__u16) cyl;
172 geo->head = cyl >> 16;
417 data->search_arg.cyl = data->seek_addr.cyl;
660 data->search_arg.cyl = data->seek_addr.cyl;
1650 ect->cyl = address.cyl;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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;
367 drive->capacity64 = drive->cyl * drive->head * drive->sect;
702 unsigned int cylsz, cyl; local
708 cyl = cap0 / cylsz;
709 if (cyl > 65535)
710 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.c452 drive->cyl, drive->head, drive->sect);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/
H A Dgeom.c202 __u64 cyl = (*cyls); local
203 __u64 chs = cyl * hs;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/
H A Dlibata-scsi.c1320 tf->lbam = 0x0; /* cyl low */
1321 tf->lbah = 0x0; /* cyl high */
1558 u32 sect, head, cyl, track; local
1565 cyl = track / dev->heads;
1569 DPRINTK("block %u track %u cyl %u head %u sect %u\n",
1570 (u32)block, track, cyl, head, sect);
1576 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
1582 tf->lbam = cyl;
1583 tf->lbah = cyl >> 8;
H A Dlibata-core.c709 u32 cyl, head, sect; local
711 cyl = tf->lbam | (tf->lbah << 8);
721 block = (cyl * dev->heads + head) * dev->sectors + sect - 1;
815 u32 sect, head, cyl, track; local
826 cyl = track / dev->heads;
830 DPRINTK("block %u track %u cyl %u head %u sect %u\n",
831 (u32)block, track, cyl, head, sect);
837 if ((cyl >> 16) || (head >> 4) || (sect >> 8) || (!sect))
842 tf->lbam = cyl;
843 tf->lbah = cyl >>
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dgenhd.h72 unsigned char cyl; /* starting cylinder */ member in struct:partition

Completed in 248 milliseconds

12