/openbmc/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() 511 if (device_property_read_u32(&client->dev, "x-size", &ts->x_max)) { in auo_pixcir_probe() 534 input_set_abs_params(input_dev, ABS_X, 0, ts->x_max, 0, 0); in auo_pixcir_probe() 538 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 | 280 ret = zforce_resolution(ts, pdata->x_max, pdata->y_max); in zforce_start() 358 if (point.coord_x > pdata->x_max || in zforce_touch_event() 722 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in zforce_parse_dt() 855 pdata->x_max, 0, 0); in zforce_probe()
|
H A D | elants_i2c.c | 168 unsigned int x_max; member 500 ts->x_max = 2240 - 1; in elants_i2c_query_ts_info_ektf() 577 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info_ekth() 578 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info_ekth() 1503 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 | 1040 int x_max, y_max; in goodix_read_config() local 1061 x_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC]); in goodix_read_config() 1063 if (x_max && y_max) { in goodix_read_config() 1064 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 1145 0, le16_to_cpu(ts->info.x_max), 0, 0); in raydium_i2c_probe()
|
H A D | ads7846.c | 1155 device_property_read_u16(dev, "ti,x-max", &pdata->x_max); in ads7846_get_props() 1288 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
|
H A D | ad7877.c | 746 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
|
/openbmc/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 unsigned int x_max, y_max; member 135 clamped_x = clamp(finger->x, 0U, priv->x_max); in focaltech_report_state() 340 input_set_abs_params(dev, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in focaltech_set_input_params() 383 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
|
H A D | synaptics.c | 389 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution() 393 info->x_max, info->y_max); in synaptics_resolution() 468 u32 x_min, x_max, y_min, y_max; member 548 info->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks() 553 info->x_min, info->x_max, in synaptics_apply_quirks() 1242 int x_max = info->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local 1248 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
|
H A D | alps.c | 431 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap() 439 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap() 447 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap() 455 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap() 464 corner[i].x = priv->x_max - corner[i].x; in alps_process_bitmap() 2316 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution() 2500 priv->x_max = in alps_update_device_area_ss4_v2() 2514 priv->x_max = in alps_update_device_area_ss4_v2() 2526 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2() 2638 priv->x_max = (num_x_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area() [all …]
|
H A D | elantech.h | 150 unsigned int x_max; member
|
H A D | alps.h | 302 int x_max; member
|
H A D | synaptics.h | 176 u32 x_max, y_max; /* Max coordinates (from FW) */ member
|
/openbmc/linux/include/linux/platform_data/ |
H A D | zforce_ts.h | 11 unsigned int x_max; member
|
/openbmc/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
|
/openbmc/linux/drivers/hid/ |
H A D | hid-alps.c | 107 u32 x_max; member 559 pri_data->x_max = in u1_init() 622 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE; in T4_init() 706 data->x_min, data->x_max, 0, 0); in alps_input_configured() 711 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured()
|
H A D | wacom_wac.c | 3601 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { in wacom_setup_device_quirks() 3602 features->x_max = 1023; in wacom_setup_device_quirks() 3621 features->x_max = features->x_max / 10; in wacom_setup_device_quirks() 3625 features->x_max = 4096; in wacom_setup_device_quirks() 3705 features->x_max <<= 5; in wacom_setup_device_quirks() 3762 features->x_max - features->offset_right, in wacom_setup_pen_input_capabilities() 3927 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 3937 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 3981 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() 3987 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 | 253 int x_max; member
|
H A D | wacom_sys.c | 450 features->x_max = field->logical_maximum; in wacom_usage_mapping() 2168 features->x_phy = (features->x_max * 100) / in wacom_set_default_phy() 2183 features->x_resolution = wacom_calc_hid_res(features->x_max, in wacom_calculate_res()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | applespi.c | 366 int x_max; member 1253 applespi->tp_info.x_max = x + w; in applespi_register_touchpad_device() 1267 applespi->tp_info.x_max - applespi->tp_info.x_min, in applespi_register_touchpad_device() 1313 applespi->tp_info.x_min, applespi->tp_info.x_max, in applespi_register_touchpad_device()
|