Home
last modified time | relevance | path

Searched refs:oi (Results 1 – 7 of 7) sorted by relevance

/drivers/media/pci/ivtv/
Divtvfb.c219 struct osd_info *oi = itv->osd_info; in ivtvfb_get_osd_coords() local
224 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
225 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
235 struct osd_info *oi = itv->osd_info; in ivtvfb_set_osd_coords() local
237 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
238 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
239 oi->set_osd_coords_x += osd->x; in ivtvfb_set_osd_coords()
240 oi->set_osd_coords_y = osd->y; in ivtvfb_set_osd_coords()
243 osd->offset + oi->video_rbase, in ivtvfb_set_osd_coords()
337 struct osd_info *oi = itv->osd_info; in ivtvfb_prep_frame() local
[all …]
/drivers/input/misc/
Dgpio_output.c26 struct gpio_event_output_info *oi; in gpio_event_output_event() local
27 oi = container_of(info, struct gpio_event_output_info, info); in gpio_event_output_event()
28 if (type != oi->type) in gpio_event_output_event()
30 if (!(oi->flags & GPIOEDF_ACTIVE_HIGH)) in gpio_event_output_event()
32 for (i = 0; i < oi->keymap_size; i++) in gpio_event_output_event()
33 if (dev == oi->keymap[i].dev && code == oi->keymap[i].code) in gpio_event_output_event()
34 gpio_set_value(oi->keymap[i].gpio, value); in gpio_event_output_event()
44 struct gpio_event_output_info *oi; in gpio_event_output_func() local
45 oi = container_of(info, struct gpio_event_output_info, info); in gpio_event_output_func()
51 int output_level = !(oi->flags & GPIOEDF_ACTIVE_HIGH); in gpio_event_output_func()
[all …]
/drivers/video/omap2/dss/
Ddispc.c2348 const struct omap_overlay_info *oi, in dispc_ovl_check() argument
2355 u16 in_height = oi->height; in dispc_ovl_check()
2356 u16 in_width = oi->width; in dispc_ovl_check()
2359 int pos_x = oi->pos_x; in dispc_ovl_check()
2363 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2364 out_height = oi->out_height == 0 ? oi->height : oi->out_height; in dispc_ovl_check()
2366 if (ilace && oi->height == out_height) in dispc_ovl_check()
2378 if (!dss_feat_color_mode_supported(plane, oi->color_mode)) in dispc_ovl_check()
2382 in_height, out_width, out_height, oi->color_mode, in dispc_ovl_check()
2384 oi->rotation_type, false); in dispc_ovl_check()
[all …]
Dmanager.c234 struct omap_overlay_info *oi; in dss_mgr_check() local
237 oi = overlay_infos[ovl->id]; in dss_mgr_check()
239 if (oi == NULL) in dss_mgr_check()
242 r = dss_ovl_check(ovl, oi, mgr_timings); in dss_mgr_check()
Dapply.c208 struct omap_overlay_info *oi; in dss_check_settings_low() local
230 oi = NULL; in dss_check_settings_low()
232 oi = &op->user_info; in dss_check_settings_low()
234 oi = &op->info; in dss_check_settings_low()
236 ois[ovl->id] = oi; in dss_check_settings_low()
617 struct omap_overlay_info *oi; in dss_ovl_write_regs() local
627 oi = &op->info; in dss_ovl_write_regs()
631 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); in dss_ovl_write_regs()
633 r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings, false); in dss_ovl_write_regs()
/drivers/mtd/
Dmtdchar.c853 struct nand_oobinfo oi; in mtdchar_ioctl() local
857 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl()
860 oi.useecc = MTD_NANDECC_AUTOPLACE; in mtdchar_ioctl()
861 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); in mtdchar_ioctl()
862 memcpy(&oi.oobfree, mtd->ecclayout->oobfree, in mtdchar_ioctl()
863 sizeof(oi.oobfree)); in mtdchar_ioctl()
864 oi.eccbytes = mtd->ecclayout->eccbytes; in mtdchar_ioctl()
866 if (copy_to_user(argp, &oi, sizeof(struct nand_oobinfo))) in mtdchar_ioctl()
/drivers/net/ethernet/dec/tulip/
Dinterrupt.c524 int oi = 0; in tulip_interrupt() local
719 oi++; in tulip_interrupt()
729 oi++; in tulip_interrupt()
731 if (tx > maxtx || rx > maxrx || oi > maxoi) { in tulip_interrupt()
734 csr5, tp->nir, tx, rx, oi); in tulip_interrupt()