Home
last modified time | relevance | path

Searched refs:max_y (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
Dpenmount.c203 int max_x, max_y; in pm_connect() local
235 max_x = max_y = 0x3ff; in pm_connect()
242 max_x = max_y = 0x3ff; in pm_connect()
249 max_x = max_y = 0x7ff; in pm_connect()
257 max_x = max_y = 0x3ff; in pm_connect()
263 input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); in pm_connect()
270 ABS_MT_POSITION_Y, 0, max_y, 0, 0); in pm_connect()
Dft6236.c46 u32 max_y; member
134 y = ft6236->max_y - y; in ft6236_interrupt()
251 &ft6236->max_y)) { in ft6236_probe()
267 ft6236->max_y, fuzz_y, 0); in ft6236_probe()
274 ft6236->max_y, fuzz_y, 0); in ft6236_probe()
Dchipone_icn8318.c56 u32 max_y; member
134 y = data->max_y - y; in icn8318_irq()
227 of_property_read_u32(np, "touchscreen-size-y", &data->max_y)) { in icn8318_probe()
253 data->max_y, fuzz_y, 0); in icn8318_probe()
256 data->max_y, fuzz_y, 0); in icn8318_probe()
Dbcm_iproc_tsc.c133 u32 max_y; member
163 .max_y = Y_MAX,
247 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt()
398 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config()
472 input_set_abs_params(idev, ABS_Y, Y_MIN, priv->cfg_params.max_y, in iproc_ts_probe()
Dtsc200x-core.c463 unsigned int max_y = MAX_12BIT; in tsc200x_probe() local
495 max_y = pdata->ts_y_max; in tsc200x_probe()
558 input_set_abs_params(input_dev, ABS_Y, 0, max_y, fudge_y, 0); in tsc200x_probe()
Datmel_mxt_ts.c218 unsigned int max_y; member
708 if (data->max_y < 1024) in mxt_proc_t9_message()
1686 data->max_y = range.x; in mxt_read_t9_resolution()
1689 data->max_y = range.y; in mxt_read_t9_resolution()
1693 "Touchscreen size X%uY%u\n", data->max_x, data->max_y); in mxt_read_t9_resolution()
1748 data->max_y = range_x; in mxt_read_t100_config()
1751 data->max_y = range_y; in mxt_read_t100_config()
1771 "T100 Touchscreen size X%uY%u\n", data->max_x, data->max_y); in mxt_read_t100_config()
1848 input_set_abs_params(input_dev, ABS_Y, 0, data->max_y, 0, 0); in mxt_initialize_input_device()
1883 0, data->max_y, 0, 0); in mxt_initialize_input_device()
Dcyttsp4_core.c347 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data()
639 si->si_ofs.max_y, si->si_ofs.max_y); in cyttsp4_si_put_log_data()
799 touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
810 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
1878 int max_x, max_y, max_p, min, max; in cyttsp4_setup_input_device() local
1889 max_y_tmp = md->si->si_ofs.max_y; in cyttsp4_setup_input_device()
1894 max_y = max_x_tmp - 1; in cyttsp4_setup_input_device()
1897 max_y = max_y_tmp - 1; in cyttsp4_setup_input_device()
1918 max = max_y; in cyttsp4_setup_input_device()
Dwdt87xx_i2c.c173 u32 max_y; member
467 param->max_y = DIV_ROUND_CLOSEST(MAX_UNIT_AXIS * param->phy_h, in wdt87xx_get_sysparam()
979 if (x > param->max_x || y > param->max_y) in wdt87xx_report_contact()
1047 wdt->param.max_y, 0, 0); in wdt87xx_ts_create_input_device()
Dcyttsp4_core.h287 size_t max_y; member
/linux-4.4.14/drivers/input/tablet/
Dwacom_serial4.c177 unsigned int max_x, max_y; member
242 wacom->max_y = 3711; in wacom_handle_model_response()
282 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); in wacom_handle_coordinates_response()
510 if (!(wacom->max_x && wacom->max_y)) { in wacom_setup()
578 input_set_abs_params(wacom->dev, ABS_Y, 0, wacom->max_y, 0, 0); in wacom_connect()
Dhanwang.c87 int max_y; member
400 0, hanwang->features->max_y, 4, 0); in hanwang_probe()
/linux-4.4.14/drivers/input/mouse/
Delan_i2c_core.c74 unsigned int max_y; member
306 error = data->ops->get_max(data->client, &data->max_x, &data->max_y); in elan_query_device_parameters()
315 data->width_y = data->max_y / y_traces; in elan_query_device_parameters()
807 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact()
811 data->max_x, data->max_y); in elan_report_contact()
833 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact()
936 input_set_abs_params(input, ABS_Y, 0, data->max_y, 0, 0); in elan_setup_input_device()
945 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, data->max_y, 0, 0); in elan_setup_input_device()
1062 data->max_x, data->max_y, in elan_probe()
Delan_i2c.h66 unsigned int *max_x, unsigned int *max_y);
Delan_i2c_smbus.c223 unsigned int *max_x, unsigned int *max_y) in elan_smbus_get_max() argument
235 *max_y = (0xf0 & val[0]) << 4 | val[2]; in elan_smbus_get_max()
Delan_i2c_i2c.c315 unsigned int *max_x, unsigned int *max_y) in elan_i2c_get_max() argument
334 *max_y = le16_to_cpup((__le16 *)val) & 0x0fff; in elan_i2c_get_max()
/linux-4.4.14/drivers/hid/
Dhid-rmi.c124 unsigned int max_y; member
355 y = hdata->max_y - y; in rmi_f11_process_touch()
1049 data->max_y = data->f11_ctrl_regs[8] | (data->f11_ctrl_regs[9] << 8); in rmi_populate_f11()
1216 input_set_abs_params(input, ABS_MT_POSITION_Y, 1, data->max_y, 0, 0); in rmi_input_configured()
1220 res_y = (data->max_y - 1) / data->y_size_mm; in rmi_input_configured()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c177 u32 cpp, max_x, max_y; in vmw_fb_dirty_flush() local
202 max_y = par->fb_y + cur_fb->height; in vmw_fb_dirty_flush()
212 dst_y2 = min_t(s32, dst_y2, max_y); in vmw_fb_dirty_flush()
/linux-4.4.14/drivers/video/fbdev/core/
Dmodedb.c1210 if (specs->max_x && specs->max_y) { in fb_find_best_display()
1215 var.yres = (specs->max_y * 7200)/254; in fb_find_best_display()
Dfbmon.c837 specs->max_y = block[2]; in get_monspecs()
844 if (specs->max_y) in get_monspecs()
845 DPRINTK("%d\n", specs->max_y); in get_monspecs()
/linux-4.4.14/drivers/media/i2c/
Ds5k6aa.c1193 unsigned int max_x, max_y; in s5k6aa_set_selection() local
1214 max_y = (S5K6AA_WIN_HEIGHT_MAX - sel->r.height) & ~1; in s5k6aa_set_selection()
1217 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, max_y); in s5k6aa_set_selection()
/linux-4.4.14/drivers/tty/vt/
Dvt.c1060 int min_y, max_y; in gotoxy() local
1073 max_y = vc->vc_bottom; in gotoxy()
1076 max_y = vc->vc_rows; in gotoxy()
1080 else if (new_y >= max_y) in gotoxy()
1081 vc->vc_y = max_y - 1; in gotoxy()
/linux-4.4.14/include/linux/
Dfb.h89 __u8 max_y; /* Maximum vertical size (cm) */ member
/linux-4.4.14/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c582 ch->display.height = monspec->max_y * 10; in sh_mobile_lcdc_display_notify()