/linux-master/tools/lib/perf/include/internal/ |
H A D | xyarray.h | 13 size_t max_y; member in struct:xyarray 28 if (x >= xy->max_x || y >= xy->max_y) 35 return xy->max_y;
|
/linux-master/include/linux/input/ |
H A D | touchscreen.h | 14 unsigned int max_y; member in struct:touchscreen_properties
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 36 obj->y = sensor->max_y - obj->y; 59 obj->y = min(sensor->max_y, obj->y); 141 int max_x, max_y; local 152 sensor->max_y = min(sensor->max_y, 158 max_y = sensor->max_y; 160 swap(max_x, max_y); 162 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); 166 res_y = (sensor->max_y [all...] |
H A D | rmi_2d_sensor.h | 32 * @max_y - The maximum Y coordinate that will be reported by this sensor. 53 u16 max_y; member in struct:rmi_2d_sensor
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_compressor.h | 78 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y);
|
H A D | dce110_compressor.c | 412 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y) argument 415 *max_y = FBC_MAX_Y; 420 * *max_y = FBC_MAX_Y_SG;
|
/linux-master/tools/lib/perf/ |
H A D | xyarray.c | 17 xy->max_y = ylen;
|
/linux-master/drivers/input/touchscreen/ |
H A D | penmount.c | 199 int max_x, max_y; local 231 max_x = max_y = 0x3ff; 238 max_x = max_y = 0x3ff; 245 max_x = max_y = 0x7ff; 253 max_x = max_y = 0x3ff; 259 input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); 266 ABS_MT_POSITION_Y, 0, max_y, 0, 0);
|
H A D | st1232.c | 112 u16 *max_y) 125 *max_y = (((buf[0] & 0x0007) << 8) | buf[2]) - 1; 229 u16 max_x, max_y; local 296 error = st1232_ts_read_resolution(ts, &max_x, &max_y); 310 0, max_y, 0, 0); 111 st1232_ts_read_resolution(struct st1232_ts_data *ts, u16 *max_x, u16 *max_y) argument
|
H A D | ektf2127.c | 253 int max_x, max_y; local 290 max_y = ektf2127_query_dimension(client, false); 291 if (max_y < 0) 292 return max_y; 295 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0);
|
H A D | zet6223.c | 33 u16 max_y; member in struct:zet6223_ts 165 ts->max_y = get_unaligned_le16(&buf[10]); 208 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0);
|
H A D | bcm_iproc_tsc.c | 132 u32 max_y; member in struct:tsc_param 162 .max_y = Y_MAX, 246 y = priv->cfg_params.max_y - y; 401 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); 474 input_set_abs_params(idev, ABS_Y, Y_MIN, priv->cfg_params.max_y,
|
H A D | s6sy761.c | 339 unsigned int *max_x, unsigned int *max_y) 365 *max_y = get_unaligned_be16(buffer + 2); 392 unsigned int max_x, max_y; local 419 err = s6sy761_hw_init(sdata, &max_x, &max_y); 433 input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); 338 s6sy761_hw_init(struct s6sy761_data *sdata, unsigned int *max_x, unsigned int *max_y) argument
|
H A D | hynitron_cstxxx.c | 382 if (!ts_data->prop.max_x || !ts_data->prop.max_y) { 385 ts_data->prop.max_x, ts_data->prop.max_y); 387 ts_data->prop.max_y = 1920; 391 ABS_MT_POSITION_Y, ts_data->prop.max_y);
|
H A D | iqs5xx.c | 490 u16 max_x, max_y; local 511 error = iqs5xx_read_word(client, IQS5XX_Y_RES, &max_y); 516 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); 525 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { 527 prop->max_x, prop->max_y); 537 if (prop->max_y != max_y) { 538 error = iqs5xx_write_word(client, IQS5XX_Y_RES, prop->max_y);
|
H A D | mms114.c | 355 val |= ((props->max_y >> 8) & 0xf) << 4; 459 if (device_property_read_u32(dev, "y-size", &props->max_y)) { 552 if (!data->props.max_x || !data->props.max_y) { 562 0, data->props.max_y, 0, 0);
|
H A D | bu21013_ts.c | 412 u32 max_x = 0, max_y = 0; local 449 device_property_read_u32(dev, "rohm,touch-max-y", &max_y); 452 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, max_y, 0, 0);
|
H A D | melfas_mip4.c | 159 unsigned int max_y; member in struct:mip4_ts 323 ts->max_y = get_unaligned_le16(&buf[2]); 324 dev_dbg(&ts->client->dev, "max_x: %d, max_y: %d\n", 325 ts->max_x, ts->max_y); 1144 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); 1146 input_set_abs_params(ts->input, ABS_Y, 0, ts->max_y, 0, 0); 1480 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0);
|
/linux-master/drivers/input/ |
H A D | touchscreen.c | 123 prop->max_y = input_abs_get_max(input, axis_y); 156 *y = prop->max_y - *y;
|
/linux-master/drivers/input/mouse/ |
H A D | elan_i2c_core.c | 69 unsigned int max_y; member in struct:elan_tp_data 404 "touchscreen-size-y", &data->max_y)) { 407 &data->max_y); 413 --data->max_y; 428 data->width_y = data->max_y / y_traces; 443 data->y_res = (data->max_y + 1) / y_mm; 936 if (pos_x > data->max_x || pos_y > data->max_y) { 940 data->max_x, data->max_y); 952 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); 1155 input_set_abs_params(input, ABS_Y, 0, data->max_y, [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) 240 *max_y = (0xf0 & val[0]) << 4 | val[2]; 225 elan_smbus_get_max(struct i2c_client *client, unsigned int *max_x, unsigned int *max_y) argument
|
/linux-master/drivers/hid/ |
H A D | hid-elan.c | 46 u16 max_y; member in struct:elan_drvdata 138 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; 180 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, drvdata->max_y, 222 y = drvdata->max_y -
|
H A D | hid-asus.c | 108 int max_y; member in struct:asus_touchpad_info 136 .max_y = 1758, 144 .max_y = 1120, 154 .max_y = 1320, 164 .max_y = 1716, 174 .max_y = 1320, 184 .max_y = 1380, 199 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]); 810 drvdata->tp->max_y, 0, 0);
|
/linux-master/drivers/input/tablet/ |
H A D | wacom_serial4.c | 172 unsigned int max_x, max_y; member in struct:wacom 238 wacom->max_y = 3711; 279 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); 507 if (!(wacom->max_x && wacom->max_y)) { 575 input_set_abs_params(wacom->dev, ABS_Y, 0, wacom->max_y, 0, 0);
|