| /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() 258 input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); in pm_connect() 264 ABS_MT_POSITION_X, 0, max_x, 0, 0); in pm_connect()
|
| H A D | s6sy761.c | 339 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() argument 364 *max_x = get_unaligned_be16(buffer); 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() 432 input_set_abs_params(sdata->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in s6sy761_probe()
|
| H A D | bcm_iproc_tsc.c | 131 u32 max_x; member 161 .max_x = X_MAX, 243 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt() 400 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config() 472 input_set_abs_params(idev, ABS_X, X_MIN, priv->cfg_params.max_x, in iproc_ts_probe()
|
| H A D | zet6223.c | 30 u16 max_x; member 162 ts->max_x = get_unaligned_le16(&buf[8]); in zet6223_query_device() 205 input_set_abs_params(input, ABS_MT_POSITION_X, 0, ts->max_x, 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() 386 ts_data->prop.max_x = 1152; in cst3xx_input_dev_int() 389 ABS_MT_POSITION_X, ts_data->prop.max_x); in cst3xx_input_dev_int()
|
| H A D | bu21013_ts.c | 412 u32 max_x = 0, max_y = 0; in bu21013_probe() local 448 device_property_read_u32(dev, "rohm,touch-max-x", &max_x); in bu21013_probe() 451 input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0, max_x, 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() 326 if (point.coord_x > ts->prop.max_x || in zforce_touch_event() 764 if (ts->prop.max_x == 0 || ts->prop.max_y == 0) in zforce_probe()
|
| H A D | cyttsp5.c | 379 int max_x, max_y, max_p; in cyttsp5_setup_input_device() local 385 max_x = max_x_tmp - 1; in cyttsp5_setup_input_device() 389 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in cyttsp5_setup_input_device()
|
| /linux/tools/lib/perf/include/internal/ |
| H A D | xyarray.h | 12 size_t max_x; member 28 if (x >= xy->max_x || y >= xy->max_y) in xyarray__entry() 40 return xy->max_x; in xyarray__max_x()
|
| /linux/drivers/input/tablet/ |
| H A D | wacom_serial4.c | 172 unsigned int max_x, max_y; member 237 wacom->max_x = 5103; 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() 574 input_set_abs_params(wacom->dev, ABS_X, 0, wacom->max_x, 0, 0); in wacom_connect()
|
| H A D | hanwang.c | 65 int max_x; member 380 0, hanwang->features->max_x, 4, 0); in hanwang_probe()
|
| /linux/include/linux/input/ |
| H A D | touchscreen.h | 13 unsigned int max_x; member
|
| /linux/drivers/hid/ |
| H A D | hid-asus.c | 122 int max_x; member 151 .max_x = 2794, 159 .max_x = 2240, 169 .max_x = 2640, 179 .max_x = 3120, 189 .max_x = 2640, 199 .max_x = 2640, 972 drvdata->tp->max_x, 0, 0); in asus_input_configured()
|
| H A D | hid-elan.c | 45 u16 max_x; member 132 drvdata->max_x = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 178 input_set_abs_params(input, ABS_MT_POSITION_X, 0, drvdata->max_x, in elan_input_configured()
|
| /linux/tools/lib/perf/ |
| H A D | xyarray.c | 16 xy->max_x = xlen; in xyarray__new()
|
| H A D | evlist.c | 740 perf_evsel__alloc_id(evsel, evsel->fd->max_x, evsel->fd->max_y) < 0) in perf_evlist__mmap_ops()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f12.c | 103 sensor->max_x = (buf[offset + 1] << 8) | buf[offset]; in rmi_f12_read_sensor_tuning() 109 sensor->max_x, sensor->max_y); in rmi_f12_read_sensor_tuning() 144 sensor->x_mm = sensor->max_x / dpm_resolution; in rmi_f12_read_sensor_tuning()
|
| /linux/drivers/input/mouse/ |
| 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 239 *max_x = (0x0f & val[0]) << 8 | val[1]; 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 399 *max_x = le16_to_cpup((__le16 *)val); in elan_i2c_get_max()
|
| /linux/samples/vfio-mdev/ |
| H A D | mbochs.c | 106 u32 max_x; member 113 .max_x = 800, 119 .max_x = 1920, 125 .max_x = 0, 548 mdev_state->edid_regs.max_xres = type->max_x; in mbochs_init_dev()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbmon.c | 842 specs->max_x = block[1]; in get_monspecs() 845 if (specs->max_x) in get_monspecs() 846 DPRINTK("%d\n", specs->max_x); in get_monspecs()
|
| H A D | modedb.c | 1174 if (specs->max_x && specs->max_y) { in fb_find_best_display() 1178 var.xres = (specs->max_x * 7200)/254; in fb_find_best_display()
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | vbox_mode.c | 774 static int vbox_fill_modes(struct drm_connector *connector, u32 max_x, in vbox_fill_modes() argument 788 return drm_helper_probe_single_connector_modes(connector, max_x, max_y); in vbox_fill_modes()
|
| /linux/drivers/input/misc/ |
| H A D | iqs7222.c | 2789 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs7222_parse_tpad() 2791 prop->max_x, prop->max_y); in iqs7222_parse_tpad() 2795 tpad_setup[4] = prop->max_x + 1; in iqs7222_parse_tpad()
|