Home
last modified time | relevance | path

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

/drivers/input/mouse/
Delantech.c853 unsigned int *x_max, unsigned int *y_max, in elantech_set_range() argument
864 *x_max = ETP_XMAX_V1; in elantech_set_range()
874 *x_max = ETP_XMAX_V2; in elantech_set_range()
892 *x_max = (etd->capabilities[1] - i) * param[1] / 2; in elantech_set_range()
895 *x_max = 819; in elantech_set_range()
898 *x_max = 900; in elantech_set_range()
901 *x_max = (etd->capabilities[1] - i) * 64; in elantech_set_range()
911 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
919 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
922 if ((traces < 2) || (traces > *x_max)) in elantech_set_range()
[all …]
Dalps.h141 int x_max; member
Dalps.c358 *x1 = (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap()
364 *x2 = (priv->x_max * in alps_process_bitmap()
1545 priv->x_max = 2000; in alps_set_defaults()
1582 priv->x_max = 1360; in alps_set_defaults()
1717 input_set_abs_params(dev1, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_mt()
1724 input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_mt()
Dsynaptics.h159 unsigned int x_max, y_max; /* Max coordinates (from FW) */ member
Dsynaptics.c289 priv->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution()
1235 int x_max = priv->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local
1241 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
/drivers/input/touchscreen/
Dwacom_i2c.c33 int x_max; member
80 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
87 features->x_max, features->y_max, in wacom_query_device()
190 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
Dpixcir_i2c_ts.c160 input_set_abs_params(input, ABS_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
162 input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
Dauo-pixcir-ts.c165 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data()
514 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in auo_pixcir_parse_dt()
593 input_set_abs_params(input_dev, ABS_X, 0, pdata->x_max, 0, 0); in auo_pixcir_probe()
598 pdata->x_max, 0, 0); in auo_pixcir_probe()
Dad7879.c562 pdata->x_max ? : MAX_12BIT, in ad7879_probe()
Dad7877.c757 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
Dads7846.c1305 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
/drivers/input/tablet/
Dwacom_sys.c233 int xres = wacom_calc_hid_res(features->x_max, features->x_phy, in wacom_fix_phy_from_hid()
239 features->x_phy = (100 * features->x_max) / xres; in wacom_fix_phy_from_hid()
253 features->x_phy = (features->x_max * 100) / features->x_resolution; in wacom_set_phy_from_res()
270 features->x_max = features->y_max = in wacom_parse_logical_collection()
417 features->x_max = in wacom_parse_hid()
423 features->x_max = in wacom_parse_hid()
433 features->x_max = in wacom_parse_hid()
447 features->x_max = in wacom_parse_hid()
486 features->x_max; in wacom_parse_hid()
1232 wacom_wac2->features.x_max = wacom_wac2->features.y_max = 4096; in wacom_wireless_work()
[all …]
Dwacom_wac.c1416 if (features->device_type == BTN_TOOL_FINGER && !features->x_max) { in wacom_setup_device_quirks()
1417 features->x_max = 1023; in wacom_setup_device_quirks()
1430 features->x_max <<= 5; in wacom_setup_device_quirks()
1461 input_set_abs_params(input_dev, ABS_X, 0, features->x_max, in wacom_abs_set_axis()
1474 features->x_max, features->x_fuzz, 0); in wacom_abs_set_axis()
1478 wacom_calculate_touch_res(features->x_max, in wacom_abs_set_axis()
1487 features->x_max, features->x_fuzz, 0); in wacom_abs_set_axis()
1491 wacom_calculate_touch_res(features->x_max, in wacom_abs_set_axis()
1665 0, features->x_max, 0, 0); in wacom_setup_input_capabilities()
1690 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_input_capabilities()
[all …]
Dwacom_wac.h101 int x_max; member