Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/mouse/
Delantech.c280 etd->y_max - (((packet[1] & 0x03) << 8) | packet[3])); in elantech_report_absolute_v1()
355 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v2()
370 y1 = etd->y_max - in elantech_report_absolute_v2()
378 y2 = etd->y_max - in elantech_report_absolute_v2()
489 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
503 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
515 y2 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
596 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
997 unsigned int *x_max, unsigned int *y_max, in elantech_set_range() argument
1009 *y_max = ETP_YMAX_V1; in elantech_set_range()
[all …]
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()
333 input_set_abs_params(dev, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); in focaltech_set_input_params()
375 priv->y_max = (unsigned char)param[2] * 128; in focaltech_read_size()
Dsynaptics.c132 int x_min, x_max, y_min, y_max; member
412 priv->y_max = (resp[2] << 5) | ((resp[1] & 0xf0) >> 3); in synaptics_resolution()
415 priv->x_max, priv->y_max); in synaptics_resolution()
467 priv->y_max = min_max_pnpid_table[i].y_max; in synaptics_apply_quirks()
471 priv->y_min, priv->y_max); in synaptics_apply_quirks()
1157 int y_max = priv->y_max ?: YMAX_NOMINAL; in set_abs_position_params() local
1162 input_set_abs_params(dev, y_code, y_min, y_max, fuzz, 0); in set_abs_position_params()
Dalps.c390 box_middle_y = (priv->y_max * (start_bit + end_bit)) / in alps_process_bitmap_dolphin()
474 (priv->y_max * (2 * y_low.start_bit + y_low.num_bits - 1)) / in alps_process_bitmap()
481 (priv->y_max * (2 * y_high.start_bit + y_high.num_bits - 1)) / in alps_process_bitmap()
486 fields->mt[0].y = priv->y_max - fields->mt[0].y; in alps_process_bitmap()
487 fields->mt[1].y = priv->y_max - fields->mt[1].y; in alps_process_bitmap()
2224 priv->y_res = priv->y_max * 10 / y_phys; /* units / mm */ in alps_get_v3_v7_resolution()
2405 priv->y_max = (num_y_electrode - 1) * SS4_COUNT_PER_ELECTRODE; in alps_update_device_area_ss4_v2()
2414 priv->y_res = priv->y_max * 10 / y_phys; /* units / mm */ in alps_update_device_area_ss4_v2()
2488 priv->y_max = (num_y_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area()
2585 priv->y_max = 1400; in alps_set_protocol()
[all …]
Delantech.h140 unsigned int y_max; member
Dsynaptics.h175 unsigned int x_max, y_max; /* Max coordinates (from FW) */ member
Dalps.h267 int y_max; member
/linux-4.1.27/drivers/input/touchscreen/
Dwacom_i2c.c33 int y_max; member
82 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
88 features->x_max, features->y_max, in wacom_query_device()
197 input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); in wacom_i2c_probe()
Dpixcir_i2c_ts.c439 if (of_property_read_u32(np, "touchscreen-size-y", &pdata->y_max)) { in pixcir_parse_dt()
443 pdata->y_max -= 1; in pixcir_parse_dt()
446 pdata->x_max + 1, pdata->y_max + 1, pdata->gpio_attb); in pixcir_parse_dt()
513 input_set_abs_params(input, ABS_Y, 0, pdata->y_max, 0, 0); in pixcir_i2c_ts_probe()
515 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, pdata->y_max, 0, 0); in pixcir_i2c_ts_probe()
Dauo-pixcir-ts.c166 point[i].coord_y > pdata->y_max) { in auo_pixcir_collect_data()
517 if (of_property_read_u32(np, "y-size", &pdata->y_max)) { in auo_pixcir_parse_dt()
592 input_set_abs_params(input_dev, ABS_Y, 0, pdata->y_max, 0, 0); in auo_pixcir_probe()
598 pdata->y_max, 0, 0); in auo_pixcir_probe()
Dzforce_ts.c277 ret = zforce_resolution(ts, pdata->x_max, pdata->y_max); in zforce_start()
356 point.coord_y > pdata->y_max) { in zforce_touch_event()
733 if (of_property_read_u32(np, "y-size", &pdata->y_max)) { in zforce_parse_dt()
835 pdata->y_max, 0, 0); in zforce_probe()
Delants_i2c.c130 unsigned int y_max; member
476 ts->y_max = ELAN_TS_RESOLUTION(cols, osr); in elants_i2c_query_ts_info()
477 ts->y_res = DIV_ROUND_CLOSEST(ts->y_max, phy_y); in elants_i2c_query_ts_info()
1107 input_set_abs_params(ts->input, ABS_Y, 0, ts->y_max, 0, 0); in elants_i2c_probe()
1122 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in elants_i2c_probe()
Dads7846.c1225 of_property_read_u16(node, "ti,y-max", &pdata->y_max); in ads7846_probe_dt()
1362 pdata->y_max ? : MAX_12BIT, in ads7846_probe()
Dad7879.c559 pdata->y_max ? : MAX_12BIT, in ad7879_probe()
Dad7877.c755 pdata->y_max ? : MAX_12BIT, in ad7877_probe()
/linux-4.1.27/drivers/char/agp/
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
128 y_max = target.y; in agp_3_5_isochronous_node_enable()
149 y_max = max(y_max, master[cdev].y); in agp_3_5_isochronous_node_enable()
163 target.y = y_max; in agp_3_5_isochronous_node_enable()
/linux-4.1.27/include/linux/platform_data/
Dzforce_ts.h23 unsigned int y_max; member
/linux-4.1.27/include/linux/input/
Dauo-pixcir-ts.h51 unsigned int y_max; member
Dpixcir_ts.h59 int y_max; member
/linux-4.1.27/include/linux/spi/
Dad7877.h15 u16 y_min, y_max; member
Dad7879.h12 u16 y_min, y_max; member
Dads7846.h40 u16 y_min, y_max; member
/linux-4.1.27/arch/arm/mach-omap2/
Dcommon-board-devices.c40 .y_max = 0x0fff,
/linux-4.1.27/drivers/hid/
Dwacom_wac.h142 int y_max; member
Dwacom_sys.c212 features->y_max = field->logical_maximum; in wacom_usage_mapping()
1308 wacom_wac2->features.x_max = wacom_wac2->features.y_max = 4096; in wacom_wireless_work()
1365 features->y_phy = (features->y_max * 100) / in wacom_set_default_phy()
1376 features->y_resolution = wacom_calc_hid_res(features->y_max, in wacom_calculate_res()
1488 features->y_max = 4096; in wacom_probe()
1503 features->y_max = 4096; in wacom_probe()
Dwacom_wac.c2176 features->y_max = 1023; in wacom_setup_device_quirks()
2183 features->y_max <<= 5; in wacom_setup_device_quirks()
2211 features->y_max, features->y_fuzz, 0); in wacom_abs_set_axis()
2223 features->y_max, features->y_fuzz, 0); in wacom_abs_set_axis()
2234 features->y_max, features->y_fuzz, 0); in wacom_abs_set_axis()
2341 0, features->y_max, 0, 0); in wacom_setup_pentouch_input_capabilities()
2350 input_set_abs_params(input_dev, ABS_MT_WIDTH_MINOR, 0, features->y_max, 0, 0); in wacom_setup_pentouch_input_capabilities()
2419 0, features->y_max, 0, 0); in wacom_setup_pentouch_input_capabilities()
/linux-4.1.27/arch/arm/mach-omap1/
Dboard-nokia770.c120 .y_max = 0x0fff,
Dboard-htcherald.c443 .y_max = 3760,
/linux-4.1.27/arch/blackfin/mach-bf537/boards/
Dstamp.c892 .y_max = 0xfff,