/openbmc/linux/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_conn.c | 67 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()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | dcu_sii9022a.c | 61 int dcu_set_dvi_encoder(struct fb_videomode *videomode) in dcu_set_dvi_encoder() argument 94 temp1 = PICOS2KHZ(videomode->pixclock) / 10; in dcu_set_dvi_encoder() 101 temp1 = videomode->hsync_len + videomode->left_margin + in dcu_set_dvi_encoder() 102 videomode->xres + videomode->right_margin; in dcu_set_dvi_encoder() 109 temp2 = videomode->vsync_len + videomode->upper_margin + in dcu_set_dvi_encoder() 110 videomode->yres + videomode->lower_margin; in dcu_set_dvi_encoder() 118 temp3 = (PICOS2KHZ(videomode->pixclock) * 1000) / temp3; in dcu_set_dvi_encoder()
|
H A D | dcu_sii9022a.h | 10 int dcu_set_dvi_encoder(struct fb_videomode *videomode);
|
/openbmc/linux/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 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() 239 mode->hsync_len = videomode->hsync_len; in fbmode_to_mmpmode() 240 mode->vsync_len = videomode->vsync_len; in fbmode_to_mmpmode() 253 videomode->name = mode->name; in mmpmode_to_fbmode() 254 videomode->refresh = mode->refresh; in mmpmode_to_fbmode() 255 videomode->xres = mode->xres; in mmpmode_to_fbmode() 256 videomode->yres = mode->yres; in mmpmode_to_fbmode() [all …]
|
/openbmc/linux/include/video/ |
H A D | videomode.h | 18 struct videomode { struct 43 struct videomode *vm); 55 struct videomode *vm, unsigned int index);
|
H A D | of_videomode.h | 12 struct videomode; 14 int of_get_videomode(struct device_node *np, struct videomode *vm,
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-dpi.c | 24 struct omap_video_timings videomode; member 67 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable() 101 ddata->videomode = *timings; in panel_dpi_set_timings() 112 *timings = ddata->videomode; in panel_dpi_get_timings() 145 struct videomode vm; in panel_dpi_probe_of() 161 videomode_to_omap_video_timings(&vm, &ddata->videomode); in panel_dpi_probe_of() 198 dssdev->panel.timings = ddata->videomode; in panel_dpi_probe()
|
H A D | panel-lgphilips-lb035q02.c | 47 struct omap_video_timings videomode; member 157 in->ops.dpi->set_timings(in, &ddata->videomode); in lb035q02_enable() 193 ddata->videomode = *timings; in lb035q02_set_timings() 204 *timings = ddata->videomode; in lb035q02_get_timings() 276 ddata->videomode = lb035q02_timings; in lb035q02_panel_spi_probe() 283 dssdev->panel.timings = ddata->videomode; in lb035q02_panel_spi_probe()
|
H A D | panel-nec-nl8048hl11.c | 23 struct omap_video_timings videomode; member 151 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable() 187 ddata->videomode = *timings; in nec_8048_set_timings() 198 *timings = ddata->videomode; in nec_8048_get_timings() 270 ddata->videomode = nec_8048_panel_timings; in nec_8048_probe() 277 dssdev->panel.timings = ddata->videomode; in nec_8048_probe()
|
H A D | panel-sharp-ls037v7dw01.c | 25 struct omap_video_timings videomode; member 93 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable() 153 ddata->videomode = *timings; in sharp_ls_set_timings() 164 *timings = ddata->videomode; in sharp_ls_get_timings() 272 ddata->videomode = sharp_ls_timings; in sharp_ls_probe() 279 dssdev->panel.timings = ddata->videomode; in sharp_ls_probe()
|
H A D | panel-tpo-td028ttec1.c | 27 struct omap_video_timings videomode; member 198 in->ops.dpi->set_timings(in, &ddata->videomode); in td028ttec1_panel_enable() 320 ddata->videomode = *timings; in td028ttec1_panel_set_timings() 331 *timings = ddata->videomode; in td028ttec1_panel_get_timings() 404 ddata->videomode = td028ttec1_panel_timings; in td028ttec1_panel_probe() 411 dssdev->panel.timings = ddata->videomode; in td028ttec1_panel_probe()
|
H A D | panel-tpo-td043mtea1.c | 54 struct omap_video_timings videomode; member 369 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable() 414 ddata->videomode = *timings; in tpo_td043_set_timings() 425 *timings = ddata->videomode; in tpo_td043_get_timings() 514 ddata->videomode = tpo_td043_timings; in tpo_td043_probe() 521 dssdev->panel.timings = ddata->videomode; in tpo_td043_probe()
|
H A D | panel-sony-acx565akm.c | 62 struct omap_video_timings videomode; member 534 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() 795 ddata->videomode = acx565akm_panel_timings; in acx565akm_probe() 802 dssdev->panel.timings = ddata->videomode; in acx565akm_probe()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_crtc.h | 21 struct videomode; 23 struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
|
H A D | omap_encoder.c | 44 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()
|
/openbmc/linux/drivers/video/ |
H A D | videomode.c | 14 struct videomode *vm) in videomode_from_timing() 32 struct videomode *vm, unsigned int index) in videomode_from_timings()
|
H A D | of_videomode.c | 30 int of_get_videomode(struct device_node *np, struct videomode *vm, in of_get_videomode()
|
/openbmc/u-boot/drivers/video/ |
H A D | mb862xx.c | 233 unsigned int cf, videomode, div = 0; in card_init() local 246 videomode = 0x310; in card_init() 252 videomode = (int) simple_strtoul (penv, NULL, 16); in card_init() 262 if (vesa_modes[i].vesanr == videomode) in card_init() 267 videomode); in card_init()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi.h | 177 struct videomode vm; 308 const struct videomode *vm); 310 const struct videomode *vm); 312 struct videomode *vm, const struct hdmi_config *param);
|
H A D | dsi.h | 221 const struct videomode *vm; 312 struct videomode vm; 440 struct videomode vm;
|
H A D | hdmi_wp.c | 144 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()
|
/openbmc/linux/include/drm/ |
H A D | drm_modes.h | 35 struct videomode; 501 void drm_display_mode_from_videomode(const struct videomode *vm, 504 struct videomode *vm); 505 void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags);
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | malidp_hw.h | 15 struct videomode; 177 void (*modeset)(struct malidp_hw_device *hwdev, struct videomode *m); 192 struct videomode *vm);
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_mic.c | 103 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()
|
H A D | exynos_drm_dpi.c | 33 struct videomode *vm; 167 struct videomode *vm; in exynos_dpi_parse_dt()
|