Home
last modified time | relevance | path

Searched refs:x_max (Results 1 – 19 of 19) sorted by relevance

/drivers/input/mouse/
Delantech.c1000 unsigned int *x_max, unsigned int *y_max, in elantech_set_range() argument
1011 *x_max = ETP_XMAX_V1; in elantech_set_range()
1021 *x_max = ETP_XMAX_V2; in elantech_set_range()
1039 *x_max = (etd->capabilities[1] - i) * param[1] / 2; in elantech_set_range()
1042 *x_max = 819; in elantech_set_range()
1045 *x_max = 900; in elantech_set_range()
1048 *x_max = (etd->capabilities[1] - i) * 64; in elantech_set_range()
1058 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
1066 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
1069 if ((traces < 2) || (traces > *x_max)) in elantech_set_range()
[all …]
Dfocaltech.c115 unsigned int x_max, y_max; member
139 clamped_x = clamp(finger->x, 0U, priv->x_max); in focaltech_report_state()
344 input_set_abs_params(dev, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in focaltech_set_input_params()
387 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
Dsynaptics.c132 int x_min, x_max, y_min, y_max; member
411 priv->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution()
415 priv->x_max, priv->y_max); in synaptics_resolution()
465 priv->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks()
470 priv->x_min, priv->x_max, in synaptics_apply_quirks()
1155 int x_max = priv->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local
1161 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
Dalps.c428 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap()
436 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap()
444 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap()
452 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap()
461 corner[i].x = priv->x_max - corner[i].x; in alps_process_bitmap()
2308 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution()
2492 priv->x_max = in alps_update_device_area_ss4_v2()
2506 priv->x_max = in alps_update_device_area_ss4_v2()
2518 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2()
2630 priv->x_max = (num_x_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area()
[all …]
Dsynaptics.h175 unsigned int x_max, y_max; /* Max coordinates (from FW) */ member
Dalps.h289 int x_max; member
/drivers/input/touchscreen/
Dwacom_i2c.c32 int x_max; member
81 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
88 features->x_max, features->y_max, in wacom_query_device()
196 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
Dauo-pixcir-ts.c165 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data()
507 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in auo_pixcir_parse_dt()
586 input_set_abs_params(input_dev, ABS_X, 0, pdata->x_max, 0, 0); in auo_pixcir_probe()
591 pdata->x_max, 0, 0); in auo_pixcir_probe()
Dzforce_ts.c288 ret = zforce_resolution(ts, pdata->x_max, pdata->y_max); in zforce_start()
366 if (point.coord_x > pdata->x_max || in zforce_touch_event()
730 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in zforce_parse_dt()
864 pdata->x_max, 0, 0); in zforce_probe()
Delants_i2c.c138 unsigned int x_max; member
489 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info()
490 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info()
1241 input_set_abs_params(ts->input, ABS_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
1256 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
Draydium_i2c_ts.c117 __le16 x_max; member
1093 0, le16_to_cpu(ts->info.x_max), 0, 0); in raydium_i2c_probe()
Dpixcir_i2c_ts.c489 input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
Dads7846.c1226 of_property_read_u16(node, "ti,x-max", &pdata->x_max); in ads7846_probe_dt()
1361 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
Dad7879.c585 pdata->x_max ? : MAX_12BIT, in ad7879_probe()
Dad7877.c751 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
/drivers/hid/
Dhid-alps.c95 u32 x_max; member
348 devInfo.x_max = in alps_input_configured()
354 input_set_abs_params(input, ABS_MT_POSITION_X, 1, devInfo.x_max, 0, 0); in alps_input_configured()
358 res_x = (devInfo.x_max - 1) / devInfo.x_active_len_mm; in alps_input_configured()
Dwacom_wac.h162 int x_max; member
Dwacom_wac.c2413 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { in wacom_setup_device_quirks()
2414 features->x_max = 1023; in wacom_setup_device_quirks()
2432 features->x_max = 4096; in wacom_setup_device_quirks()
2497 features->x_max <<= 5; in wacom_setup_device_quirks()
2537 features->x_max, features->x_fuzz, 0); in wacom_setup_pen_input_capabilities()
2696 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities()
2706 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities()
2722 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities()
2728 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities()
2729 input_set_abs_params(input_dev, ABS_MT_WIDTH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities()
[all …]
Dwacom_sys.c245 features->x_max = field->logical_maximum; in wacom_usage_mapping()
1846 features->x_phy = (features->x_max * 100) / in wacom_set_default_phy()
1861 features->x_resolution = wacom_calc_hid_res(features->x_max, in wacom_calculate_res()