Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mfd/
Ducb1x00-ts.c49 u16 x_res; member
330 ts->x_res = ucb1x00_ts_read_xres(ts); in ucb1x00_ts_open()
397 ts->x_res = ucb1x00_ts_read_xres(ts); in ucb1x00_ts_add()
401 input_set_abs_params(idev, ABS_X, 0, ts->x_res, 0, 0); in ucb1x00_ts_add()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddisplay.c38 *xres = dssdev->panel.timings.x_res; in omapdss_default_get_resolution()
276 ovt->x_res = vm->hactive; in videomode_to_omap_video_timings()
309 vm->hactive = ovt->x_res; in omap_video_timings_to_videomode()
Dhdmi_wp.c125 l |= FLD_VAL(video_fmt->x_res, 15, 0); in hdmi_wp_video_config_format()
173 video_fmt->x_res = param->timings.x_res; in hdmi_wp_init_vid_fmt_timings()
Ddisplay-sysfs.c109 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show()
134 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store()
Dhdmi5_core.c298 video_cfg->v_fc_config.timings.x_res = cfg->timings.x_res; in hdmi_core_init()
340 cfg->v_fc_config.timings.x_res >> 8, 4, 0); in hdmi_core_video_config()
342 cfg->v_fc_config.timings.x_res & 0xFF, 7, 0); in hdmi_core_video_config()
Doverlay.c156 dw = mgr_timings->x_res; in dss_ovl_check()
Dhdmi.h179 u32 x_res; /* pixel per line */ member
Dvenc.c266 .x_res = 720,
281 .x_res = 720,
Ddsi.c3339 if (dsi->line_buffer_size <= timings->x_res * bpp / 8) in dsi_config_vp_num_line_buffers()
3507 width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); in dsi_config_cmd_mode_interleaving()
3726 width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); in dsi_proto_timings()
3869 word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); in dsi_enable_video_output()
3931 u16 w = dsi->timings.x_res; in dsi_update_screen_dispc()
4069 dw = dsi->timings.x_res; in dsi_update()
4374 hact = t->x_res; in print_dispc_vm()
4415 vm.x_res = t->hact; in print_dsi_dispc_vm()
4434 t->x_res = ctx->config->timings->x_res; in dsi_cm_calc_dispc_cb()
4538 xres = req_vm->x_res; in dsi_vm_calc_blanking()
Drfbi.c310 u16 width = rfbi.timings.x_res; in rfbi_transfer_area()
779 rfbi.timings.x_res = w; in rfbi_set_size()
Ddispc.c2102 nonactive = t->x_res + t->hfp + t->hsw + t->hbp - out_width; in check_horiz_timing_omap3()
2155 unsigned int ppl = mgr_timings->x_res; in calc_core_clk_five_taps()
2701 int in_width = mgr_timings->x_res; in dispc_wb_setup()
2977 if (!_dispc_mgr_size_ok(timings->x_res, timings->y_res)) in dispc_mgr_timings_ok()
3114 DSSDBG("channel %d xres %u yres %u\n", channel, t.x_res, t.y_res); in dispc_mgr_set_timings()
3126 xtot = t.x_res + t.hfp + t.hsw + t.hbp; in dispc_mgr_set_timings()
3145 dispc_mgr_set_size(channel, t.x_res, t.y_res); in dispc_mgr_set_timings()
Dhdmi4.c181 DSSDBG("hdmi_power_on x_res= %d y_res = %d\n", p->x_res, p->y_res); in hdmi_power_on_full()
Dhdmi5.c193 DSSDBG("hdmi_power_on x_res= %d y_res = %d\n", p->x_res, p->y_res); in hdmi_power_on_full()
/linux-4.1.27/drivers/input/touchscreen/
Ducb1400_ts.c323 int error, x_res, y_res; in ucb1400_ts_probe() local
365 x_res = ucb1400_ts_read_xres(ucb); in ucb1400_ts_probe()
368 dev_dbg(&pdev->dev, "x/y = %d/%d\n", x_res, y_res); in ucb1400_ts_probe()
370 input_set_abs_params(ucb->ts_idev, ABS_X, 0, x_res, 0, 0); in ucb1400_ts_probe()
Delants_i2c.c127 unsigned int x_res; /* resolution in units/mm */ member
475 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info()
1109 input_abs_set_res(ts->input, ABS_X, ts->x_res); in elants_i2c_probe()
1125 input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res); in elants_i2c_probe()
/linux-4.1.27/arch/powerpc/boot/
Dredboot.h41 short x_res; /* Horizontal resolution in pixels */ member
/linux-4.1.27/drivers/video/fbdev/omap/
Dlcd_palmte.c61 .x_res = 320,
Dlcd_palmz71.c62 .x_res = 320,
Dlcd_inn1510.c62 .x_res = 240,
Dlcd_palmtt.c66 .x_res = 320,
Dlcd_htcherald.c67 .x_res = 240,
Dlcd_osk.c83 .x_res = 240,
Dlcd_inn1610.c83 .x_res = 320,
Dlcd_h3.c77 .x_res = 240,
Dlcdc.c301 rot_x = panel->x_res; in omap_lcdc_setup_plane()
305 rot_y = panel->x_res; in omap_lcdc_setup_plane()
493 l = panel->x_res - 1; in setup_regs()
641 frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res); in alloc_fbmem()
Domapfb_main.c504 xres_max = panel->x_res; in set_fb_var()
508 var->xres = panel->x_res; in set_fb_var()
517 yres_max = panel->x_res; in set_fb_var()
520 var->yres = panel->x_res; in set_fb_var()
724 xres = fbdev->panel->x_res; in omapfb_update_window_async()
730 yres = fbdev->panel->x_res; in omapfb_update_window_async()
808 if (pi->pos_x + pi->out_width > panel->x_res || in omapfb_setup_plane()
1716 def_vxres = def_vxres ? def_vxres : fbdev->panel->x_res; in omapfb_do_probe()
1780 hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw); in omapfb_do_probe()
Dlcd_ams_delta.c150 .x_res = 480,
Domapfb.h77 int x_res, y_res; member
Dhwa742.c352 int scr_width = hwa742.fbdev->panel->x_res; in send_frame_handler()
1001 hwa742.auto_update_window.width = fbdev->panel->x_res; in hwa742_init()
Dlcd_mipid.c510 .x_res = 800,
/linux-4.1.27/drivers/video/fbdev/
Dacornfb.h91 u_int x_res; member
Duvesafb.c278 var->xres = mode->x_res; in uvesafb_setup_var()
280 var->xres_virtual = mode->x_res; in uvesafb_setup_var()
319 h = abs(par->vbe_modes[i].x_res - xres) + in uvesafb_vbe_find_mode()
739 var.xres = mode->x_res; in uvesafb_vbe_getmonspecs()
1580 par->vbe_modes[i].x_res, par->vbe_modes[i].y_res, in uvesafb_show_vbe_modes()
Dneofb.c185 if (xres <= mode[i].x_res) { in neoFindMode()
186 xres_s = mode[i].x_res; in neoFindMode()
188 if (mode[i].x_res != xres_s) in neoFindMode()
/linux-4.1.27/include/video/
Duvesafb.h44 u16 x_res; member
Dneomagic.h187 int x_res; member
Domapdss.h338 u16 x_res; member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_connector.c50 mode->hdisplay = timings->x_res; in copy_timings_omap_to_drm()
81 timings->x_res = mode->hdisplay; in copy_timings_drm_to_omap()
/linux-4.1.27/drivers/input/mouse/
Delan_i2c_core.c76 unsigned int x_res; member
273 data->x_res = elan_convert_resolution(hw_x_res); in elan_query_device_parameters()
876 input_abs_set_res(input, ABS_X, data->x_res); in elan_setup_input_device()
884 input_abs_set_res(input, ABS_MT_POSITION_X, data->x_res); in elan_setup_input_device()
1003 data->x_res, data->y_res); in elan_probe()
Delantech.c1086 unsigned int *x_res, in elantech_get_resolution_v4() argument
1094 *x_res = elantech_convert_res(param[1] & 0x0f); in elantech_get_resolution_v4()
1170 unsigned int x_res = 0, y_res = 0; in elantech_set_input_params() local
1223 if (elantech_get_resolution_v4(psmouse, &x_res, &y_res)) { in elantech_set_input_params()
1235 input_abs_set_res(dev, ABS_X, x_res); in elantech_set_input_params()
1249 input_abs_set_res(dev, ABS_MT_POSITION_X, x_res); in elantech_set_input_params()
Dsynaptics.h174 unsigned int x_res, y_res; /* X/Y resolution in units/mm */ member
Dalps.h270 unsigned int x_res; member
Dsynaptics.c400 priv->x_res = resp[0]; /* x resolution in units/mm */ in synaptics_resolution()
934 input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->x_res); in synaptics_report_mt_data()
1163 input_abs_set_res(dev, x_code, priv->x_res); in set_abs_position_params()
Dalps.c2223 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution()
2229 x_phys / 10, y_phys / 10, priv->x_res, priv->y_res); in alps_get_v3_v7_resolution()
2413 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2()
2813 input_abs_set_res(dev1, ABS_MT_POSITION_X, priv->x_res); in alps_set_abs_params_mt_common()
/linux-4.1.27/drivers/media/platform/omap/
Domap_vout.c479 posx = (timing->x_res - win->w.width) - win->w.left; in omapvid_init()
488 posx = (timing->x_res - win->w.height) - win->w.top; in omapvid_init()
1110 vout->fbuf.fmt.width = timing->x_res; in vidioc_try_fmt_vid_out()
1153 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_fmt_vid_out()
1157 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_fmt_vid_out()
1316 vout->fbuf.fmt.height = timing->x_res; in vidioc_s_crop()
1320 vout->fbuf.fmt.width = timing->x_res; in vidioc_s_crop()
1898 vout->fbuf.fmt.width = display->panel.timings.x_res; in omap_vout_setup_video_data()
2241 display->panel.timings.x_res, in omap_vout_probe()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dpanel-dsi-cm.c386 *xres = dssdev->panel.timings.x_res; in dsicm_get_resolution()
896 dssdev->panel.timings.x_res, in dsicm_update()
1028 dssdev->panel.timings.x_res * in dsicm_memory_read()
1229 ddata->timings.x_res = 864; in dsicm_probe()
Dconnector-analog-tv.c33 .x_res = 720,
Dconnector-hdmi.c24 .x_res = 640,
Dpanel-nec-nl8048hl11.c71 .x_res = LCD_XRES,
Dconnector-dvi.c23 .x_res = 640,
Dpanel-lgphilips-lb035q02.c23 .x_res = 320,
Dpanel-sharp-ls037v7dw01.c40 .x_res = 480,
Dpanel-tpo-td028ttec1.c46 .x_res = 480,
Dpanel-tpo-td043mtea1.c77 .x_res = 800,
Dpanel-sony-acx565akm.c96 .x_res = 800,
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_kms.c38 m->id, m->x_res, m->y_res, m->bits, m->stride, m->x_mili, in qxl_dump_mode()
Dqxl_dev.h265 uint32_t x_res; member
/linux-4.1.27/drivers/gpu/drm/gma500/
Dintel_bios.h290 u16 x_res; member
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c2086 timings->x_res = var->xres; in omapfb_mode_to_timings()
2141 if (temp_timings.x_res != timings.x_res || in omapfb_set_def_mode()
2229 t->x_res = m->xres; in fb_videomode_to_omap_timings()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_bios.h331 u16 x_res; member
Dintel_bios.c307 if (fp_timing->x_res == panel_fixed_mode->hdisplay && in parse_lfp_panel_data()
/linux-4.1.27/drivers/hid/
Dwacom_wac.c1708 int x_res = input_abs_get_res(input, ABS_MT_POSITION_X); in wacom_bpt3_touch_msg() local
1711 height = width * y_res / x_res; in wacom_bpt3_touch_msg()