Home
last modified time | relevance | path

Searched refs:max_x (Results 1 – 12 of 12) sorted by relevance

/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()
262 input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); in pm_connect()
268 ABS_MT_POSITION_X, 0, max_x, 0, 0); in pm_connect()
Dcyttsp4_core.c343 si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh in cyttsp4_si_get_pcfg_data()
633 si->si_ofs.max_x, si->si_ofs.max_x); in cyttsp4_si_put_log_data()
805 touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
810 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
1881 int max_x, max_y, max_p, min, max; in cyttsp4_setup_input_device() local
1891 max_x_tmp = md->si->si_ofs.max_x; in cyttsp4_setup_input_device()
1896 max_x = max_y_tmp - 1; in cyttsp4_setup_input_device()
1899 max_x = max_x_tmp - 1; in cyttsp4_setup_input_device()
1919 max = max_x; in cyttsp4_setup_input_device()
Datmel_mxt_ts.c246 unsigned int max_x; member
715 if (data->max_x < 1024) in mxt_proc_t9_message()
1562 data->max_x = range.y; in mxt_read_t9_resolution()
1565 data->max_x = range.x; in mxt_read_t9_resolution()
1570 "Touchscreen size X%uY%u\n", data->max_x, data->max_y); in mxt_read_t9_resolution()
1631 0, data->max_x, 0, 0); in mxt_initialize_t9_input_device()
1648 0, data->max_x, 0, 0); in mxt_initialize_t9_input_device()
Dtsc2005.c599 unsigned int max_x = MAX_12BIT; in tsc2005_probe() local
623 max_x = pdata->ts_x_max; in tsc2005_probe()
707 input_set_abs_params(input_dev, ABS_X, 0, max_x, fudge_x, 0); in tsc2005_probe()
Dcyttsp4_core.h285 size_t max_x; member
/drivers/input/tablet/
Dwacom_serial4.c177 unsigned int max_x, max_y; member
241 wacom->max_x = 5103; 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()
577 input_set_abs_params(wacom->dev, ABS_X, 0, wacom->max_x, 0, 0); in wacom_connect()
Dhanwang.c86 int max_x; member
401 0, hanwang->features->max_x, 4, 0); in hanwang_probe()
/drivers/hid/
Dhid-rmi.c107 unsigned int max_x; member
748 data->max_x = buf[6] | (buf[7] << 8); in rmi_populate_f11()
879 input_set_abs_params(input, ABS_MT_POSITION_X, 1, data->max_x, 0, 0); in rmi_input_configured()
883 res_x = (data->max_x - 1) / data->x_size_mm; in rmi_input_configured()
/drivers/video/fbdev/core/
Dmodedb.c1099 if (specs->max_x && specs->max_y) { in fb_find_best_display()
1103 var.xres = (specs->max_x * 7200)/254; in fb_find_best_display()
Dfbmon.c823 specs->max_x = block[1]; in get_monspecs()
826 if (specs->max_x) in get_monspecs()
827 DPRINTK("%d\n", specs->max_x); in get_monspecs()
/drivers/media/i2c/
Ds5k6aa.c1188 unsigned int max_x, max_y; in s5k6aa_set_crop() local
1205 max_x = (S5K6AA_WIN_WIDTH_MAX - crop->rect.width) & ~1; in s5k6aa_set_crop()
1208 crop->rect.left = clamp_t(unsigned int, crop->rect.left, 0, max_x); in s5k6aa_set_crop()
/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c581 ch->display.width = monspec->max_x * 10; in sh_mobile_lcdc_display_notify()