/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 59 obj->y = min(sensor->max_y, obj->y); in rmi_2d_sensor_abs_process() 141 int max_x, max_y; in rmi_2d_sensor_set_input_params() local 152 sensor->max_y = min(sensor->max_y, in rmi_2d_sensor_set_input_params() 158 max_y = sensor->max_y; in rmi_2d_sensor_set_input_params() 160 swap(max_x, max_y); in rmi_2d_sensor_set_input_params() 162 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in rmi_2d_sensor_set_input_params() 166 res_y = (sensor->max_y in rmi_2d_sensor_set_input_params() [all...] |
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 59 obj->y = min(sensor->max_y, obj->y); in rmi_2d_sensor_abs_process() 141 int max_x, max_y; in rmi_2d_sensor_set_input_params() local 152 sensor->max_y = min(sensor->max_y, in rmi_2d_sensor_set_input_params() 158 max_y = sensor->max_y; in rmi_2d_sensor_set_input_params() 160 swap(max_x, max_y); in rmi_2d_sensor_set_input_params() 162 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in rmi_2d_sensor_set_input_params() 166 res_y = (sensor->max_y in rmi_2d_sensor_set_input_params() [all...] |
/kernel/linux/linux-5.10/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 | ektf2127.c | 226 int max_x, max_y; in ektf2127_probe() local 267 max_y = ektf2127_query_dimension(client, false); in ektf2127_probe() 268 if (max_y < 0) in ektf2127_probe() 269 return max_y; in ektf2127_probe() 272 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in ektf2127_probe()
|
H A D | st1232.c | 34 u16 max_y; member 161 .max_y = 0x1df, /* 480 -1 */ 170 .max_y = 0x1df, /* 480 -1 */ 249 0, ts->chip_info->max_y, 0, 0); in st1232_ts_probe()
|
H A D | iqs5xx.c | 488 u16 max_y, max_y_hw; in iqs5xx_axis_init() local 558 if (prop.max_y > max_y_hw) { in iqs5xx_axis_init() 560 prop.max_y, max_y_hw); in iqs5xx_axis_init() 562 } else if (prop.max_y == 0) { in iqs5xx_axis_init() 563 error = iqs5xx_read_word(client, IQS5XX_Y_RES, &max_y); in iqs5xx_axis_init() 570 max_y); in iqs5xx_axis_init() 572 max_y = (u16)prop.max_y; in iqs5xx_axis_init() 588 max_y); in iqs5xx_axis_init()
|
H A D | zet6223.c | 33 u16 max_y; member 165 ts->max_y = get_unaligned_le16(&buf[10]); in zet6223_query_device() 209 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in zet6223_probe()
|
H A D | s6sy761.c | 342 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() 368 *max_y = get_unaligned_be16(buffer + 2); in s6sy761_hw_init() 396 unsigned int max_x, max_y; in s6sy761_probe() local 423 err = s6sy761_hw_init(sdata, &max_x, &max_y); in s6sy761_probe() 437 input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in s6sy761_probe() 341 s6sy761_hw_init(struct s6sy761_data *sdata, unsigned int *max_x, unsigned int *max_y) s6sy761_hw_init() argument
|
H A D | bcm_iproc_tsc.c | 139 u32 max_y; member 169 .max_y = Y_MAX, 253 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt() 408 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config() 481 input_set_abs_params(idev, ABS_Y, Y_MIN, priv->cfg_params.max_y, in iproc_ts_probe()
|
H A D | of_touchscreen.c | 122 prop->max_y = input_abs_get_max(input, axis_y); in touchscreen_parse_properties() 155 *y = prop->max_y - *y; in touchscreen_apply_prop_to_x_y()
|
/kernel/linux/linux-6.6/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 | ektf2127.c | 253 int max_x, max_y; in ektf2127_probe() local 290 max_y = ektf2127_query_dimension(client, false); in ektf2127_probe() 291 if (max_y < 0) in ektf2127_probe() 292 return max_y; in ektf2127_probe() 295 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in ektf2127_probe()
|
H A D | st1232.c | 112 u16 *max_y) in st1232_ts_read_resolution() 125 *max_y = (((buf[0] & 0x0007) << 8) | buf[2]) - 1; in st1232_ts_read_resolution() 229 u16 max_x, max_y; in st1232_ts_probe() local 296 error = st1232_ts_read_resolution(ts, &max_x, &max_y); in st1232_ts_probe() 310 0, max_y, 0, 0); in st1232_ts_probe() 111 st1232_ts_read_resolution(struct st1232_ts_data *ts, u16 *max_x, u16 *max_y) st1232_ts_read_resolution() argument
|
H A D | zet6223.c | 33 u16 max_y; member 165 ts->max_y = get_unaligned_le16(&buf[10]); in zet6223_query_device() 208 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in zet6223_probe()
|
H A D | s6sy761.c | 342 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() 368 *max_y = get_unaligned_be16(buffer + 2); in s6sy761_hw_init() 395 unsigned int max_x, max_y; in s6sy761_probe() local 422 err = s6sy761_hw_init(sdata, &max_x, &max_y); in s6sy761_probe() 436 input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in s6sy761_probe() 341 s6sy761_hw_init(struct s6sy761_data *sdata, unsigned int *max_x, unsigned int *max_y) s6sy761_hw_init() argument
|
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 | iqs5xx.c | 490 u16 max_x, max_y; in iqs5xx_axis_init() local 511 error = iqs5xx_read_word(client, IQS5XX_Y_RES, &max_y); in iqs5xx_axis_init() 516 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in iqs5xx_axis_init() 525 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs5xx_axis_init() 527 prop->max_x, prop->max_y); in iqs5xx_axis_init() 537 if (prop->max_y != max_y) { in iqs5xx_axis_init() 538 error = iqs5xx_write_word(client, IQS5XX_Y_RES, prop->max_y); in iqs5xx_axis_init()
|
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/ |
H A D | xyarray.h | 13 size_t max_y; member 28 return xy->max_y; in xyarray__max_y()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | elan_i2c_core.c | 66 unsigned int max_y; member 367 "touchscreen-size-y", &data->max_y)) { in elan_query_device_parameters() 370 &data->max_y); in elan_query_device_parameters() 376 --data->max_y; in elan_query_device_parameters() 391 data->width_y = data->max_y / y_traces; in elan_query_device_parameters() 406 data->y_res = (data->max_y + 1) / y_mm; in elan_query_device_parameters() 899 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact() 903 data->max_x, data->max_y); in elan_report_contact() 915 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact() 1118 input_set_abs_params(input, ABS_Y, 0, data->max_y, in elan_setup_input_device() [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | elan_i2c_core.c | 69 unsigned int max_y; member 404 "touchscreen-size-y", &data->max_y)) { in elan_query_device_parameters() 407 &data->max_y); in elan_query_device_parameters() 413 --data->max_y; in elan_query_device_parameters() 428 data->width_y = data->max_y / y_traces; in elan_query_device_parameters() 443 data->y_res = (data->max_y + 1) / y_mm; in elan_query_device_parameters() 936 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact() 940 data->max_x, data->max_y); in elan_report_contact() 952 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact() 1155 input_set_abs_params(input, ABS_Y, 0, data->max_y, in elan_setup_input_device() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_compressor.c | 420 unsigned int max_x = FBC_MAX_X, max_y = FBC_MAX_Y; in dce110_get_required_compressed_surfacesize() local 422 get_max_support_fbc_buffersize(&max_x, &max_y); in dce110_get_required_compressed_surfacesize() 429 size.preferred_size = size.min_size = align_to_chunks_number_per_line(max_x) * max_y * 4; /* (For FBC when LPT not supported). */ in dce110_get_required_compressed_surfacesize() 445 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y) in get_max_support_fbc_buffersize() argument 448 *max_y = FBC_MAX_Y; in get_max_support_fbc_buffersize() 453 * *max_y = FBC_MAX_Y_SG; in get_max_support_fbc_buffersize()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/input/ |
H A D | touchscreen.c | 123 prop->max_y = input_abs_get_max(input, axis_y); in touchscreen_parse_properties() 156 *y = prop->max_y - *y; in touchscreen_apply_prop_to_x_y()
|