Home
last modified time | relevance | path

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

/linux/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()
685 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
1171 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1198 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
[all …]
H A Dfocaltech.c111 int x_max, y_max; member
135 finger->y = clamp(finger->y, 0, priv->y_max); in focaltech_report_state()
138 priv->y_max - finger->y); in focaltech_report_state()
340 input_set_abs_params(dev, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); in focaltech_set_input_params()
383 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
/linux/drivers/input/touchscreen/
H A Dwacom_i2c.c44 int y_max; member
94 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
100 features->x_max, features->y_max, in wacom_query_device()
210 input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); in wacom_i2c_probe()
H A Dauo-pixcir-ts.c121 unsigned int y_max; member
169 point[i].coord_y > ts->y_max) { in auo_pixcir_collect_data()
517 if (device_property_read_u32(&client->dev, "y-size", &ts->y_max)) { in auo_pixcir_probe()
536 input_set_abs_params(input_dev, ABS_Y, 0, ts->y_max, 0, 0); in auo_pixcir_probe()
540 input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in auo_pixcir_probe()
H A Dzforce_ts.c672 u32 y_max = 0; in zforce_ts_parse_legacy_properties() local
677 device_property_read_u32(&ts->client->dev, "y-size", &y_max); in zforce_ts_parse_legacy_properties()
678 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, y_max, 0, 0); in zforce_ts_parse_legacy_properties()
H A Delants_i2c.c169 unsigned int y_max; member
499 ts->y_max = 1408 - 1; in elants_i2c_query_ts_info_ektf()
577 ts->y_max = ELAN_TS_RESOLUTION(cols, osr); in elants_i2c_query_ts_info_ekth()
578 ts->y_res = DIV_ROUND_CLOSEST(ts->y_max, phy_y); in elants_i2c_query_ts_info_ekth()
1488 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in elants_i2c_probe()
H A Dgoodix.c1041 int x_max, y_max; in goodix_read_config() local
1064 y_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC + 2]); in goodix_read_config()
1065 if (x_max && y_max) { in goodix_read_config()
1067 input_abs_set_max(ts->input_dev, ABS_MT_POSITION_Y, y_max - 1); in goodix_read_config()
H A Draydium_i2c_ts.c112 __le16 y_max; member
1136 0, le16_to_cpu(ts->info.y_max), 0, 0); in raydium_i2c_probe()
H A Dads7846.c1323 device_property_read_u16(dev, "ti,y-max", &pdata->y_max); in ads7846_get_props()
1471 pdata->y_max ? : MAX_12BIT, in ads7846_probe()
/linux/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()
/linux/include/linux/spi/
H A Dad7877.h16 u16 y_min, y_max; member
H A Dads7846.h30 u16 y_min, y_max; member
/linux/drivers/input/keyboard/
H A Dapplespi.c367 int y_max; member
1035 applespi->pos[n].y = tp_info->y_min + tp_info->y_max - in report_tp_state()
1235 applespi->tp_info.y_max = y + h; in applespi_register_touchpad_device()
1249 applespi->tp_info.y_max - applespi->tp_info.y_min); in applespi_register_touchpad_device()
1297 applespi->tp_info.y_min, applespi->tp_info.y_max, in applespi_register_touchpad_device()
/linux/drivers/hid/
H A Dwacom_wac.h252 int y_max; member