Home
last modified time | relevance | path

Searched refs:x_res (Results 1 – 25 of 58) sorted by relevance

123

/openbmc/u-boot/board/compulab/common/
H A Domap3_display.c147 static void set_preset(const struct panel_config preset, int x_res, int y_res) in set_preset() argument
150 set_resolution_params(x_res, y_res); in set_preset()
154 int x_res, int y_res) in set_dvi_preset() argument
156 set_preset(preset, x_res, y_res); in set_dvi_preset()
161 int x_res, int y_res) in set_dataimage_preset() argument
163 set_preset(preset, x_res, y_res); in set_dataimage_preset()
/openbmc/u-boot/drivers/video/
H A Dmvebu_lcd.c85 int x_res; member
128 int x = lcd_info->x_res; in mvebu_lcd_register_init()
547 lcd_info.x_res = timings.hactive.typ; in mvebu_video_probe()
565 uc_priv->xsize = lcd_info.x_res; in mvebu_video_probe()
/openbmc/linux/drivers/mfd/
H A Ducb1x00-ts.c46 u16 x_res; member
327 ts->x_res = ucb1x00_ts_read_xres(ts); in ucb1x00_ts_open()
394 ts->x_res = ucb1x00_ts_read_xres(ts); in ucb1x00_ts_add()
398 input_set_abs_params(idev, ABS_X, 0, ts->x_res, 0, 0); in ucb1x00_ts_add()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay.c27 *xres = dssdev->panel.timings.x_res; in omapdss_default_get_resolution()
265 ovt->x_res = vm->hactive; in videomode_to_omap_video_timings()
298 vm->hactive = ovt->x_res; in omap_video_timings_to_videomode()
H A Dhdmi_wp.c140 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
188 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings()
H A Ddisplay-sysfs.c99 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show()
124 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store()
H A Dhdmi5_core.c285 video_cfg->v_fc_config.timings.x_res = cfg->timings.x_res; in hdmi_core_init()
327 cfg->v_fc_config.timings.x_res >> 8, 4, 0); in hdmi_core_video_config()
329 cfg->v_fc_config.timings.x_res & 0xFF, 7, 0); in hdmi_core_video_config()
H A Doverlay.c145 dw = mgr_timings->x_res; in dss_ovl_check()
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcd_palmte.c24 .x_res = 320,
H A Dlcdc.c290 rot_x = panel->x_res; in omap_lcdc_setup_plane()
294 rot_y = panel->x_res; in omap_lcdc_setup_plane()
482 l = panel->x_res - 1; in setup_regs()
630 frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res); in alloc_fbmem()
H A Dlcd_ams_delta.c109 .x_res = 480,
H A Domapfb_main.c485 xres_max = panel->x_res; in set_fb_var()
489 var->xres = panel->x_res; in set_fb_var()
498 yres_max = panel->x_res; in set_fb_var()
501 var->yres = panel->x_res; in set_fb_var()
690 xres = fbdev->panel->x_res; in omapfb_update_window_async()
696 yres = fbdev->panel->x_res; in omapfb_update_window_async()
773 if (pi->pos_x + pi->out_width > panel->x_res || in omapfb_setup_plane()
1686 def_vxres = def_vxres ? def_vxres : fbdev->panel->x_res; in omapfb_do_probe()
1750 hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw); in omapfb_do_probe()
H A Domapfb.h64 int x_res, y_res; member
/openbmc/linux/arch/powerpc/boot/
H A Dredboot.h42 short x_res; /* Horizontal resolution in pixels */ member
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_wp.c139 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
199 video_fmt->x_res = param->vm.hactive; in hdmi_wp_init_vid_fmt_timings()
218 video_fmt->x_res *= 2; in hdmi_wp_init_vid_fmt_timings()
/openbmc/linux/drivers/media/platform/ti/omap/
H A Domap_vout.c389 posx = (timing->x_res - win->w.width) - win->w.left; in omapvid_init()
396 posx = (timing->x_res - win->w.height) - win->w.top; in omapvid_init()
627 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out()
668 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out()
672 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
847 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_selection()
851 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_selection()
1210 vout->fbuf.fmt.width = timing->x_res; in vidioc_g_fbuf()
1333 vout->fbuf.fmt.width = display->panel.timings.x_res; in omap_vout_setup_video_data()
1693 display->panel.timings.x_res, in omap_vout_probe()
/openbmc/linux/drivers/input/mouse/
H A Delantech.h152 unsigned int x_res; member
H A Delan_i2c_core.c72 unsigned int x_res; member
439 data->x_res = elan_convert_resolution(hw_x_res, data->pattern); in elan_query_device_parameters()
442 data->x_res = (data->max_x + 1) / x_mm; in elan_query_device_parameters()
1156 input_abs_set_res(input, ABS_X, data->x_res); in elan_setup_input_device()
1167 input_abs_set_res(input, ABS_MT_POSITION_X, data->x_res); in elan_setup_input_device()
1276 data->x_res, data->y_res, in elan_probe()
H A Delantech.c1105 unsigned int *x_res, in elantech_get_resolution_v4() argument
1114 *x_res = elantech_convert_res(param[1] & 0x0f); in elantech_get_resolution_v4()
1250 input_abs_set_res(dev, ABS_X, info->x_res); in elantech_set_input_params()
1253 input_abs_set_res(dev, ABS_MT_POSITION_X, info->x_res); in elantech_set_input_params()
1803 info->x_res = 31; in elantech_query_info()
1807 &info->x_res, in elantech_query_info()
1947 if (info->x_res) in elantech_create_smbus()
1949 (info->x_max + 1) / info->x_res); in elantech_create_smbus()
H A Dalps.h306 unsigned int x_res; member
H A Dsynaptics.h175 u32 x_res, y_res; /* X/Y resolution in units/mm */ member
/openbmc/linux/drivers/video/fbdev/
H A Dacornfb.h88 u_int x_res; member
/openbmc/linux/include/video/
H A Dneomagic.h184 int x_res; member
H A Duvesafb.h45 u16 x_res; member
/openbmc/qemu/hw/display/
H A Dqxl.c56 { .x_res = _x, \
65 #define QXL_MODE_16_32(x_res, y_res, orientation) \ argument
66 QXL_MODE(x_res, y_res, 16, orientation), \
67 QXL_MODE(x_res, y_res, 32, orientation)
69 #define QXL_MODE_EX(x_res, y_res) \ argument
70 QXL_MODE_16_32(x_res, y_res, 0), \
71 QXL_MODE_16_32(x_res, y_res, 1)
355 modes->modes[n].x_res = cpu_to_le32(qxl_modes[i].x_res); in init_qxl_rom()
1578 .width = mode->x_res, in qxl_set_mode()
1580 .stride = -mode->x_res * 4, in qxl_set_mode()
[all …]

123