Searched refs:cyls (Results 1 - 15 of 15) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dscsicam.h17 unsigned int *cyls, unsigned int *hds, unsigned int *secs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsicam.c24 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds,
103 * capacity,unsigned int *cyls, unsigned int *hds, unsigned int *secs);
106 * table, storing the results in *cyls, *hds, and *secs
113 unsigned int *cyls, unsigned int *hds, unsigned int *secs)
171 *cyls = capacity / ((end_head + 1) * end_sector);
184 * Function : static int setsize(unsigned long capacity,unsigned int *cyls,
189 * the results in *cyls, *hds, and *secs.
217 static int setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, argument
242 *cyls = (unsigned int) cylinders; /* Stuff return values */
112 scsi_partsize(unsigned char *buf, unsigned long capacity, unsigned int *cyls, unsigned int *hds, unsigned int *secs) argument
H A Dgdth.c428 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs);
801 static void gdth_eval_mapping(ulong32 size, ulong32 *cyls, int *heads, int *secs) argument
803 *cyls = size /HEADS/SECS;
804 if (*cyls <= MAXCYLS) {
808 *cyls = size /MEDHEADS/MEDSECS;
809 if (*cyls <= MAXCYLS) {
813 *cyls = size /BIGHEADS/BIGSECS;
4929 TRACE2(("gdth_bios_param(): %d heads, %d secs, %d cyls\n",
5269 int hanum, cyls, hds, secs; local
5328 gdth_eval_mapping(ha->hdr[i].size,&cyls,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmpartition.c177 * Function : static int setsize(unsigned long capacity,unsigned int *cyls,
182 * the results in *cyls, *hds, and *secs.
210 static int setsize(unsigned long capacity,unsigned int *cyls,unsigned int *hds, argument
233 *cyls = (unsigned int) cylinders; /* Stuff return values */
239 static void setsize0(unsigned long capacity,unsigned int *cyls, argument
246 *cyls = capacity >> 11;
253 r = setsize(capacity,cyls,hds,secs);
256 *cyls = capacity >> 11;
H A Ddevices.c875 SET_INT(gdbuf.params.cyls,dev->ntracks);
878 dev->ntracks = gdbuf.params.cyls;
H A Dmformat.c579 static int old_dos_size_to_geom(size_t size, int *cyls, int *heads, int *sects) argument
587 *cyls = old_dos[i].tracks;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-floppy.c162 u16 cyls; /* Number of cylinders */ member in struct:__anon4436
1282 page->cyls = ntohs(page->cyls);
1284 capacity = page->cyls * page->heads * page->sectors * page->sector_size;
1288 drive->name, capacity / 1024, page->cyls,
1293 drive->bios_cyl = page->cyls;
H A Dide-disk.c123 if (id->cyls == 0)
130 * Some drives can be jumpered to use 4092 cyls instead of 16383.
132 if ((id->cyls == 16383
133 || (id->cyls == 4092 && id->cur_cyls == 16383)) &&
140 chs_sects = id->cyls * id->heads * id->sectors;
H A Dide-probe.c67 drive->id->cyls = drive->cyl;
81 drive->cyl = drive->bios_cyl = id->cyls;
96 drive->cyl = id->cyls;
H A Dide-iops.c317 id->cyls = __le16_to_cpu(id->cyls);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dhdreg.h451 unsigned short cyls; /* Obsolete, "physical" cyls */ member in struct:hd_driveid
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Disd200.c1023 US_DEBUGP(" cyls = 0x%x\n", id->cyls);
1201 id->cyls *
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A Di2o_block.c570 static void i2o_block_biosparam(unsigned long capacity, unsigned short *cyls, argument
589 *cyls = (unsigned short)cylinders; /* Stuff return values */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dubd_kern.c1149 .cyls = 0,
1157 ubd_id.cyls = ubd_dev->size / (128 * 32 * 512);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Dhdparm.c1124 id->cyls, id->heads, id->sectors, id->track_bytes,

Completed in 232 milliseconds