Searched refs:heads (Results 26 - 50 of 118) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dxd.h85 u_char heads; member in struct:__anon4163
131 static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc);
H A Dcciss.h32 int heads; member in struct:_drive_info_struct
H A Damiflop.c1071 if (hdr.track != unit[drive].track/unit[drive].type->heads) {
1074 unit[drive].track/unit[drive].type->heads);
1078 if (hdr.side != unit[drive].track%unit[drive].type->heads) {
1081 unit[drive].track%unit[drive].type->heads);
1171 hdr.track=unit[drive].track/unit[drive].type->heads;
1172 hdr.side=unit[drive].track%unit[drive].type->heads;
1425 geo->heads = unit[drive].type->heads;
1458 if (param < unit[drive].type->tracks * unit[drive].type->heads)
1479 getprm.head=unit[drive].type->heads;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dibm.c26 return ptr->cc * geo->heads * geo->sectors +
36 return ptr->cc * geo->heads * geo->sectors +
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/dpt/
H A Ddpti_ioctl.h93 unsigned heads; /* heads for drives on cntlr. */ member in struct:__anon6489
H A Dsys_info.h83 uCHAR heads; /* Upto 255 */ member in struct:driveParam_S::__anon6492
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dps2esdi.h92 unsigned char heads; member in struct:ps2esdi_geometry
H A Dhdreg.h378 unsigned char heads; member in struct:hd_geometry
453 unsigned short heads; /* Obsolete, "physical" heads */ member in struct:hd_driveid
489 unsigned short cur_heads; /* Obsolete, l heads */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dfloppyd_io.c363 dev->heads = WORD(nheads);
367 sect_per_track = dev->heads * dev->sectors;
373 dev->heads = old_dos[media].heads;
383 This->size = (mt_off_t) 512 * dev->sectors * dev->tracks * dev->heads;
H A Dplain_io.c186 dev->heads = WORD(nheads);
190 sect_per_track = dev->heads * dev->sectors;
199 dev->heads = 1;
203 fprintf(stderr, "The devil is in the details: zero number of heads or sectors\n");
237 dev->heads = old_dos[media].heads;
251 printf("file_geom:media=%0X=>cyl=%d,heads=%d,sects=%d,ssize=%d,use2m=%X\n",
252 media, dev->tracks, dev->heads, dev->sectors, dev->ssize,
725 dev->heads = head(partTable[dev->partition].end)+1;
H A Dmcat.c142 size = out_dev.sectors * out_dev.heads * out_dev.tracks;
H A Dmclasserase.c155 sector_size = WORD(secsiz) * dev.heads;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpd.c44 a logical geometry with 64 heads and 32 sectors
224 int heads; /* physical geometry */ member in struct:pd_unit
338 h = (block /= disk->sectors) % disk->heads;
339 c0 = (block /= disk->heads) % 256;
584 pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0,
667 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6));
672 disk->capacity = disk->sectors * disk->heads * disk->cylinders;
688 disk->cylinders, disk->heads, disk->sectors,
753 geo->heads = PD_LOG_HEADS;
755 geo->cylinders = disk->capacity / (geo->heads * ge
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_operate.c111 struct OutStruct heads; local
122 memset(&heads, 0, sizeof(struct OutStruct));
123 heads.stream = stdout;
124 heads.config = config;
364 heads.filename = config->headerfile;
365 heads.s_isreg = TRUE;
366 heads.fopened = TRUE;
367 heads.stream = newfile;
1178 my_setopt(curl, CURLOPT_HEADERDATA, config->headerfile?&heads:NULL);
1539 if(heads
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aacraid/
H A Dlinit.c298 * The default disk geometry is 64 heads, 32 sectors, and the appropriate
304 * geometry of 128 heads and 32 sectors, and drives above 2 GB inclusive
305 * are given a disk geometry of 255 heads and 63 sectors. However, if
325 param->heads = 255;
328 param->heads = 128;
332 param->heads = 64;
336 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors);
359 param->heads = 64;
363 param->heads = 128;
367 param->heads
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dinftlcore.c92 inftl->heads = 16;
94 temp = inftl->cylinders * inftl->heads;
99 inftl->heads = inftl->mbd.size / temp;
102 inftl->heads++;
103 temp = inftl->heads * inftl->sectors;
108 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) {
111 mbd.size == heads * cylinders * sectors
117 inftl->cylinders, inftl->heads , inftl->sectors,
118 (long)inftl->cylinders * (long)inftl->heads *
934 geo->heads
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Ddevice.c590 * ntfs_device_heads_get - get number of heads of device
593 * On success, return the number of heads on the device @dev. On error return
611 ntfs_log_debug("HDIO_GETGEO heads = %u (0x%x)\n",
612 (unsigned)geo.heads,
613 (unsigned)geo.heads);
614 return geo.heads;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dpsi_chip.h174 USHORT heads; // number of heads member in struct:__anon6893
H A Dultrastor.c235 unsigned char heads; member in struct:ultrastor_config
279 unsigned char heads; member in struct:__anon7017
455 config.heads = mapping_table[config_2.mapping_mode].heads;
585 config.heads = mapping_table[(config_2 >> 3) & 3].heads;
1010 unsigned int s = config.heads * config.sectors;
1012 dkinfo[0] = config.heads;
H A Dpsi240i.c80 USHORT heads; // number of heads member in struct:__anon6887
606 HOSTDATA(pshost)->device[unit].heads = ChipSetup.setupDevice[unit].heads;
613 DEB (printk ("\n heads = %X", HOSTDATA(pshost)->device[unit].heads));
668 geom[0] = pdev->heads;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A Di2o_block.c573 unsigned long heads, sectors, cylinders; local
577 heads = 16;
579 heads = 32;
581 heads = 64;
583 heads = 128;
585 heads = 255;
587 cylinders = (unsigned long)capacity / (heads * sectors);
591 *hds = (unsigned char)heads;
667 &geo->cylinders, &geo->heads, &geo->sectors);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/aoe/
H A Daoeblk.c189 geo->heads = d->geo.heads;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/
H A Dntfs.c41 uint16_t heads; member in struct:ntfs_super_block
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Disd200.c1024 US_DEBUGP(" heads = 0x%x\n", id->heads);
1200 capacity = (id->heads *
1227 id->heads));
1229 id->heads);
1258 cylinder = (unsigned short)(lba / (id->sectors * id->heads));
1259 head = (unsigned char)((lba / id->sectors) % id->heads);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-probe.c68 drive->id->heads = drive->head;
82 drive->head = drive->bios_head = id->heads;
95 if (drive->head > 16 && id->heads && id->heads <= 16) {
97 drive->head = id->heads;

Completed in 308 milliseconds

12345