Searched refs:oi (Results 1 - 16 of 16) sorted by relevance

/drivers/input/misc/
H A Dgpio_output.c26 struct gpio_event_output_info *oi; local
27 oi = container_of(info, struct gpio_event_output_info, info);
28 if (type != oi->type)
30 if (!(oi->flags & GPIOEDF_ACTIVE_HIGH))
32 for (i = 0; i < oi->keymap_size; i++)
33 if (dev == oi->keymap[i].dev && code == oi->keymap[i].code)
34 gpio_set_value(oi->keymap[i].gpio, value);
44 struct gpio_event_output_info *oi; local
45 oi
[all...]
/drivers/media/pci/ivtv/
H A Divtvfb.c219 struct osd_info *oi = itv->osd_info; local
224 osd->offset = data[0] - oi->video_rbase;
225 osd->max_offset = oi->display_width * oi->display_height * 4;
235 struct osd_info *oi = itv->osd_info; local
237 oi->display_width = osd->pixel_stride;
238 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel;
239 oi->set_osd_coords_x += osd->x;
240 oi
337 struct osd_info *oi = itv->osd_info; local
516 struct osd_info *oi = itv->osd_info; local
630 struct osd_info *oi = itv->osd_info; local
652 struct osd_info *oi = itv->osd_info; local
960 struct osd_info *oi = itv->osd_info; local
978 struct osd_info *oi = itv->osd_info; local
1101 struct osd_info *oi = itv->osd_info; local
1167 struct osd_info *oi = itv->osd_info; local
1264 struct osd_info *oi = itv->osd_info; local
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlustre_fid.h584 static inline void ostid_build_res_name(struct ost_id *oi, argument
588 if (fid_seq_is_mdt0(ostid_seq(oi))) {
589 name->name[LUSTRE_RES_ID_SEQ_OFF] = ostid_id(oi);
590 name->name[LUSTRE_RES_ID_VER_OID_OFF] = ostid_seq(oi);
592 fid_build_reg_res_name(&oi->oi_fid, name);
596 static inline void ostid_res_name_to_id(struct ost_id *oi, argument
601 ostid_set_seq(oi, name->name[LUSTRE_RES_ID_VER_OID_OFF]);
602 ostid_set_id(oi, name->name[LUSTRE_RES_ID_SEQ_OFF]);
605 fid_extract_from_res_name(&oi->oi_fid, name);
612 static inline int ostid_res_name_eq(struct ost_id *oi, argument
631 struct ost_id oi; local
646 struct ost_id oi; local
[all...]
H A Dlustre_log.h90 fid->f_seq = id->lgl_oi.oi.oi_seq;
91 fid->f_oid = id->lgl_oi.oi.oi_id;
94 lu_igif_build(fid, id->lgl_oi.oi.oi_id, id->lgl_ogen);
100 id->lgl_oi.oi.oi_seq = fid->f_seq;
101 id->lgl_oi.oi.oi_id = fid->f_oid;
107 log_id->lgl_oi.oi.oi_id = id;
112 return log_id->lgl_oi.oi.oi_id;
/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_idl.h561 if (fid_seq_is_mdt0(ostid->oi.oi_seq))
564 if (fid_seq_is_default(ostid->oi.oi_seq))
577 return ostid->oi.oi_id & IDIF_OID_MASK;
586 static inline void ostid_set_seq(struct ost_id *oi, __u64 seq) argument
589 oi->oi.oi_seq = seq;
591 oi->oi_fid.f_seq = seq;
595 if (oi->oi_fid.f_oid == 0 && oi->oi_fid.f_ver == 0)
596 oi
600 ostid_set_seq_mdt0(struct ost_id *oi) argument
605 ostid_set_seq_echo(struct ost_id *oi) argument
610 ostid_set_seq_llog(struct ost_id *oi) argument
619 ostid_set_id(struct ost_id *oi, __u64 oid) argument
638 ostid_inc_id(struct ost_id *oi) argument
651 ostid_dec_id(struct ost_id *oi) argument
1542 fid_to_lmm_oi(const struct lu_fid *fid, struct ost_id *oi) argument
1549 lmm_oi_set_seq(struct ost_id *oi, __u64 seq) argument
1554 lmm_oi_id(struct ost_id *oi) argument
1559 lmm_oi_seq(struct ost_id *oi) argument
[all...]
H A Dlustre_user.h177 } oi; member in union:ost_id::__anon6566
183 #define POSTID(oi) ostid_seq(oi), ostid_id(oi)
/drivers/video/fbdev/omap2/dss/
H A Dmanager.c249 struct omap_overlay_info *oi; local
252 oi = overlay_infos[ovl->id];
254 if (oi == NULL)
257 r = dss_ovl_check(ovl, oi, mgr_timings);
H A Ddispc.c2374 const struct omap_overlay_info *oi,
2381 u16 in_height = oi->height;
2382 u16 in_width = oi->width;
2385 int pos_x = oi->pos_x;
2389 out_width = oi->out_width == 0 ? oi->width : oi->out_width;
2390 out_height = oi->out_height == 0 ? oi->height : oi
2373 dispc_ovl_check(enum omap_plane plane, enum omap_channel channel, const struct omap_overlay_info *oi, const struct omap_video_timings *timings, int *x_predecim, int *y_predecim) argument
2570 dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi, bool replication, const struct omap_video_timings *mgr_timings, bool mem_to_mem) argument
[all...]
H A Dapply.c211 struct omap_overlay_info *oi; local
233 oi = NULL;
235 oi = &op->user_info;
237 oi = &op->info;
239 ois[ovl->id] = oi;
630 struct omap_overlay_info *oi; local
640 oi = &op->info;
644 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode);
646 r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings, false);
/drivers/staging/lustre/lustre/lov/
H A Dlov_pack.c56 struct ost_id oi; local
58 lmm_oi_le_to_cpu(&oi, &lmm->lmm_oi);
60 POSTID(&oi), le32_to_cpu(lmm->lmm_magic),
80 struct ost_id oi; local
82 ostid_le_to_cpu(&lod->l_ost_oi, &oi);
84 le32_to_cpu(lod->l_ost_idx), POSTID(&oi));
/drivers/staging/lustre/lustre/obdclass/
H A Dllog_swab.c72 if (fid_seq_is_mdt0(oid->oi.oi_seq)) {
73 __swab64s(&oid->oi.oi_id);
74 __swab64s(&oid->oi.oi_seq);
83 __swab64s(&log_id->lgl_oi.oi.oi_id);
84 __swab64s(&log_id->lgl_oi.oi.oi_seq);
/drivers/mtd/
H A Dmtdchar.c850 struct nand_oobinfo oi; local
854 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos))
857 oi.useecc = MTD_NANDECC_AUTOPLACE;
858 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos));
859 memcpy(&oi.oobfree, mtd->ecclayout->oobfree,
860 sizeof(oi.oobfree));
861 oi.eccbytes = mtd->ecclayout->eccbytes;
863 if (copy_to_user(argp, &oi, sizeof(struct nand_oobinfo)))
/drivers/net/ethernet/dec/tulip/
H A Dinterrupt.c524 int oi = 0; local
719 oi++;
729 oi++;
731 if (tx > maxtx || rx > maxrx || oi > maxoi) {
734 csr5, tp->nir, tx, rx, oi);
/drivers/staging/lustre/lustre/llite/
H A Dfile.c988 struct ost_id *oi = lsm ? &lsm->lsm_oi : &obdo->o_oi; local
992 " blksize %lu\n", POSTID(oi), i_size_read(inode),
1275 static int ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) argument
1303 oa->o_oi = *oi;
1326 struct ost_id oi; local
1335 ostid_set_seq_mdt0(&oi);
1336 ostid_set_id(&oi, ucreat.lrc_id);
1337 return ll_lov_recreate(inode, &oi, ucreat.lrc_ost_idx);
1343 struct ost_id oi; local
1352 fid_to_ostid(&fid, &oi);
[all...]
/drivers/staging/lustre/lustre/ptlrpc/
H A Dpack_generic.c2151 static void lustre_swab_lmm_oi(struct ost_id *oi) argument
2153 __swab64s(&oi->oi.oi_id);
2154 __swab64s(&oi->oi.oi_seq);
H A Dwiretest.c466 LASSERTF((int)offsetof(struct ost_id, oi) == 0, "found %lld\n",
467 (long long)(int)offsetof(struct ost_id, oi));
468 LASSERTF((int)sizeof(((struct ost_id *)0)->oi) == 16, "found %lld\n",
469 (long long)(int)sizeof(((struct ost_id *)0)->oi));

Completed in 302 milliseconds