Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dwacom_w9013.c47 int x_max; member
161 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
166 features->x_max, features->y_max, in wacom_query_device()
170 swap(features->x_max, features->y_max); in wacom_query_device()
172 screen_max_x = features->x_max; in wacom_query_device()
174 printk("Wacom desc screen x_max:%d, y_max:%d\n", features->x_max, features->y_max); in wacom_query_device()
403 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
H A Dwacom_i2c.c26 int x_max; member
75 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
82 features->x_max, features->y_max, in wacom_query_device()
190 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
H A 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()
H A 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()
H A Dgoodix.c931 int x_max, y_max; in goodix_read_config() local
947 x_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC]); in goodix_read_config()
949 if (x_max && y_max) { in goodix_read_config()
950 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_X, x_max - 1); in goodix_read_config()
H A Delants_i2c.c154 unsigned int x_max; member
517 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info()
518 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info()
1408 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Delantech.c1170 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1196 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1207 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1216 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1224 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1236 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1788 info->x_max = ETP_XMAX_V1; in elantech_query_info()
1798 info->x_max = ETP_XMAX_V2; in elantech_query_info()
1816 info->x_max = (info->capabilities[1] - i) * param[1] / 2; in elantech_query_info()
1819 info->x_max = 819; in elantech_query_info()
[all …]
H A 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()
H A Dsynaptics.c387 info->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution()
391 info->x_max, info->y_max); in synaptics_resolution()
466 u32 x_min, x_max, y_min, y_max; member
546 info->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks()
551 info->x_min, info->x_max, in synaptics_apply_quirks()
1237 int x_max = info->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local
1243 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
H A 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 …]
H A Delantech.h150 unsigned int x_max; member
H A Dalps.h302 int x_max; member
H A Dsynaptics.h176 u32 x_max, y_max; /* Max coordinates (from FW) */ member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dtile_cover_impl.cpp314 auto x_max = xps[0].xmax; in nextRow() local
319 if (xp.xmin > x_max && xp.xmax >= x_max) { in nextRow()
320 tileXSpans.emplace(x_min, x_max); in nextRow()
325 x_max = std::max(x_min, xp.xmax); in nextRow()
327 tileXSpans.emplace(x_min, x_max); in nextRow()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dring_util.hpp173 T x_max = get_edge_max_x(*(bnd.current_edge), y); in hot_pixel_set_left_to_right() local
174 x_max = std::min(x_max, end_x); in hot_pixel_set_left_to_right()
179 if (itr->x > x_max) { in hot_pixel_set_left_to_right()
210 T x_max = get_edge_max_x(*(bnd.current_edge), y); in hot_pixel_set_right_to_left() local
211 x_max = std::min(x_max, start_x); in hot_pixel_set_right_to_left()
213 if (itr->x > x_max) { in hot_pixel_set_right_to_left()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_generic.h356 #define GTP_WARP_X(x_max, x) (x_max - 1 - x) argument
358 #define GTP_WARP_X(x_max, x) x argument
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dzforce_ts.h11 unsigned int x_max; member
/OK3568_Linux_fs/kernel/include/linux/input/
H A Dauo-pixcir-ts.h40 unsigned int x_max; member
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-alps.c107 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()
/OK3568_Linux_fs/kernel/include/linux/spi/
H A Dad7877.h15 u16 x_min, x_max; member
H A Dads7846.h40 u16 x_min, x_max; member
/OK3568_Linux_fs/kernel/arch/arm/mach-omap1/
H A Dboard-nokia770.c116 .x_max = 0x0fff,
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/
H A Dfocaltech_core.h128 u32 x_max; member
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/
H A Dfocaltech_core.h120 u32 x_max; member
H A Dfocaltech_core.c995 0, pdata->x_max, 0, 0); in fts_input_init()
998 0, pdata->x_max, 0, 0); in fts_input_init()
1125 pdata->x_max = FTS_X_MAX_DISPLAY_DEFAULT; in fts_get_dt_coords()
1162 printk("display x(%d %d) y(%d %d)", pdata->x_min, pdata->x_max, pdata->y_min, pdata->y_max); in fts_get_dt_coords()

12