Home
last modified time | relevance | path

Searched refs:y_max (Results 1 – 25 of 50) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Delantech.c363 etd->y_max - (((packet[1] & 0x03) << 8) | packet[3])); in elantech_report_absolute_v1()
438 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v2()
453 y1 = etd->y_max - in elantech_report_absolute_v2()
461 y2 = etd->y_max - in elantech_report_absolute_v2()
582 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
596 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
608 y2 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
684 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
1170 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1197 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
[all …]
H A Dfocaltech.c111 unsigned int x_max, y_max; member
136 clamped_y = clamp(finger->y, 0U, priv->y_max); in focaltech_report_state()
139 priv->y_max - clamped_y); in focaltech_report_state()
341 input_set_abs_params(dev, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); in focaltech_set_input_params()
384 priv->y_max = (unsigned char)param[2] * 128; in focaltech_read_size()
H A Delantech.h151 unsigned int y_max; member
183 unsigned int y_max; member
H A Dsynaptics.c388 info->y_max = (resp[2] << 5) | ((resp[1] & 0xf0) >> 3); in synaptics_resolution()
391 info->x_max, info->y_max); in synaptics_resolution()
466 u32 x_min, x_max, y_min, y_max; member
548 info->y_max = min_max_pnpid_table[i].y_max; in synaptics_apply_quirks()
552 info->y_min, info->y_max); in synaptics_apply_quirks()
1239 int y_max = info->y_max ?: YMAX_NOMINAL; in set_abs_position_params() local
1244 input_set_abs_params(dev, y_code, y_min, y_max, fuzz, 0); in set_abs_position_params()
H A Dalps.c434 (priv->y_max * (2 * y_low.start_bit + y_low.num_bits - 1)) / in alps_process_bitmap()
442 (priv->y_max * (2 * y_low.start_bit + y_low.num_bits - 1)) / in alps_process_bitmap()
450 (priv->y_max * (2 * y_high.start_bit + y_high.num_bits - 1)) / in alps_process_bitmap()
458 (priv->y_max * (2 * y_high.start_bit + y_high.num_bits - 1)) / in alps_process_bitmap()
471 corner[i].y = priv->y_max - corner[i].y; in alps_process_bitmap()
2317 priv->y_res = priv->y_max * 10 / y_phys; /* units / mm */ in alps_get_v3_v7_resolution()
2502 priv->y_max = in alps_update_device_area_ss4_v2()
2516 priv->y_max = in alps_update_device_area_ss4_v2()
2527 priv->y_res = priv->y_max * 10 / y_phys; /* units / mm */ in alps_update_device_area_ss4_v2()
2639 priv->y_max = (num_y_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area()
[all …]
H A Dalps.h303 int y_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/deps/boost/1.65.1/include/boost/numeric/conversion/detail/
H A Dold_numeric_cast.hpp205 static inline bool check(X x, Y y_max) in check()
206 { return x > y_max; } in check()
241 static inline bool check(X x, Y y_max) in check()
242 { return x > y_max; } in check()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dwacom_w9013.c48 int y_max; member
162 features->y_max = get_unaligned_le16(&data[5]); 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()
173 screen_max_y = features->y_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()
404 input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); in wacom_i2c_probe()
H A Dwacom_i2c.c27 int y_max; member
76 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
82 features->x_max, features->y_max, in wacom_query_device()
191 input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); in wacom_i2c_probe()
H A Dauo-pixcir-ts.c156 point[i].coord_y > pdata->y_max) { in auo_pixcir_collect_data()
498 if (of_property_read_u32(np, "y-size", &pdata->y_max)) { in auo_pixcir_parse_dt()
573 input_set_abs_params(input_dev, ABS_Y, 0, pdata->y_max, 0, 0); in auo_pixcir_probe()
579 pdata->y_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()
359 point.coord_y > pdata->y_max) { in zforce_touch_event()
727 if (of_property_read_u32(np, "y-size", &pdata->y_max)) { in zforce_parse_dt()
858 pdata->y_max, 0, 0); in zforce_probe()
H A Dgoodix.c931 int x_max, y_max; in goodix_read_config() local
948 y_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC + 2]); in goodix_read_config()
949 if (x_max && y_max) { in goodix_read_config()
951 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_Y, y_max - 1); in goodix_read_config()
H A Delants_i2c.c155 unsigned int y_max; member
519 ts->y_max = ELAN_TS_RESOLUTION(cols, osr); in elants_i2c_query_ts_info()
520 ts->y_res = DIV_ROUND_CLOSEST(ts->y_max, phy_y); in elants_i2c_query_ts_info()
1409 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in elants_i2c_probe()
/OK3568_Linux_fs/kernel/drivers/char/agp/
H A Disoch.c87 u32 tot_bw = 0, tot_n = 0, tot_rq = 0, y_max, rq_isoch, rq_async; in agp_3_5_isochronous_node_enable() local
129 y_max = target.y; in agp_3_5_isochronous_node_enable()
148 y_max = max(y_max, master[cdev].y); in agp_3_5_isochronous_node_enable()
162 target.y = y_max; in agp_3_5_isochronous_node_enable()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-alps.c108 u32 y_max; member
330 y = hdata->y_max - y + hdata->y_min; in t4_raw_event()
562 pri_data->y_max = in u1_init()
624 pri_data->y_max = sen_line_num_y * T4_COUNT_PER_ELECTRODE; in T4_init()
708 data->y_min, data->y_max, 0, 0); in alps_input_configured()
712 res_y = (data->y_max - 1) / data->y_active_len_mm; in alps_input_configured()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_generic.h362 #define GTP_WARP_Y(y_max, y) (y_max - 1 - y) argument
364 #define GTP_WARP_Y(y_max, y) y argument
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dzforce_ts.h12 unsigned int y_max; member
/OK3568_Linux_fs/kernel/include/linux/input/
H A Dauo-pixcir-ts.h41 unsigned int y_max; member
/OK3568_Linux_fs/kernel/include/linux/spi/
H A Dad7877.h16 u16 y_min, y_max; member
H A Dads7846.h41 u16 y_min, y_max; member
/OK3568_Linux_fs/kernel/arch/arm/mach-omap1/
H A Dboard-nokia770.c117 .y_max = 0x0fff,
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/
H A Dfocaltech_core.h129 u32 y_max; member
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/
H A Dfocaltech_core.h121 u32 y_max; member
H A Dfocaltech_core.c993 0, pdata->y_max, 0, 0); in fts_input_init()
1000 0, pdata->y_max, 0, 0); in fts_input_init()
1126 pdata->y_max = FTS_Y_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