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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/
H A Dieee80211_geo.c52 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0)
56 for (i = 0; i < ieee->geo.bg_channels; i++)
60 if ((ieee->geo.bg[i].channel == channel) &&
61 !(ieee->geo.bg[i].flags & IEEE80211_CH_INVALID) &&
63 !(ieee->geo.bg[i].flags & IEEE80211_CH_B_ONLY)))
67 for (i = 0; i < ieee->geo.a_channels; i++)
68 if ((ieee->geo.a[i].channel == channel) &&
69 !(ieee->geo.a[i].flags & IEEE80211_CH_INVALID))
81 if (ieee->geo
136 ieee80211_set_geo(struct ieee80211_device *ieee, const struct ieee80211_geo *geo) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dibm.c25 cchh2blk (struct vtoc_cchh *ptr, struct hd_geometry *geo) { argument
26 return ptr->cc * geo->heads * geo->sectors +
27 ptr->hh * geo->sectors;
35 cchhb2blk (struct vtoc_cchhb *ptr, struct hd_geometry *geo) { argument
36 return ptr->cc * geo->heads * geo->sectors +
37 ptr->hh * geo->sectors +
49 struct hd_geometry *geo; local
69 if ((geo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/
H A Dbttv-risc.c329 bttv_calc_geo_old(struct bttv *btv, struct bttv_geometry *geo, argument
349 geo->hscale = ((totalwidth*4096UL)/xsf-4096);
350 geo->hdelay = tvnorm->hdelayx1;
351 geo->hdelay = (geo->hdelay*width)/swidth;
352 geo->hdelay &= 0x3fe;
354 geo->vscale = (0x10000UL-sr) & 0x1fff;
355 geo->crop = ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) |
357 geo
373 bttv_calc_geo(struct bttv * btv, struct bttv_geometry * geo, unsigned int width, unsigned int height, int both_fields, const struct bttv_tvnorm * tvnorm, const struct v4l2_rect * crop) argument
429 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_fsops.h21 extern int xfs_fs_geometry(xfs_mount_t *mp, xfs_fsop_geom_t *geo, int nversion);
H A Dxfs_fsops.c55 xfs_fsop_geom_t *geo,
58 geo->blocksize = mp->m_sb.sb_blocksize;
59 geo->rtextsize = mp->m_sb.sb_rextsize;
60 geo->agblocks = mp->m_sb.sb_agblocks;
61 geo->agcount = mp->m_sb.sb_agcount;
62 geo->logblocks = mp->m_sb.sb_logblocks;
63 geo->sectsize = mp->m_sb.sb_sectsize;
64 geo->inodesize = mp->m_sb.sb_inodesize;
65 geo->imaxpct = mp->m_sb.sb_imax_pct;
66 geo
53 xfs_fs_geometry( xfs_mount_t *mp, xfs_fsop_geom_t *geo, int new_version) argument
[all...]
/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/drivers/net/wireless/zd1211rw/
H A Dzd_ieee80211.c165 struct ieee80211_geo geo; local
181 memset(&geo, 0, sizeof(geo));
184 struct ieee80211_channel *chan = &geo.bg[i++];
189 geo.bg_channels = i;
190 memcpy(geo.name, "XX ", 4);
191 ieee80211_set_geo(ieee, &geo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/aoe/
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/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/src/linux/linux-2.6/drivers/s390/block/
H A Dxpram.c242 static int xpram_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
252 geo->cylinders = size >> 6;
253 geo->heads = 4;
254 geo->sectors = 16;
255 geo->start = 4;
H A Ddasd_eckd.c201 struct ch_t geo, beg, end; local
259 geo.cyl = private->rdc_data.no_cyl;
260 geo.head = private->rdc_data.trk_per_cyl;
261 beg.cyl = trk / geo.head;
262 beg.head = trk % geo.head;
263 end.cyl = totrk / geo.head;
264 end.head = totrk % geo.head;
270 if (end.cyl + private->attrib.nr_cyl < geo.cyl)
273 end.cyl = (geo.cyl - 1);
921 dasd_eckd_fill_geometry(struct dasd_device *device, struct hd_geometry *geo) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dblktrans.h48 int (*getgeo)(struct mtd_blktrans_dev *dev, struct hd_geometry *geo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/softmac/
H A Dieee80211softmac_scan.c182 sm->scaninfo->channels = sm->ieee->geo.a;
183 sm->scaninfo->number_channels = sm->ieee->geo.a_channels;
185 sm->scaninfo->channels = sm->ieee->geo.bg;
186 sm->scaninfo->number_channels = sm->ieee->geo.bg_channels;
/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/include/linux/
H A Ddevice-mapper.h192 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo);
193 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dssfdc.c424 static int ssfdcr_getgeo(struct mtd_blktrans_dev *dev, struct hd_geometry *geo) argument
431 geo->heads = ssfdc->heads;
432 geo->sectors = ssfdc->sectors;
433 geo->cylinders = ssfdc->cylinders;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dviodasd.c250 static int viodasd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
255 geo->sectors = d->sectors ? d->sectors : 0;
256 geo->heads = d->tracks ? d->tracks : 64;
257 geo->cylinders = d->cylinders ? d->cylinders :
258 get_capacity(disk) / (geo->cylinders * geo->heads);
/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;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/bcm43xx/
H A Dbcm43xx_wx.c222 const struct ieee80211_geo *geo; local
287 geo = ieee80211_get_geo(bcm->ieee);
288 range->num_channels = geo->a_channels + geo->bg_channels;
290 for (i = 0; i < geo->a_channels; i++) {
294 range->freq[j].m = geo->a[i].freq * 100000;
298 for (i = 0; i < geo->bg_channels; i++) {
302 range->freq[j].m = geo->bg[i].freq * 100000;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/
H A Dcistpl.c1234 static int parse_device_geo(tuple_t *tuple, cistpl_device_geo_t *geo) argument
1244 geo->geo[n].buswidth = p[0];
1245 geo->geo[n].erase_block = 1 << (p[1]-1);
1246 geo->geo[n].read_block = 1 << (p[2]-1);
1247 geo->geo[n].write_block = 1 << (p[3]-1);
1248 geo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Ddm.c282 static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
286 return dm_get_geometry(md, geo);
417 int dm_get_geometry(struct mapped_device *md, struct hd_geometry *geo) argument
419 *geo = md->geometry;
427 int dm_set_geometry(struct mapped_device *md, struct hd_geometry *geo) argument
429 sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors;
431 if (geo->start > sz) {
436 md->geometry = *geo;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/maps/
H A Dpcmciamtd.c437 dev->pcmcia_map.bankwidth = t->geo[0].buswidth;
439 DEBUG(2, "region: %d bankwidth = %u", i, t->geo[i].buswidth);
440 DEBUG(2, "region: %d erase_block = %u", i, t->geo[i].erase_block);
441 DEBUG(2, "region: %d read_block = %u", i, t->geo[i].read_block);
442 DEBUG(2, "region: %d write_block = %u", i, t->geo[i].write_block);
443 DEBUG(2, "region: %d partition = %u", i, t->geo[i].partition);
444 DEBUG(2, "region: %d interleave = %u", i, t->geo[i].interleave);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/
H A Dhd.c661 static int hd_getgeo(struct block_device *bdev, struct hd_geometry *geo) argument
665 geo->heads = disk->head;
666 geo->sectors = disk->sect;
667 geo->cylinders = disk->cyl;

Completed in 328 milliseconds

123