Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/input/mouse/
Delantech.c1116 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1142 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1153 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1162 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1170 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1182 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1674 info->x_max = ETP_XMAX_V1; in elantech_query_info()
1684 info->x_max = ETP_XMAX_V2; in elantech_query_info()
1702 info->x_max = (info->capabilities[1] - i) * param[1] / 2; in elantech_query_info()
1705 info->x_max = 819; in elantech_query_info()
[all …]
Dfocaltech.c111 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()
Dsynaptics.c378 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution()
382 info->x_max, info->y_max); in synaptics_resolution()
457 u32 x_min, x_max, y_min, y_max; member
537 info->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks()
542 info->x_min, info->x_max, in synaptics_apply_quirks()
1228 int x_max = info->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local
1234 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
Dalps.c431 (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 …]
Delantech.h146 unsigned int x_max; member
Dalps.h302 int x_max; member
Dsynaptics.h176 u32 x_max, y_max; /* Max coordinates (from FW) */ member
/Linux-v5.4/drivers/input/touchscreen/
Dwacom_i2c.c27 int x_max; member
76 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
83 features->x_max, features->y_max, in wacom_query_device()
191 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
Dauo-pixcir-ts.c155 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data()
493 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in auo_pixcir_parse_dt()
572 input_set_abs_params(input_dev, ABS_X, 0, pdata->x_max, 0, 0); in auo_pixcir_probe()
577 pdata->x_max, 0, 0); in auo_pixcir_probe()
Dgoodix.c624 int x_max, y_max; in goodix_read_config() local
640 x_max = get_unaligned_le16(&config[RESOLUTION_LOC]); in goodix_read_config()
642 if (x_max && y_max) { in goodix_read_config()
643 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_X, x_max - 1); in goodix_read_config()
Dzforce_ts.c280 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()
856 pdata->x_max, 0, 0); in zforce_probe()
Delants_i2c.c133 unsigned int x_max; member
485 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info()
486 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info()
1230 input_set_abs_params(ts->input, ABS_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
1245 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
Draydium_i2c_ts.c108 __le16 x_max; member
1085 0, le16_to_cpu(ts->info.x_max), 0, 0); in raydium_i2c_probe()
Dpixcir_i2c_ts.c481 input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
/Linux-v5.4/include/linux/platform_data/
Dzforce_ts.h11 unsigned int x_max; member
Dpixcir_i2c_ts.h59 int x_max; member
/Linux-v5.4/include/linux/input/
Dauo-pixcir-ts.h40 unsigned int x_max; member
/Linux-v5.4/include/linux/spi/
Dad7877.h15 u16 x_min, x_max; member
Dads7846.h40 u16 x_min, x_max; member
/Linux-v5.4/drivers/hid/
Dhid-alps.c106 u32 x_max; member
558 pri_data->x_max = in u1_init()
621 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE; in T4_init()
705 data->x_min, data->x_max, 0, 0); in alps_input_configured()
710 res_x = (data->x_max - 1) / data->x_active_len_mm; in alps_input_configured()
Dwacom_wac.c3468 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) { in wacom_setup_device_quirks()
3469 features->x_max = 1023; in wacom_setup_device_quirks()
3488 features->x_max = features->x_max / 10; in wacom_setup_device_quirks()
3492 features->x_max = 4096; in wacom_setup_device_quirks()
3572 features->x_max <<= 5; in wacom_setup_device_quirks()
3632 features->x_max - features->offset_right, in wacom_setup_pen_input_capabilities()
3798 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities()
3808 features->x_max, features->x_fuzz, 0); in wacom_setup_touch_input_capabilities()
3852 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities()
3858 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities()
[all …]
Dwacom_wac.h250 int x_max; member
/Linux-v5.4/arch/arm/mach-omap1/
Dboard-nokia770.c116 .x_max = 0x0fff,
Dboard-htcherald.c426 .x_max = 3760,
/Linux-v5.4/drivers/input/keyboard/
Dapplespi.c356 int x_max; member
1229 applespi->tp_info.x_max = x + w; in applespi_register_touchpad_device()
1243 applespi->tp_info.x_max - applespi->tp_info.x_min, in applespi_register_touchpad_device()
1289 applespi->tp_info.x_min, applespi->tp_info.x_max, in applespi_register_touchpad_device()

12