Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dsynaptics_i2c_rmi.c266 uint16_t max_x, max_y; in synaptics_ts_probe() local
441 ts->max[0] = max_x = (ret >> 8 & 0xff) | ((ret & 0x1f) << 8); in synaptics_ts_probe()
449 swap(max_x, max_y); in synaptics_ts_probe()
469 inactive_area_left = inactive_area_left * max_x / 0x10000; in synaptics_ts_probe()
470 inactive_area_right = inactive_area_right * max_x / 0x10000; in synaptics_ts_probe()
473 snap_left_on = snap_left_on * max_x / 0x10000; in synaptics_ts_probe()
474 snap_left_off = snap_left_off * max_x / 0x10000; in synaptics_ts_probe()
475 snap_right_on = snap_right_on * max_x / 0x10000; in synaptics_ts_probe()
476 snap_right_off = snap_right_off * max_x / 0x10000; in synaptics_ts_probe()
481 fuzz_x = fuzz_x * max_x / 0x10000; in synaptics_ts_probe()
[all …]
Dpenmount.c204 int max_x, max_y; in pm_connect() local
236 max_x = max_y = 0x3ff; in pm_connect()
243 max_x = max_y = 0x3ff; in pm_connect()
250 max_x = max_y = 0x7ff; in pm_connect()
258 max_x = max_y = 0x3ff; in pm_connect()
263 input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); in pm_connect()
269 ABS_MT_POSITION_X, 0, max_x, 0, 0); in pm_connect()
Datmel_mxt_ts.c259 unsigned int max_x; member
587 if (data->max_x < 1024) in mxt_input_touchevent()
888 unsigned int max_x = data->pdata->x_size - 1; in mxt_calc_resolution() local
892 data->max_x = max_y; in mxt_calc_resolution()
893 data->max_y = max_x; in mxt_calc_resolution()
895 data->max_x = max_x; in mxt_calc_resolution()
1133 0, data->max_x, 0, 0); in mxt_probe()
1144 0, data->max_x, 0, 0); in mxt_probe()
Dtsc2005.c577 unsigned int max_x, max_y, max_p; in tsc2005_probe() local
589 max_x = pdata->ts_x_max ? : MAX_12BIT; in tsc2005_probe()
640 input_set_abs_params(input_dev, ABS_X, 0, max_x, fudge_x, 0); in tsc2005_probe()
/drivers/input/tablet/
Dhanwang.c86 int max_x; member
372 0, hanwang->features->max_x, 4, 0); in hanwang_probe()
/drivers/video/
Dfbmon.c821 specs->max_x = block[1]; in get_monspecs()
824 if (specs->max_x) in get_monspecs()
825 DPRINTK("%d\n", specs->max_x); in get_monspecs()
Dmodedb.c1102 if (specs->max_x && specs->max_y) { in fb_find_best_display()
1106 var.xres = (specs->max_x * 7200)/254; in fb_find_best_display()
Dsh_mobile_lcdcfb.c405 ch->display.width = monspec->max_x * 10; in sh_mobile_lcdc_display_notify()
414 info->var.width = monspec->max_x * 10; in sh_mobile_lcdc_display_notify()
/drivers/media/video/
Ds5k6aa.c1191 unsigned int max_x, max_y; in s5k6aa_set_crop() local
1208 max_x = (S5K6AA_WIN_WIDTH_MAX - crop->rect.width) & ~1; in s5k6aa_set_crop()
1211 crop->rect.left = clamp_t(unsigned int, crop->rect.left, 0, max_x); in s5k6aa_set_crop()