| /linux/drivers/input/touchscreen/ |
| H A D | penmount.c | 199 int max_x, max_y; in pm_connect() local 231 max_x = max_y = 0x3ff; in pm_connect() 238 max_x = max_y = 0x3ff; in pm_connect() 245 max_x = max_y = 0x7ff; in pm_connect() 253 max_x = max_y = 0x3ff; in pm_connect() 259 input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); in pm_connect() 266 ABS_MT_POSITION_Y, 0, max_y, 0, 0); in pm_connect()
|
| H A D | s6sy761.c | 339 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() argument 365 *max_y = get_unaligned_be16(buffer + 2); in s6sy761_hw_init() 392 unsigned int max_x, max_y; in s6sy761_probe() local 419 err = s6sy761_hw_init(sdata, &max_x, &max_y); in s6sy761_probe() 433 input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in s6sy761_probe()
|
| H A D | bcm_iproc_tsc.c | 132 u32 max_y; member 162 .max_y = Y_MAX, 246 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt() 401 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config() 474 input_set_abs_params(idev, ABS_Y, Y_MIN, priv->cfg_params.max_y, in iproc_ts_probe()
|
| H A D | zet6223.c | 31 u16 max_y; member 163 ts->max_y = get_unaligned_le16(&buf[10]); in zet6223_query_device() 206 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in zet6223_probe()
|
| H A D | hynitron_cstxxx.c | 382 if (!ts_data->prop.max_x || !ts_data->prop.max_y) { in cst3xx_input_dev_int() 385 ts_data->prop.max_x, ts_data->prop.max_y); in cst3xx_input_dev_int() 387 ts_data->prop.max_y = 1920; in cst3xx_input_dev_int() 391 ABS_MT_POSITION_Y, ts_data->prop.max_y); in cst3xx_input_dev_int()
|
| H A D | bu21013_ts.c | 412 u32 max_x = 0, max_y = 0; in bu21013_probe() local 449 device_property_read_u32(dev, "rohm,touch-max-y", &max_y); in bu21013_probe() 452 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in bu21013_probe()
|
| H A D | zforce_ts.c | 248 error = zforce_resolution(ts, ts->prop.max_x, ts->prop.max_y); in zforce_start() 327 point.coord_y > ts->prop.max_y) { in zforce_touch_event() 764 if (ts->prop.max_x == 0 || ts->prop.max_y == 0) in zforce_probe()
|
| H A D | atmel_mxt_ts.c | 294 unsigned int max_y; member 852 if (data->max_y < 1024) in mxt_proc_t9_message() 1958 data->max_y = get_unaligned_le16(&range.y); in mxt_read_t9_resolution() 2001 data->max_y = get_unaligned_le16(&range_y); in mxt_read_t100_config() 2109 if (data->max_y == 0) in mxt_initialize_input_device() 2110 data->max_y = 1023; in mxt_initialize_input_device() 2113 swap(data->max_x, data->max_y); in mxt_initialize_input_device() 2115 dev_info(dev, "Touchscreen size X%uY%u\n", data->max_x, data->max_y); in mxt_initialize_input_device() 2137 input_set_abs_params(input_dev, ABS_Y, 0, data->max_y, 0, 0); in mxt_initialize_input_device() 2172 0, data->max_y, in mxt_initialize_input_device() [all...] |
| H A D | cyttsp5.c | 379 int max_x, max_y, max_p; in cyttsp5_setup_input_device() local 386 max_y = max_y_tmp - 1; in cyttsp5_setup_input_device() 390 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in cyttsp5_setup_input_device()
|
| /linux/tools/lib/perf/include/internal/ |
| H A D | xyarray.h | 13 size_t max_y; member 28 if (x >= xy->max_x || y >= xy->max_y) in xyarray__entry() 35 return xy->max_y; in xyarray__max_y()
|
| /linux/drivers/input/mouse/ |
| H A D | elan_i2c_core.c | 70 unsigned int max_y; member 408 "touchscreen-size-y", &data->max_y)) { in elan_query_device_parameters() 411 &data->max_y); in elan_query_device_parameters() 417 --data->max_y; in elan_query_device_parameters() 440 data->width_y = data->max_y / y_traces; in elan_query_device_parameters() 463 data->y_res = (data->max_y + 1) / y_mm; 955 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact() 959 data->max_x, data->max_y); in elan_report_contact() 971 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact() 1181 input_set_abs_params(input, ABS_Y, 0, data->max_y, in elan_setup_input_device() [all...] |
| H A D | elan_i2c.h | 92 unsigned int *max_x, unsigned int *max_y);
|
| H A D | elan_i2c_smbus.c | 226 unsigned int *max_x, unsigned int *max_y) in elan_smbus_get_max() argument 240 *max_y = (0xf0 & val[0]) << 4 | val[2]; in elan_smbus_get_max()
|
| H A D | elan_i2c_i2c.c | 388 unsigned int *max_x, unsigned int *max_y) in elan_i2c_get_max() argument 407 *max_y = le16_to_cpup((__le16 *)val); in elan_i2c_get_max()
|
| /linux/drivers/input/tablet/ |
| H A D | wacom_serial4.c | 172 unsigned int max_x, max_y; member 238 wacom->max_y = 3711; in wacom_handle_model_response() 279 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); in wacom_handle_coordinates_response() 507 if (!(wacom->max_x && wacom->max_y)) { in wacom_setup() 575 input_set_abs_params(wacom->dev, ABS_Y, 0, wacom->max_y, 0, 0); in wacom_connect()
|
| H A D | hanwang.c | 66 int max_y; member 382 0, hanwang->features->max_y, 4, 0); in hanwang_probe()
|
| /linux/drivers/hid/ |
| H A D | hid-elan.c | 46 u16 max_y; member 138 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 180 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, drvdata->max_y, in elan_input_configured() 222 y = drvdata->max_y - in elan_report_mt_slot()
|
| H A D | hid-asus.c | 123 int max_y; member 152 .max_y = 1758, 160 .max_y = 1120, 170 .max_y = 1320, 180 .max_y = 1716, 190 .max_y = 1320, 200 .max_y = 1380, 221 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]); in asus_report_contact_down() 974 drvdata->tp->max_y, 0, 0); in asus_input_configured()
|
| /linux/include/linux/input/ |
| H A D | touchscreen.h | 14 unsigned int max_y; member
|
| /linux/tools/lib/perf/ |
| H A D | xyarray.c | 17 xy->max_y = ylen; in xyarray__new()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f12.c | 134 sensor->max_y = get_unaligned_le16(&buf[offset + 2]); in rmi_f12_read_sensor_tuning() 138 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: max_x: %d max_y: %d\n", __func__, in rmi_f12_read_sensor_tuning() 139 sensor->max_x, sensor->max_y); in rmi_f12_read_sensor_tuning() 175 sensor->y_mm = sensor->max_y / dpm_resolution; in rmi_f12_process_objects()
|
| /linux/samples/vfio-mdev/ |
| H A D | mbochs.c | 107 u32 max_y; member 114 .max_y = 600, 120 .max_y = 1440, 126 .max_y = 0, 549 mdev_state->edid_regs.max_yres = type->max_y; in mbochs_init_dev()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbmon.c | 843 specs->max_y = block[2]; in get_monspecs() 850 if (specs->max_y) in get_monspecs() 851 DPRINTK("%d\n", specs->max_y); in get_monspecs()
|
| H A D | modedb.c | 1173 if (specs->max_x && specs->max_y) { in fb_find_best_display() 1178 var.yres = (specs->max_y * 7200)/254; in fb_find_best_display()
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | vbox_mode.c | 775 u32 max_y) in vbox_fill_modes() argument 788 return drm_helper_probe_single_connector_modes(connector, max_x, max_y); in vbox_fill_modes()
|