Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/mouse/
H A Delantech.c453 y1 = etd->y_max - in elantech_report_absolute_v2()
461 y2 = etd->y_max - in elantech_report_absolute_v2()
596 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
1171 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1257 etd->y_max = y_max; in elantech_set_input_params()
1790 info->y_max = ETP_YMAX_V1; in elantech_query_info()
1800 info->y_max = ETP_YMAX_V2; in elantech_query_info()
1821 info->y_max = 405; in elantech_query_info()
1824 info->y_max = 500; in elantech_query_info()
1911 info->y_max + 1); in elantech_create_smbus()
[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.c389 info->y_max = (resp[2] << 5) | ((resp[1] & 0xf0) >> 3); in synaptics_resolution()
392 info->x_max, info->y_max); in synaptics_resolution()
467 u32 x_min, x_max, y_min, y_max; member
549 info->y_max = min_max_pnpid_table[i].y_max; in synaptics_apply_quirks()
553 info->y_min, info->y_max); in synaptics_apply_quirks()
1243 int y_max = info->y_max ?: YMAX_NOMINAL; in set_abs_position_params() local
1248 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()
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()
2736 priv->y_max = 1400; in alps_set_protocol()
2747 priv->y_max = 767; in alps_set_protocol()
2811 priv->y_max = 1535; in alps_set_protocol()
2822 priv->y_max = 0x7ff; in alps_set_protocol()
[all …]
H A Dalps.h303 int y_max; member
H A Dsynaptics.h176 u32 x_max, y_max; /* Max coordinates (from FW) */ member
/openbmc/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()
516 if (device_property_read_u32(&client->dev, "y-size", &ts->y_max)) { in auo_pixcir_probe()
535 input_set_abs_params(input_dev, ABS_Y, 0, ts->y_max, 0, 0); in auo_pixcir_probe()
539 input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, ts->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()
857 pdata->y_max, 0, 0); in zforce_probe()
H A Delants_i2c.c169 unsigned int y_max; member
501 ts->y_max = 1408 - 1; in elants_i2c_query_ts_info_ektf()
579 ts->y_max = ELAN_TS_RESOLUTION(cols, osr); in elants_i2c_query_ts_info_ekth()
580 ts->y_res = DIV_ROUND_CLOSEST(ts->y_max, phy_y); in elants_i2c_query_ts_info_ekth()
1504 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in elants_i2c_probe()
H A Dgoodix.c1040 int x_max, y_max; in goodix_read_config() local
1062 y_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC + 2]); in goodix_read_config()
1063 if (x_max && y_max) { in goodix_read_config()
1065 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
1147 0, le16_to_cpu(ts->info.y_max), 0, 0); in raydium_i2c_probe()
H A Dads7846.c1146 device_property_read_u16(dev, "ti,y-max", &pdata->y_max); in ads7846_get_props()
1282 pdata->y_max ? : MAX_12BIT, in ads7846_probe()
H A Dad7877.c750 pdata->y_max ? : MAX_12BIT, in ad7877_probe()
/openbmc/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()
/openbmc/linux/include/linux/platform_data/
H A Dzforce_ts.h12 unsigned int y_max; member
/openbmc/linux/include/linux/spi/
H A Dad7877.h16 u16 y_min, y_max; member
H A Dads7846.h30 u16 y_min, y_max; member
/openbmc/linux/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()
H A Dwacom_wac.h254 int y_max; member
H A Dwacom_wac.c3593 features->y_max = 1023; in wacom_setup_device_quirks()
3612 features->y_max = features->y_max / 10; in wacom_setup_device_quirks()
3616 features->y_max = 4096; in wacom_setup_device_quirks()
3696 features->y_max <<= 5; in wacom_setup_device_quirks()
3755 features->y_max - features->offset_bottom, in wacom_setup_pen_input_capabilities()
3919 features->y_max, features->y_fuzz, 0); in wacom_setup_touch_input_capabilities()
3929 features->y_max, features->y_fuzz, 0); in wacom_setup_touch_input_capabilities()
3972 input_set_abs_params(input_dev, ABS_MT_TOUCH_MINOR, 0, features->y_max, 0, 0); in wacom_setup_touch_input_capabilities()
3979 input_set_abs_params(input_dev, ABS_MT_WIDTH_MINOR, 0, features->y_max, 0, 0); in wacom_setup_touch_input_capabilities()
4018 0, features->y_max, 0, 0); in wacom_setup_touch_input_capabilities()
H A Dwacom_sys.c461 features->y_max = field->logical_maximum; in wacom_usage_mapping()
2170 features->y_phy = (features->y_max * 100) / in wacom_set_default_phy()
2187 features->y_resolution = wacom_calc_hid_res(features->y_max, in wacom_calculate_res()
/openbmc/qemu/hw/display/
H A Dcirrus_vga.c2142 int y, y_min, y_max; in cirrus_cursor_compute_yrange() local
2148 y_max = -1; in cirrus_cursor_compute_yrange()
2157 if (y > y_max) in cirrus_cursor_compute_yrange()
2158 y_max = y; in cirrus_cursor_compute_yrange()
2165 y_max = -1; in cirrus_cursor_compute_yrange()
2172 if (y > y_max) in cirrus_cursor_compute_yrange()
2173 y_max = y; in cirrus_cursor_compute_yrange()
2178 if (y_min > y_max) { in cirrus_cursor_compute_yrange()
2183 s->last_hw_cursor_y_end = y_max + 1; in cirrus_cursor_compute_yrange()
/openbmc/linux/drivers/input/keyboard/
H A Dapplespi.c367 int y_max; member
1054 applespi->pos[n].y = tp_info->y_min + tp_info->y_max - in report_tp_state()
1254 applespi->tp_info.y_max = y + h; in applespi_register_touchpad_device()
1268 applespi->tp_info.y_max - applespi->tp_info.y_min); in applespi_register_touchpad_device()
1316 applespi->tp_info.y_min, applespi->tp_info.y_max, in applespi_register_touchpad_device()