Searched refs:geo (Results 1 - 25 of 69) sorted by path

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavdevice/
H A Dbktr.c94 struct meteor_geomet geo; local
143 geo.rows = height;
144 geo.columns = width;
145 geo.frames = 1;
146 geo.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_YUV_12;
159 geo.oformat |= METEOR_GEO_EVEN_ONLY;
161 if (ioctl(*video_fd, METEORSETGEO, &geo) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Ddevice.c575 { struct hd_geometry geo; local
577 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
579 geo.start, geo.start);
580 return geo.start;
608 { struct hd_geometry geo; local
610 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
612 (unsigned)geo.heads,
613 (unsigned)geo.heads);
614 return geo
642 { struct hd_geometry geo; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dbte_error.c14 #include <asm/sn/geo.h>
H A Dhuberror.c16 #include <asm/sn/geo.h>
H A Dio_common.c13 #include <asm/sn/geo.h>
H A Dsetup.c51 #include <asm/sn/geo.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/sn2/
H A Dsn_hwperf.c45 #include <asm/sn/geo.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/pci/pcibr/
H A Dpcibr_dma.c12 #include <asm/sn/geo.h>
H A Dpcibr_provider.c13 #include <asm/sn/geo.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dubd_kern.c116 static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo);
1134 static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1138 geo->heads = 128;
1139 geo->sectors = 32;
1140 geo->cylinders = ubd_dev->size / (128 * 32 * 512);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/
H A Dioctl.c257 struct hd_geometry geo; local
268 geo.start = get_start_sect(bdev);
269 ret = disk->fops->getgeo(bdev, &geo);
272 if (copy_to_user((struct hd_geometry __user *)arg, &geo,
273 sizeof(geo)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/
H A Dmfmhd.c1132 static int mfm_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1136 geo->heads = p->heads;
1137 geo->sectors = p->sectors;
1138 geo->cylinders = p->cylinders;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A DDAC960.c97 static int DAC960_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
104 geo->heads = p->V1.GeometryTranslationHeads;
105 geo->sectors = p->V1.GeometryTranslationSectors;
106 geo->cylinders = p->V1.LogicalDriveInformation[drive_nr].
107 LogicalDriveSize / (geo->heads * geo->sectors);
113 geo->heads = 128;
114 geo->sectors = 32;
117 geo->heads = 255;
118 geo
[all...]
H A Dacsi.c1084 static int acsi_getgeo(struct block_device *bdev, struct hd_geometry *geo)
1092 geo->heads = 64;
1093 geo->sectors = 32;
1094 geo->cylinders = aip->size >> 11;
1080 acsi_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
H A Damiflop.c1421 static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1425 geo->heads = unit[drive].type->heads;
1426 geo->sectors = unit[drive].dtype->sects * unit[drive].type->sect_mult;
1427 geo->cylinders = unit[drive].type->tracks;
H A Dcciss.c146 static int cciss_getgeo(struct block_device *bdev, struct hd_geometry *geo);
664 static int cciss_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
671 geo->heads = drv->heads;
672 geo->sectors = drv->sectors;
673 geo->cylinders = drv->cylinders;
H A Dcpqarray.c161 static int ida_getgeo(struct block_device *bdev, struct hd_geometry *geo);
1132 static int ida_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1137 geo->heads = drv->heads;
1138 geo->sectors = drv->sectors;
1139 geo->cylinders = drv->cylinders;
1141 geo->heads = 0xff;
1142 geo->sectors = 0x3f;
1143 geo->cylinders = drv->nr_blks / (0xff*0x3f);
H A Dfloppy.c3415 static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
3426 geo->heads = g->head;
3427 geo->sectors = g->sect;
3428 geo->cylinders = g->track;
H A Dps2esdi.c83 static int ps2esdi_getgeo(struct block_device *bdev, struct hd_geometry *geo);
1019 static int ps2esdi_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
1023 geo->heads = p->head;
1024 geo->sectors = p->sect;
1025 geo->cylinders = p->cyl;
H A Dsx8.c404 static int carm_bdev_getgeo(struct block_device *bdev, struct hd_geometry *geo);
430 static int carm_bdev_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
434 geo->heads = (u8) port->dev_geom_head;
435 geo->sectors = (u8) port->dev_geom_sect;
436 geo->cylinders = port->dev_geom_cyl;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/aoe/
H A Daoe.h142 struct hd_geometry geo; member in struct:aoedev
H A Daoeblk.c179 aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
188 geo->cylinders = d->geo.cylinders;
189 geo->heads = d->geo.heads;
190 geo->sectors = d->geo.sectors;
H A Daoecmd.c460 d->geo.cylinders = ssize;
461 d->geo.cylinders /= (255 * 63);
462 d->geo.heads = 255;
463 d->geo.sectors = 63;
471 d->geo.cylinders = le16_to_cpu(get_unaligned((__le16 *) &id[54<<1]));
472 d->geo.heads = le16_to_cpu(get_unaligned((__le16 *) &id[55<<1]));
473 d->geo.sectors = le16_to_cpu(get_unaligned((__le16 *) &id[56<<1]));
482 d->geo.start = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpd.c19 drive3 <prt>,<pro>,<uni>,<mod>,<geo>,<sby>,<dly>,<slv>
41 <geo> this defaults to 0 to indicate that the driver
748 static int pd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
753 geo->heads = PD_LOG_HEADS;
754 geo->sectors = PD_LOG_SECTS;
755 geo->cylinders = disk->capacity / (geo->heads * geo->sectors);
757 geo->heads = disk->heads;
758 geo
[all...]
H A Dpf.c208 static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo);
318 static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
324 geo->cylinders = sector_div(capacity, PF_FD_HDS * PF_FD_SPT);
325 geo->heads = PF_FD_HDS;
326 geo->sectors = PF_FD_SPT;
328 geo->cylinders = sector_div(capacity, PF_HD_HDS * PF_HD_SPT);
329 geo->heads = PF_HD_HDS;
330 geo->sectors = PF_HD_SPT;

Completed in 192 milliseconds

123