Home
last modified time | relevance | path

Searched refs:videomode (Results 1 – 25 of 63) sorted by relevance

123

/drivers/gpu/drm/xen/
Dxen_drm_front_conn.c66 struct videomode videomode; in connector_get_modes() local
73 memset(&videomode, 0, sizeof(videomode)); in connector_get_modes()
74 videomode.hactive = pipeline->width; in connector_get_modes()
75 videomode.vactive = pipeline->height; in connector_get_modes()
76 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
77 videomode.hback_porch + videomode.hsync_len; in connector_get_modes()
78 height = videomode.vactive + videomode.vfront_porch + in connector_get_modes()
79 videomode.vback_porch + videomode.vsync_len; in connector_get_modes()
80 videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; in connector_get_modes()
83 drm_display_mode_from_videomode(&videomode, mode); in connector_get_modes()
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c224 struct fb_videomode *videomode, int output_fmt) in fbmode_to_mmpmode() argument
227 mode->name = videomode->name; in fbmode_to_mmpmode()
228 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
229 mode->xres = videomode->xres; in fbmode_to_mmpmode()
230 mode->yres = videomode->yres; in fbmode_to_mmpmode()
232 do_div(div_result, videomode->pixclock); in fbmode_to_mmpmode()
235 mode->left_margin = videomode->left_margin; in fbmode_to_mmpmode()
236 mode->right_margin = videomode->right_margin; in fbmode_to_mmpmode()
237 mode->upper_margin = videomode->upper_margin; in fbmode_to_mmpmode()
238 mode->lower_margin = videomode->lower_margin; in fbmode_to_mmpmode()
[all …]
/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dpi.c26 struct omap_video_timings videomode; member
77 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
117 ddata->videomode = *timings; in panel_dpi_set_timings()
128 *timings = ddata->videomode; in panel_dpi_get_timings()
159 struct videomode vm; in panel_dpi_probe_pdata()
176 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_pdata()
204 struct videomode vm; in panel_dpi_probe_of()
222 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_of()
271 dssdev->panel.timings = ddata->videomode; in panel_dpi_probe()
Dpanel-sharp-ls037v7dw01.c26 struct omap_video_timings videomode; member
99 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable()
159 ddata->videomode = *timings; in sharp_ls_set_timings()
170 *timings = ddata->videomode; in sharp_ls_get_timings()
279 ddata->videomode = sharp_ls_timings; in sharp_ls_probe()
286 dssdev->panel.timings = ddata->videomode; in sharp_ls_probe()
Dpanel-lgphilips-lb035q02.c47 struct omap_video_timings videomode; member
160 in->ops.dpi->set_timings(in, &ddata->videomode); in lb035q02_enable()
202 ddata->videomode = *timings; in lb035q02_set_timings()
213 *timings = ddata->videomode; in lb035q02_get_timings()
295 ddata->videomode = lb035q02_timings; in lb035q02_panel_spi_probe()
302 dssdev->panel.timings = ddata->videomode; in lb035q02_panel_spi_probe()
Dpanel-nec-nl8048hl11.c23 struct omap_video_timings videomode; member
157 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable()
193 ddata->videomode = *timings; in nec_8048_set_timings()
204 *timings = ddata->videomode; in nec_8048_get_timings()
307 ddata->videomode = nec_8048_panel_timings; in nec_8048_probe()
314 dssdev->panel.timings = ddata->videomode; in nec_8048_probe()
Dpanel-tpo-td028ttec1.c28 struct omap_video_timings videomode; member
199 in->ops.dpi->set_timings(in, &ddata->videomode); in td028ttec1_panel_enable()
321 ddata->videomode = *timings; in td028ttec1_panel_set_timings()
332 *timings = ddata->videomode; in td028ttec1_panel_get_timings()
405 ddata->videomode = td028ttec1_panel_timings; in td028ttec1_panel_probe()
412 dssdev->panel.timings = ddata->videomode; in td028ttec1_panel_probe()
Dpanel-tpo-td043mtea1.c55 struct omap_video_timings videomode; member
377 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable()
422 ddata->videomode = *timings; in tpo_td043_set_timings()
433 *timings = ddata->videomode; in tpo_td043_get_timings()
546 ddata->videomode = tpo_td043_timings; in tpo_td043_probe()
553 dssdev->panel.timings = ddata->videomode; in tpo_td043_probe()
Dpanel-sony-acx565akm.c63 struct omap_video_timings videomode; member
540 in->ops.sdi->set_timings(in, &ddata->videomode); in acx565akm_panel_power_on()
659 ddata->videomode = *timings; in acx565akm_set_timings()
670 *timings = ddata->videomode; in acx565akm_get_timings()
837 ddata->videomode = acx565akm_panel_timings; in acx565akm_probe()
844 dssdev->panel.timings = ddata->videomode; in acx565akm_probe()
/drivers/gpu/drm/omapdrm/dss/
Domapdss.h214 const struct videomode *vm;
436 const struct videomode *vm);
494 const struct videomode *vm);
512 const struct videomode *vm);
560 const struct videomode *vm);
563 const struct videomode *vm);
577 const struct videomode *vm, bool mem_to_mem,
586 bool mem_to_mem, const struct videomode *vm,
Dhdmi.h177 struct videomode vm;
308 const struct videomode *vm);
310 const struct videomode *vm);
312 struct videomode *vm, const struct hdmi_config *param);
Dhdmi_wp.c144 const struct videomode *vm) in hdmi_wp_video_config_interface()
164 const struct videomode *vm) in hdmi_wp_video_config_timing()
193 struct videomode *vm, const struct hdmi_config *param) in hdmi_wp_init_vid_fmt_timings()
Ddisplay.c44 const struct videomode *vm) in omapdss_display_get_modes()
Ddispc.c102 const struct videomode *vm,
2131 const struct videomode *vm, u16 pos_x, in check_horiz_timing_omap3()
2185 const struct videomode *vm, u16 width, in calc_core_clk_five_taps()
2279 const struct videomode *vm, in dispc_ovl_calc_scaling_24xx()
2328 const struct videomode *vm, in dispc_ovl_calc_scaling_34xx()
2416 const struct videomode *vm, in dispc_ovl_calc_scaling_44xx()
2485 const struct videomode *vm, in dispc_ovl_calc_scaling()
2600 bool replication, const struct videomode *vm, in dispc_ovl_setup_common()
2767 const struct videomode *vm, bool mem_to_mem, in dispc_ovl_setup()
2793 bool mem_to_mem, const struct videomode *vm, in dispc_wb_setup()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_crtc.h21 struct videomode;
23 struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
Domap_encoder.c44 static void omap_encoder_update_videomode_flags(struct videomode *vm, in omap_encoder_update_videomode_flags()
82 struct videomode vm = { 0 }; in omap_encoder_mode_set()
Domap_crtc.c38 struct videomode vm;
56 struct videomode *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings()
207 const struct videomode *vm) in omap_crtc_dss_set_timings()
495 struct videomode vm = {0}; in omap_crtc_mode_valid()
/drivers/video/
Dvideomode.c14 struct videomode *vm) in videomode_from_timing()
32 struct videomode *vm, unsigned int index) in videomode_from_timings()
Dof_videomode.c30 int of_get_videomode(struct device_node *np, struct videomode *vm, in of_get_videomode()
DMakefile12 obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c102 struct videomode vm;
157 struct videomode vm = mic->vm; in mic_set_porch_timing()
181 struct videomode *vm = &mic->vm; in mic_set_img_size()
192 struct videomode vm = mic->vm; in mic_set_output_timing()
Dexynos_drm_dpi.c32 struct videomode *vm;
166 struct videomode *vm; in exynos_dpi_parse_dt()
/drivers/gpu/drm/arm/
Dmalidp_hw.h15 struct videomode;
177 void (*modeset)(struct malidp_hw_device *hwdev, struct videomode *m);
192 struct videomode *vm);
/drivers/gpu/drm/imx/dcss/
Ddcss-dev.h143 void dcss_dtg_sync_set(struct dcss_dtg *dtg, struct videomode *vm);
162 void dcss_ss_sync_set(struct dcss_ss *ss, struct videomode *vm,
/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay.c259 void videomode_to_omap_video_timings(const struct videomode *vm, in videomode_to_omap_video_timings()
292 struct videomode *vm) in omap_video_timings_to_videomode()

123