Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/gpu/drm/xen/
Dxen_drm_front_conn.c67 struct videomode videomode; in connector_get_modes() local
74 memset(&videomode, 0, sizeof(videomode)); in connector_get_modes()
75 videomode.hactive = pipeline->width; in connector_get_modes()
76 videomode.vactive = pipeline->height; in connector_get_modes()
77 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
78 videomode.hback_porch + videomode.hsync_len; in connector_get_modes()
79 height = videomode.vactive + videomode.vfront_porch + in connector_get_modes()
80 videomode.vback_porch + videomode.vsync_len; in connector_get_modes()
81 videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; in connector_get_modes()
84 drm_display_mode_from_videomode(&videomode, mode); in connector_get_modes()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dpi.c26 struct omap_video_timings videomode; member
72 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
112 ddata->videomode = *timings; in panel_dpi_set_timings()
123 *timings = ddata->videomode; in panel_dpi_get_timings()
154 struct videomode vm; in panel_dpi_probe_pdata()
171 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_pdata()
199 struct videomode vm; in panel_dpi_probe_of()
217 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_of()
266 dssdev->panel.timings = ddata->videomode; in panel_dpi_probe()
Dpanel-sharp-ls037v7dw01.c26 struct omap_video_timings videomode; member
94 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable()
154 ddata->videomode = *timings; in sharp_ls_set_timings()
165 *timings = ddata->videomode; in sharp_ls_get_timings()
273 ddata->videomode = sharp_ls_timings; in sharp_ls_probe()
280 dssdev->panel.timings = ddata->videomode; in sharp_ls_probe()
Dpanel-nec-nl8048hl11.c23 struct omap_video_timings videomode; member
152 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable()
188 ddata->videomode = *timings; in nec_8048_set_timings()
199 *timings = ddata->videomode; in nec_8048_get_timings()
302 ddata->videomode = nec_8048_panel_timings; in nec_8048_probe()
309 dssdev->panel.timings = ddata->videomode; in nec_8048_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()
294 ddata->videomode = lb035q02_timings; in lb035q02_panel_spi_probe()
301 dssdev->panel.timings = ddata->videomode; in lb035q02_panel_spi_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
372 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable()
417 ddata->videomode = *timings; in tpo_td043_set_timings()
428 *timings = ddata->videomode; in tpo_td043_get_timings()
540 ddata->videomode = tpo_td043_timings; in tpo_td043_probe()
547 dssdev->panel.timings = ddata->videomode; in tpo_td043_probe()
Dpanel-sony-acx565akm.c63 struct omap_video_timings videomode; member
535 in->ops.sdi->set_timings(in, &ddata->videomode); in acx565akm_panel_power_on()
654 ddata->videomode = *timings; in acx565akm_set_timings()
665 *timings = ddata->videomode; in acx565akm_get_timings()
832 ddata->videomode = acx565akm_panel_timings; in acx565akm_probe()
839 dssdev->panel.timings = ddata->videomode; in acx565akm_probe()
/linux-6.1.9/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-6.1.9/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()
81 struct videomode vm = { 0 }; in omap_encoder_mode_set()
/linux-6.1.9/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()
DMakefile14 obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
/linux-6.1.9/include/drm/
Ddrm_modes.h35 struct videomode;
484 void drm_display_mode_from_videomode(const struct videomode *vm,
487 struct videomode *vm);
488 void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags);
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
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()
Ddsi.h221 const struct videomode *vm;
312 struct videomode vm;
440 struct videomode vm;
Ddss.h436 const struct videomode *vm);
443 const struct videomode *vm);
455 const struct videomode *vm, bool mem_to_mem,
464 bool mem_to_mem, const struct videomode *vm,
/linux-6.1.9/drivers/gpu/drm/arm/
Dmalidp_hw.h15 struct videomode;
177 void (*modeset)(struct malidp_hw_device *hwdev, struct videomode *m);
192 struct videomode *vm);
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c103 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.c33 struct videomode *vm;
167 struct videomode *vm; in exynos_dpi_parse_dt()
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
Ddcss-dev.h144 void dcss_dtg_sync_set(struct dcss_dtg *dtg, struct videomode *vm);
163 void dcss_ss_sync_set(struct dcss_ss *ss, struct videomode *vm,

1234