Searched refs:x_max (Results 1 - 23 of 23) sorted by relevance

/linux-master/include/linux/platform_data/
H A Dzforce_ts.h11 unsigned int x_max; member in struct:zforce_ts_platdata
/linux-master/include/linux/spi/
H A Dad7877.h15 u16 x_min, x_max; member in struct:ad7877_platform_data
H A Dads7846.h29 u16 x_min, x_max; member in struct:ads7846_platform_data
/linux-master/drivers/input/touchscreen/
H A Dwacom_i2c.c43 int x_max; member in struct:wacom_features
93 features->x_max = get_unaligned_le16(&data[3]);
99 "x_max:%d, y_max:%d, pressure:%d, fw:%d\n",
100 features->x_max, features->y_max,
209 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0);
H A Dauo-pixcir-ts.c120 unsigned int x_max; member in struct:auo_pixcir_ts
168 if (point[i].coord_x > ts->x_max ||
511 if (device_property_read_u32(&client->dev, "x-size", &ts->x_max)) {
534 input_set_abs_params(input_dev, ABS_X, 0, ts->x_max, 0, 0);
538 input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0);
H A Delants_i2c.c168 unsigned int x_max; member in struct:elants_data
500 ts->x_max = 2240 - 1;
577 ts->x_max = ELAN_TS_RESOLUTION(rows, osr);
578 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x);
1500 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0);
H A Dgoodix.c1040 int x_max, y_max; local
1061 x_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC]);
1063 if (x_max && y_max) {
1064 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_X, x_max - 1);
H A Draydium_i2c_ts.c111 __le16 x_max; member in struct:raydium_info
1142 0, le16_to_cpu(ts->info.x_max), 0, 0);
H A Dads7846.c1142 device_property_read_u16(dev, "ti,x-max", &pdata->x_max);
1275 pdata->x_max ? : MAX_12BIT,
H A Dzforce_ts.c721 of_property_read_u32(np, "x-size", &pdata->x_max);
847 pdata->x_max, 0, 0);
H A Dad7877.c747 pdata->x_max ? : MAX_12BIT,
/linux-master/drivers/input/mouse/
H A Delantech.h150 unsigned int x_max; member in struct:elantech_device_info
H A Dfocaltech.c111 unsigned int x_max, y_max; member in struct:focaltech_data
135 clamped_x = clamp(finger->x, 0U, priv->x_max);
340 input_set_abs_params(dev, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0);
383 priv->x_max = (unsigned char)param[1] * 128;
H A Delantech.c1171 x_max = info->x_max, y_max = info->y_max, local
1197 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0);
1208 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0);
1217 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0);
1225 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0);
1237 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0);
1789 info->x_max = ETP_XMAX_V1;
1799 info->x_max = ETP_XMAX_V2;
1817 info->x_max
[all...]
H A Dsynaptics.c388 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1);
392 info->x_max, info->y_max);
467 u32 x_min, x_max, y_min, y_max; member in struct:min_max_quirk
547 info->x_max = min_max_pnpid_table[i].x_max;
552 info->x_min, info->x_max,
1241 int x_max = info->x_max ?: XMAX_NOMINAL; local
1247 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0);
H A Dsynaptics.h176 u32 x_max, y_max; /* Max coordinates (from FW) */ member in struct:synaptics_device_info
H A Dalps.h271 * @x_max: Largest possible X position value.
302 int x_max; member in struct:alps_data
H A Dalps.c431 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) /
439 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) /
447 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) /
455 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) /
464 corner[i].x = priv->x_max - corner[i].x;
2316 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */
2500 priv->x_max =
2514 priv->x_max =
2526 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */
2625 * Further more, we can get device's x_max an
[all...]
/linux-master/drivers/hid/
H A Dhid-alps.c89 * @x_max: maximum x coordinate value
107 u32 x_max; member in struct:alps_dev
559 pri_data->x_max =
622 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE;
706 data->x_min, data->x_max, 0, 0);
711 res_x = (data->x_max - 1) / data->x_active_len_mm;
H A Dwacom_wac.h254 int x_max; member in struct:wacom_features
H A Dwacom_wac.c3601 if (features->device_type & WACOM_DEVICETYPE_TOUCH && !features->x_max) {
3602 features->x_max = 1023;
3621 features->x_max = features->x_max / 10;
3625 features->x_max = 4096;
3705 features->x_max <<= 5;
3762 features->x_max - features->offset_right,
3927 features->x_max, features->x_fuzz, 0);
3937 features->x_max, features->x_fuzz, 0);
3981 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max,
[all...]
H A Dwacom_sys.c450 features->x_max = field->logical_maximum;
2175 features->x_phy = (features->x_max * 100) /
2190 features->x_resolution = wacom_calc_hid_res(features->x_max,
/linux-master/drivers/input/keyboard/
H A Dapplespi.c366 int x_max; member in struct:applespi_tp_info
1253 applespi->tp_info.x_max = x + w;
1267 applespi->tp_info.x_max - applespi->tp_info.x_min,
1313 applespi->tp_info.x_min, applespi->tp_info.x_max,

Completed in 1069 milliseconds