/Linux-v4.19/drivers/input/mouse/ |
D | elantech.c | 999 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 = (info->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 = (info->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 …]
|
D | focaltech.c | 115 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()
|
D | synaptics.c | 374 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution() 378 info->x_max, info->y_max); in synaptics_resolution() 453 u32 x_min, x_max, y_min, y_max; member 533 info->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks() 538 info->x_min, info->x_max, in synaptics_apply_quirks() 1224 int x_max = info->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local 1230 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
|
D | alps.c | 433 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap() 441 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap() 449 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap() 457 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap() 466 corner[i].x = priv->x_max - corner[i].x; in alps_process_bitmap() 2318 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution() 2502 priv->x_max = in alps_update_device_area_ss4_v2() 2516 priv->x_max = in alps_update_device_area_ss4_v2() 2528 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2() 2640 priv->x_max = (num_x_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area() [all …]
|
D | alps.h | 305 int x_max; member
|
D | synaptics.h | 179 u32 x_max, y_max; /* Max coordinates (from FW) */ member
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | wacom_i2c.c | 32 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()
|
D | auo-pixcir-ts.c | 165 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data() 503 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in auo_pixcir_parse_dt() 582 input_set_abs_params(input_dev, ABS_X, 0, pdata->x_max, 0, 0); in auo_pixcir_probe() 587 pdata->x_max, 0, 0); in auo_pixcir_probe()
|
D | goodix.c | 571 int x_max, y_max; in goodix_read_config() local 587 x_max = get_unaligned_le16(&config[RESOLUTION_LOC]); in goodix_read_config() 589 if (x_max && y_max) { in goodix_read_config() 590 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_X, x_max - 1); in goodix_read_config()
|
D | zforce_ts.c | 288 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()
|
D | elants_i2c.c | 138 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() 1234 input_set_abs_params(ts->input, ABS_X, 0, ts->x_max, 0, 0); in elants_i2c_probe() 1249 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
|
D | raydium_i2c_ts.c | 117 __le16 x_max; member 1094 0, le16_to_cpu(ts->info.x_max), 0, 0); in raydium_i2c_probe()
|
D | pixcir_i2c_ts.c | 489 input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
|
D | ads7846.c | 1226 of_property_read_u16(node, "ti,x-max", &pdata->x_max); in ads7846_probe_dt() 1361 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
|
/Linux-v4.19/include/linux/platform_data/ |
D | zforce_ts.h | 19 unsigned int x_max; member
|
D | pixcir_i2c_ts.h | 59 int x_max; member
|
D | ad7879.h | 12 u16 x_min, x_max; member
|
/Linux-v4.19/include/linux/input/ |
D | auo-pixcir-ts.h | 50 unsigned int x_max; member
|
/Linux-v4.19/include/linux/spi/ |
D | ad7877.h | 15 u16 x_min, x_max; member
|
D | ads7846.h | 40 u16 x_min, x_max; member
|
/Linux-v4.19/drivers/hid/ |
D | hid-alps.c | 110 u32 x_max; member 562 pri_data->x_max = in u1_init() 625 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE; in T4_init() 695 data->x_min, data->x_max, 0, 0); in alps_input_configured() 700 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured()
|
D | wacom_wac.c | 3349 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { in wacom_setup_device_quirks() 3350 features->x_max = 1023; in wacom_setup_device_quirks() 3369 features->x_max = features->x_max / 10; in wacom_setup_device_quirks() 3373 features->x_max = 4096; in wacom_setup_device_quirks() 3452 features->x_max <<= 5; in wacom_setup_device_quirks() 3494 features->x_max - features->offset_right, in wacom_setup_pen_input_capabilities() 3658 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 3668 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities() 3705 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() 3711 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() [all …]
|
D | wacom_wac.h | 251 int x_max; member
|
/Linux-v4.19/arch/arm/mach-omap1/ |
D | board-nokia770.c | 119 .x_max = 0x0fff,
|
D | board-htcherald.c | 441 .x_max = 3760,
|