Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/gpu/drm/xen/
Dxen_drm_front_conn.c65 struct videomode videomode; in connector_get_modes() local
72 memset(&videomode, 0, sizeof(videomode)); in connector_get_modes()
73 videomode.hactive = pipeline->width; in connector_get_modes()
74 videomode.vactive = pipeline->height; in connector_get_modes()
75 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
76 videomode.hback_porch + videomode.hsync_len; in connector_get_modes()
77 height = videomode.vactive + videomode.vfront_porch + in connector_get_modes()
78 videomode.vback_porch + videomode.vsync_len; in connector_get_modes()
79 videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; in connector_get_modes()
82 drm_display_mode_from_videomode(&videomode, mode); in connector_get_modes()
/Linux-v5.4/drivers/video/fbdev/mmp/fb/
Dmmpfb.c226 struct fb_videomode *videomode, int output_fmt) in fbmode_to_mmpmode() argument
229 mode->name = videomode->name; in fbmode_to_mmpmode()
230 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
231 mode->xres = videomode->xres; in fbmode_to_mmpmode()
232 mode->yres = videomode->yres; in fbmode_to_mmpmode()
234 do_div(div_result, videomode->pixclock); in fbmode_to_mmpmode()
237 mode->left_margin = videomode->left_margin; in fbmode_to_mmpmode()
238 mode->right_margin = videomode->right_margin; in fbmode_to_mmpmode()
239 mode->upper_margin = videomode->upper_margin; in fbmode_to_mmpmode()
240 mode->lower_margin = videomode->lower_margin; in fbmode_to_mmpmode()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/include/video/
Dvideomode.h18 struct videomode { struct
43 struct videomode *vm);
55 struct videomode *vm, unsigned int index);
Dof_videomode.h12 struct videomode;
14 int of_get_videomode(struct device_node *np, struct videomode *vm,
/Linux-v5.4/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()
106 struct videomode vm = { 0 }; in omap_encoder_mode_set()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Domapdss.h214 const struct videomode *vm;
466 const struct videomode *vm);
528 const struct videomode *vm);
546 const struct videomode *vm);
594 const struct videomode *vm);
597 const struct videomode *vm);
611 const struct videomode *vm, bool mem_to_mem,
620 bool mem_to_mem, const struct videomode *vm,
Dhdmi.h176 struct videomode vm;
307 const struct videomode *vm);
309 const struct videomode *vm);
311 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.c53 const struct videomode *vm) in omapdss_display_get_modes()
/Linux-v5.4/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
/Linux-v5.4/include/drm/
Ddrm_modes.h35 struct videomode;
493 void drm_display_mode_from_videomode(const struct videomode *vm,
496 struct videomode *vm);
497 void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags);
DdrmP.h89 struct videomode;
/Linux-v5.4/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c101 struct videomode vm;
156 struct videomode vm = mic->vm; in mic_set_porch_timing()
180 struct videomode *vm = &mic->vm; in mic_set_img_size()
191 struct videomode vm = mic->vm; in mic_set_output_timing()
Dexynos_drm_dpi.c31 struct videomode *vm;
174 struct videomode *vm; in exynos_dpi_parse_dt()
/Linux-v5.4/drivers/gpu/drm/arm/
Dmalidp_hw.h15 struct videomode;
177 void (*modeset)(struct malidp_hw_device *hwdev, struct videomode *m);
192 struct videomode *vm);

123