Home
last modified time | relevance | path

Searched refs:plane (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/drivers/media/video/
Dvideobuf2-core.c33 #define call_memop(q, plane, op, args...) \ argument
51 int plane; in __vb2_buf_mem_alloc() local
54 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_alloc()
55 mem_priv = call_memop(q, plane, alloc, q->alloc_ctx[plane], in __vb2_buf_mem_alloc()
56 plane_sizes[plane]); in __vb2_buf_mem_alloc()
61 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc()
62 vb->v4l2_planes[plane].length = plane_sizes[plane]; in __vb2_buf_mem_alloc()
68 for (; plane > 0; --plane) in __vb2_buf_mem_alloc()
69 call_memop(q, plane, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc()
80 unsigned int plane; in __vb2_buf_mem_free() local
[all …]
/linux-2.6.39/drivers/video/
Dau1200fb.c155 int plane; member
723 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, in au1200_setlocation() argument
731 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation()
732 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation()
737 xsz = win->w[plane].xres; in au1200_setlocation()
738 ysz = win->w[plane].yres; in au1200_setlocation()
739 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation()
745 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
753 xsz = win->w[plane].xres + xpos; in au1200_setlocation()
754 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation()
[all …]
/linux-2.6.39/drivers/video/omap/
Domapfb_main.c220 struct omapfb_plane_struct *plane = fbi->par; in ctrl_change_mode() local
221 struct omapfb_device *fbdev = plane->fbdev; in ctrl_change_mode()
229 r = fbdev->ctrl->setup_plane(plane->idx, plane->info.channel_out, in ctrl_change_mode()
231 plane->info.pos_x, plane->info.pos_y, in ctrl_change_mode()
232 var->xres, var->yres, plane->color_mode); in ctrl_change_mode()
243 r = fbdev->ctrl->set_scale(plane->idx, in ctrl_change_mode()
245 plane->info.out_width, in ctrl_change_mode()
246 plane->info.out_height); in ctrl_change_mode()
279 struct omapfb_plane_struct *plane = info->par; in _setcolreg() local
280 struct omapfb_device *fbdev = plane->fbdev; in _setcolreg()
[all …]
Ddispc.c288 static void setup_plane_fifo(int plane, int ext_mode) in setup_plane_fifo() argument
299 BUG_ON(plane > 2); in setup_plane_fifo()
301 l = dispc_read_reg(fsz_reg[plane]); in setup_plane_fifo()
310 MOD_REG_FLD(ftrs_reg[plane], FLD_MASK(16, 12) | FLD_MASK(0, 12), in setup_plane_fifo()
330 static inline int _setup_plane(int plane, int channel_out, in _setup_plane() argument
363 plane, channel_out, paddr, screen_width, pos_x, pos_y, in _setup_plane()
368 switch (plane) { in _setup_plane()
401 if (plane == 0) in _setup_plane()
408 if (plane == 0) in _setup_plane()
418 l = dispc_read_reg(at_reg[plane]); in _setup_plane()
[all …]
Dblizzard.c121 int plane; member
175 struct plane_info plane[OMAPFB_PLANE_NUM]; member
477 struct plane_info *p = &blizzard.plane[i]; in do_full_screen_update()
528 static int do_partial_update(struct blizzard_request *req, int plane, in do_partial_update() argument
542 gx1 = x + blizzard.plane[plane].pos_x; in do_partial_update()
543 gy1 = y + blizzard.plane[plane].pos_y; in do_partial_update()
554 gx1_out = x_out + blizzard.plane[plane].pos_x; in do_partial_update()
555 gy1_out = y_out + blizzard.plane[plane].pos_y; in do_partial_update()
561 struct plane_info *p = &blizzard.plane[i]; in do_partial_update()
569 (wnd_color_mode && i != plane)) { in do_partial_update()
[all …]
Domapfb.h142 void (*get_caps) (int plane, struct omapfb_caps *caps);
145 int (*setup_plane) (int plane, int channel_out,
151 int (*setup_mem) (int plane, size_t size,
155 int (*set_scale) (int plane,
158 int (*enable_plane) (int plane, int enable);
Dlcdc.c185 struct omapfb_plane_struct *plane = lcdc.fbdev->fb_info[0]->par; in setup_lcd_dma() local
194 if (plane->info.mirror || (src & 3) || in setup_lcd_dma()
237 omap_set_lcd_dma_b1_mirror(plane->info.mirror); in setup_lcd_dma()
292 static int omap_lcdc_setup_plane(int plane, int channel_out, in omap_lcdc_setup_plane() argument
308 if (plane != 0 || channel_out != 0 || pos_x != 0 || pos_y != 0 || in omap_lcdc_setup_plane()
313 "w %d h %d\n", plane, pos_x, pos_y, width, height); in omap_lcdc_setup_plane()
379 static int omap_lcdc_enable_plane(int plane, int enable) in omap_lcdc_enable_plane() argument
383 plane, enable, lcdc.update_mode, lcdc.ext_mode); in omap_lcdc_enable_plane()
384 if (plane != OMAPFB_PLANE_GFX) in omap_lcdc_enable_plane()
583 static void omap_lcdc_get_caps(int plane, struct omapfb_caps *caps) in omap_lcdc_get_caps() argument
Dhwa742.c528 static int hwa742_setup_plane(int plane, int channel_out, in hwa742_setup_plane() argument
533 if (plane != OMAPFB_PLANE_GFX || in hwa742_setup_plane()
540 static int hwa742_enable_plane(int plane, int enable) in hwa742_enable_plane() argument
542 if (plane != 0) in hwa742_enable_plane()
545 hwa742.int_ctrl->enable_plane(plane, enable); in hwa742_enable_plane()
900 static void hwa742_get_caps(int plane, struct omapfb_caps *caps) in hwa742_get_caps() argument
902 hwa742.int_ctrl->get_caps(plane, caps); in hwa742_get_caps()
/linux-2.6.39/drivers/video/omap2/dss/
Ddispc.c633 static void _dispc_write_firh_reg(enum omap_plane plane, int reg, u32 value) in _dispc_write_firh_reg() argument
635 BUG_ON(plane == OMAP_DSS_GFX); in _dispc_write_firh_reg()
637 dispc_write_reg(DISPC_VID_FIR_COEF_H(plane-1, reg), value); in _dispc_write_firh_reg()
640 static void _dispc_write_firhv_reg(enum omap_plane plane, int reg, u32 value) in _dispc_write_firhv_reg() argument
642 BUG_ON(plane == OMAP_DSS_GFX); in _dispc_write_firhv_reg()
644 dispc_write_reg(DISPC_VID_FIR_COEF_HV(plane-1, reg), value); in _dispc_write_firhv_reg()
647 static void _dispc_write_firv_reg(enum omap_plane plane, int reg, u32 value) in _dispc_write_firv_reg() argument
649 BUG_ON(plane == OMAP_DSS_GFX); in _dispc_write_firv_reg()
651 dispc_write_reg(DISPC_VID_FIR_COEF_V(plane-1, reg), value); in _dispc_write_firv_reg()
654 static void _dispc_set_scale_coef(enum omap_plane plane, int hscaleup, in _dispc_set_scale_coef() argument
[all …]
Ddss.h205 void default_get_overlay_fifo_thresholds(enum omap_plane plane,
307 void dsi_get_overlay_fifo_thresholds(enum omap_plane plane,
370 u32 dispc_get_plane_fifo_size(enum omap_plane plane);
371 void dispc_setup_plane_fifo(enum omap_plane plane, u32 low, u32 high);
373 void dispc_set_burst_size(enum omap_plane plane,
376 void dispc_set_plane_ba0(enum omap_plane plane, u32 paddr);
377 void dispc_set_plane_ba1(enum omap_plane plane, u32 paddr);
378 void dispc_set_plane_pos(enum omap_plane plane, u16 x, u16 y);
379 void dispc_set_plane_size(enum omap_plane plane, u16 width, u16 height);
380 void dispc_set_channel_out(enum omap_plane plane,
[all …]
Ddss_features.h77 enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane plane);
78 bool dss_feat_color_mode_supported(enum omap_plane plane,
Ddss_features.c328 enum omap_color_mode dss_feat_get_supported_color_modes(enum omap_plane plane) in dss_feat_get_supported_color_modes() argument
330 return omap_current_dss_features->supported_color_modes[plane]; in dss_feat_get_supported_color_modes()
333 bool dss_feat_color_mode_supported(enum omap_plane plane, in dss_feat_color_mode_supported() argument
336 return omap_current_dss_features->supported_color_modes[plane] & in dss_feat_color_mode_supported()
Dmanager.c731 static int configure_overlay(enum omap_plane plane) in configure_overlay() argument
741 DSSDBGF("%d", plane); in configure_overlay()
743 c = &dss_cache.overlay_cache[plane]; in configure_overlay()
746 dispc_enable_plane(plane, 0); in configure_overlay()
773 dispc_enable_plane(plane, 0); in configure_overlay()
844 r = dispc_setup_plane(plane, in configure_overlay()
861 DSSERR("dispc_setup_plane failed for ovl %d\n", plane); in configure_overlay()
862 dispc_enable_plane(plane, 0); in configure_overlay()
866 dispc_enable_replication(plane, c->replication); in configure_overlay()
868 dispc_set_burst_size(plane, c->burst_size); in configure_overlay()
[all …]
/linux-2.6.39/drivers/gpu/drm/i915/
Di915_trace.h352 TP_PROTO(int plane, struct drm_i915_gem_object *obj),
354 TP_ARGS(plane, obj),
357 __field(int, plane)
362 __entry->plane = plane;
366 TP_printk("plane=%d, obj=%p", __entry->plane, __entry->obj)
370 TP_PROTO(int plane, struct drm_i915_gem_object *obj),
372 TP_ARGS(plane, obj),
375 __field(int, plane)
380 __entry->plane = plane;
384 TP_printk("plane=%d, obj=%p", __entry->plane, __entry->obj)
Dintel_display.c1209 enum plane plane) in assert_plane_enabled() argument
1214 reg = DSPCNTR(plane); in assert_plane_enabled()
1218 plane_name(plane)); in assert_plane_enabled()
1572 enum plane plane, enum pipe pipe) in intel_enable_plane() argument
1580 reg = DSPCNTR(plane); in intel_enable_plane()
1594 enum plane plane) in intel_flush_display_plane() argument
1596 u32 reg = DSPADDR(plane); in intel_flush_display_plane()
1609 enum plane plane, enum pipe pipe) in intel_disable_plane() argument
1614 reg = DSPCNTR(plane); in intel_disable_plane()
1620 intel_flush_display_plane(dev_priv, plane); in intel_disable_plane()
[all …]
Dintel_drv.h158 enum plane plane; member
221 intel_get_crtc_for_plane(struct drm_device *dev, int plane) in intel_get_crtc_for_plane() argument
224 return dev_priv->plane_to_crtc_mapping[plane]; in intel_get_crtc_for_plane()
328 extern void intel_prepare_page_flip(struct drm_device *dev, int plane);
330 extern void intel_finish_page_flip_plane(struct drm_device *dev, int plane);
Di915_reg.h2581 #define DSPCNTR(plane) _PIPE(plane, _DSPACNTR, _DSPBCNTR) argument
2582 #define DSPADDR(plane) _PIPE(plane, _DSPAADDR, _DSPBADDR) argument
2583 #define DSPSTRIDE(plane) _PIPE(plane, _DSPASTRIDE, _DSPBSTRIDE) argument
2584 #define DSPPOS(plane) _PIPE(plane, _DSPAPOS, _DSPBPOS) argument
2585 #define DSPSIZE(plane) _PIPE(plane, _DSPASIZE, _DSPBSIZE) argument
2586 #define DSPSURF(plane) _PIPE(plane, _DSPASURF, _DSPBSURF) argument
2587 #define DSPTILEOFF(plane) _PIPE(plane, _DSPATILEOFF, _DSPBTILEOFF) argument
3042 #define TRANSCONF(plane) _PIPE(plane, _TRANSACONF, _TRANSBCONF) argument
Di915_gem_execbuffer.c797 u32 plane, flip_mask; in i915_gem_execbuffer_wait_for_flips() local
805 for (plane = 0; flips >> plane; plane++) { in i915_gem_execbuffer_wait_for_flips()
806 if (((flips >> plane) & 1) == 0) in i915_gem_execbuffer_wait_for_flips()
809 if (plane) in i915_gem_execbuffer_wait_for_flips()
Di915_debugfs.c330 const char plane = plane_name(crtc->plane); in i915_gem_pageflip_info() local
337 pipe, plane); in i915_gem_pageflip_info()
341 pipe, plane); in i915_gem_pageflip_info()
344 pipe, plane); in i915_gem_pageflip_info()
/linux-2.6.39/Documentation/video4linux/cx2341x/
DREADME.hm1212 The Y plane is divided into blocks of 16x16 pixels from left to right
20 The UV plane is divided into blocks of 16x8 UV values going from left
54 // descramble Y plane
56 // The Y plane is divided into blocks of 16x16 pixels
72 // descramble U/V plane
75 // Again, the UV plane is divided into blocks of 16x16 UV values.
Dfw-decoder-regs.txt49 These six registers control the horizontal aliasing filter for the Y plane.
83 These six registers control the horizontal aliasing for the UV plane.
130 Decoder ?? unknown - Y plane
135 Decoder ?? unknown - UV plane
328 Decoder plane order
333 Decoder second plane byte order
337 In normal usage, the first plane is Y & the second plane is UV. Though the
338 order of the planes can be swapped, only the byte order of the second plane
339 can be swapped. This isn't much use for the Y plane, but can be useful for
340 the UV plane.
[all …]
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_hw.c548 bool save, unsigned plane) in nouveau_vga_font_io() argument
553 NVWriteVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX, 1 << plane); in nouveau_vga_font_io()
554 NVWriteVgaGr(dev, 0, NV_VIO_GX_READ_MAP_INDEX, plane); in nouveau_vga_font_io()
557 dev_priv->saved_vga_font[plane][i] = in nouveau_vga_font_io()
560 iowrite32_native(dev_priv->saved_vga_font[plane][i], in nouveau_vga_font_io()
571 unsigned plane; in nouveau_hw_save_vga_fonts() local
612 for (plane = 0; plane < 4; plane++) in nouveau_hw_save_vga_fonts()
613 nouveau_vga_font_io(dev, iovram, save, plane); in nouveau_hw_save_vga_fonts()
/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-capture.c261 static unsigned int get_plane_size(struct fimc_frame *fr, unsigned int plane) in get_plane_size() argument
263 if (!fr || plane >= fr->fmt->memplanes) in get_plane_size()
267 __func__, fr->width, fr->height, plane, fr->fmt->depth[plane]); in get_plane_size()
269 return fr->f_width * fr->f_height * fr->fmt->depth[plane] / 8; in get_plane_size()
/linux-2.6.39/drivers/staging/gma500/
Dpsb_intel_drv.h151 int plane; member
/linux-2.6.39/drivers/mtd/onenand/
DKconfig59 Since the device is equipped with two DataRAMs, and two-plane NAND

12