| /linux/drivers/input/mouse/ |
| H A D | elantech.c | 1171 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local 1197 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params() 1208 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params() 1217 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params() 1225 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params() 1237 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params() 1820 info->x_max = ETP_XMAX_V1; in elantech_query_info() 1830 info->x_max = ETP_XMAX_V2; in elantech_query_info() 1848 info->x_max = (info->capabilities[1] - i) * param[1] / 2; in elantech_query_info() 1851 info->x_max = 819; in elantech_query_info() [all …]
|
| H A D | focaltech.c | 111 int x_max, y_max; member 134 finger->x = clamp(finger->x, 0, priv->x_max); in focaltech_report_state() 339 input_set_abs_params(dev, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in focaltech_set_input_params() 382 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
|
| H A D | synaptics.c | 399 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution() 403 info->x_max, info->y_max); in synaptics_resolution() 478 u32 x_min, x_max, y_min, y_max; 558 info->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks() 563 info->x_min, info->x_max, in synaptics_apply_quirks() 1278 int x_max = info->x_max ?: XMAX_NOMINAL; in set_abs_position_params() 1284 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params() 477 u32 x_min, x_max, y_min, y_max; global() member 1277 int x_max = info->x_max ?: XMAX_NOMINAL; set_abs_position_params() local
|
| H A D | elantech.h | 150 unsigned int x_max; member
|
| /linux/drivers/input/touchscreen/ |
| H A D | wacom_i2c.c | 43 int x_max; member 93 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device() 100 features->x_max, features->y_max, in wacom_query_device() 209 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
|
| H A D | auo-pixcir-ts.c | 120 unsigned int x_max; member 168 if (point[i].coord_x > ts->x_max || in auo_pixcir_collect_data() 512 if (device_property_read_u32(&client->dev, "x-size", &ts->x_max)) { in auo_pixcir_probe() 535 input_set_abs_params(input_dev, ABS_X, 0, ts->x_max, 0, 0); in auo_pixcir_probe() 539 input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in auo_pixcir_probe()
|
| H A D | zforce_ts.c | 671 u32 x_max = 0; in zforce_ts_parse_legacy_properties() local 674 device_property_read_u32(&ts->client->dev, "x-size", &x_max); in zforce_ts_parse_legacy_properties() 675 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, x_max, 0, 0); in zforce_ts_parse_legacy_properties()
|
| H A D | elants_i2c.c | 168 unsigned int x_max; member 498 ts->x_max = 2240 - 1; in elants_i2c_query_ts_info_ektf() 575 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info_ekth() 576 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info_ekth() 1487 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
|
| H A D | goodix.c | 1041 int x_max, y_max; in goodix_read_config() local 1063 x_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC]); in goodix_read_config() 1065 if (x_max && y_max) { in goodix_read_config() 1066 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_X, x_max - 1); in goodix_read_config()
|
| H A D | raydium_i2c_ts.c | 111 __le16 x_max; member 1134 0, le16_to_cpu(ts->info.x_max), 0, 0); in raydium_i2c_probe()
|
| H A D | ads7846.c | 1322 device_property_read_u16(dev, "ti,x-max", &pdata->x_max); in ads7846_get_props() 1467 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
|
| /linux/include/linux/spi/ |
| H A D | ad7877.h | 15 u16 x_min, x_max; member
|
| H A D | ads7846.h | 29 u16 x_min, x_max; member
|
| /linux/drivers/hid/ |
| H A D | hid-alps.c | 107 u32 x_max; member 564 pri_data->x_max = in u1_init() 627 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE; in T4_init() 711 data->x_min, data->x_max, 0, 0); in alps_input_configured() 716 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured()
|
| H A D | wacom_wac.c | 3662 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { in wacom_setup_device_quirks() 3663 features->x_max = 1023; in wacom_setup_device_quirks() 3682 features->x_max = features->x_max / 10; in wacom_setup_device_quirks() 3686 features->x_max = 4096; in wacom_setup_device_quirks() 3766 features->x_max <<= 5; in wacom_setup_device_quirks() 3823 features->x_max - features->offset_right, in wacom_setup_pen_input_capabilities() 3988 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 3998 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 4042 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() 4048 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() [all …]
|
| H A D | wacom_wac.h | 251 int x_max; member
|
| H A D | wacom_sys.c | 465 features->x_max = field->logical_maximum; in wacom_usage_mapping() 2213 features->x_phy = (features->x_max * 100) / in wacom_set_default_phy() 2228 features->x_resolution = wacom_calc_hid_res(features->x_max, in wacom_calculate_res()
|
| /linux/drivers/input/keyboard/ |
| H A D | applespi.c | 366 int x_max; member 1234 applespi->tp_info.x_max = x + w; in applespi_register_touchpad_device() 1248 applespi->tp_info.x_max - applespi->tp_info.x_min, in applespi_register_touchpad_device() 1294 applespi->tp_info.x_min, applespi->tp_info.x_max, in applespi_register_touchpad_device()
|