/kernel/linux/linux-5.10/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 56 obj->x = min(sensor->max_x, obj->x); in rmi_2d_sensor_abs_process() 141 int max_x, max_y; in rmi_2d_sensor_set_input_params() local 147 sensor->max_x = min(sensor->max_x, in rmi_2d_sensor_set_input_params() 157 max_x = sensor->max_x; in rmi_2d_sensor_set_input_params() 160 swap(max_x, max_y); in rmi_2d_sensor_set_input_params() 161 input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in rmi_2d_sensor_set_input_params() 165 res_x = (sensor->max_x - sensor->min_x) / sensor->x_mm; in rmi_2d_sensor_set_input_params()
|
/kernel/linux/linux-4.19/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 36 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 59 obj->x = min(sensor->max_x, obj->x); in rmi_2d_sensor_abs_process() 144 int max_x, max_y; in rmi_2d_sensor_set_input_params() local 150 sensor->max_x = min(sensor->max_x, in rmi_2d_sensor_set_input_params() 160 max_x = sensor->max_x; in rmi_2d_sensor_set_input_params() 163 swap(max_x, max_y); in rmi_2d_sensor_set_input_params() 164 input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in rmi_2d_sensor_set_input_params() 168 res_x = (sensor->max_x - sensor->min_x) / sensor->x_mm; in rmi_2d_sensor_set_input_params()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
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()
|
D | ektf2127.c | 226 int max_x, max_y; in ektf2127_probe() local 263 max_x = ektf2127_query_dimension(client, true); in ektf2127_probe() 264 if (max_x < 0) in ektf2127_probe() 265 return max_x; in ektf2127_probe() 271 input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in ektf2127_probe()
|
D | st1232.c | 33 u16 max_x; member 160 .max_x = 0x31f, /* 800 - 1 */ 169 .max_x = 0x13f, /* 320 - 1 */ 247 0, ts->chip_info->max_x, 0, 0); in st1232_ts_probe()
|
D | bcm_iproc_tsc.c | 138 u32 max_x; member 168 .max_x = X_MAX, 250 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt() 407 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config() 479 input_set_abs_params(idev, ABS_X, X_MIN, priv->cfg_params.max_x, in iproc_ts_probe()
|
D | s6sy761.c | 342 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() argument 367 *max_x = get_unaligned_be16(buffer); 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() 436 input_set_abs_params(sdata->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in s6sy761_probe()
|
D | mms114.c | 308 val = (props->max_x >> 8) & 0xf; in mms114_setup_regs() 314 val = props->max_x & 0xff; in mms114_setup_regs() 319 val = props->max_x & 0xff; in mms114_setup_regs() 408 if (device_property_read_u32(dev, "x-size", &props->max_x)) { in mms114_parse_legacy_bindings() 470 if (!data->props.max_x || !data->props.max_y) { in mms114_probe() 478 0, data->props.max_x, 0, 0); in mms114_probe()
|
D | zet6223.c | 32 u16 max_x; member 164 ts->max_x = get_unaligned_le16(&buf[8]); in zet6223_query_device() 208 input_set_abs_params(input, ABS_MT_POSITION_X, 0, ts->max_x, 0, 0); in zet6223_probe()
|
D | iqs5xx.c | 487 u16 max_x, max_x_hw; in iqs5xx_axis_init() local 541 if (prop.max_x > max_x_hw) { in iqs5xx_axis_init() 543 prop.max_x, max_x_hw); in iqs5xx_axis_init() 545 } else if (prop.max_x == 0) { in iqs5xx_axis_init() 546 error = iqs5xx_read_word(client, IQS5XX_X_RES, &max_x); in iqs5xx_axis_init() 553 max_x); in iqs5xx_axis_init() 555 max_x = (u16)prop.max_x; in iqs5xx_axis_init() 582 max_x); in iqs5xx_axis_init()
|
/kernel/linux/linux-4.19/drivers/input/touchscreen/ |
D | penmount.c | 203 int max_x, max_y; in pm_connect() local 235 max_x = max_y = 0x3ff; in pm_connect() 242 max_x = max_y = 0x3ff; in pm_connect() 249 max_x = max_y = 0x7ff; in pm_connect() 257 max_x = max_y = 0x3ff; in pm_connect() 262 input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); in pm_connect() 268 ABS_MT_POSITION_X, 0, max_x, 0, 0); in pm_connect()
|
D | ektf2127.c | 230 int max_x, max_y; in ektf2127_probe() local 267 max_x = ektf2127_query_dimension(client, true); in ektf2127_probe() 268 if (max_x < 0) in ektf2127_probe() 269 return max_x; in ektf2127_probe() 275 input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in ektf2127_probe()
|
D | s6sy761.c | 342 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() argument 367 *max_x = get_unaligned_be16(buffer); 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() 436 input_set_abs_params(sdata->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in s6sy761_probe()
|
D | bcm_iproc_tsc.c | 138 u32 max_x; member 168 .max_x = X_MAX, 250 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt() 407 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config() 479 input_set_abs_params(idev, ABS_X, X_MIN, priv->cfg_params.max_x, in iproc_ts_probe()
|
D | mms114.c | 308 val = (props->max_x >> 8) & 0xf; in mms114_setup_regs() 314 val = props->max_x & 0xff; in mms114_setup_regs() 319 val = props->max_x & 0xff; in mms114_setup_regs() 408 if (device_property_read_u32(dev, "x-size", &props->max_x)) { in mms114_parse_legacy_bindings() 471 if (!data->props.max_x || !data->props.max_y) { in mms114_probe() 479 0, data->props.max_x, 0, 0); in mms114_probe()
|
D | zet6223.c | 41 u16 max_x; member 173 ts->max_x = get_unaligned_le16(&buf[8]); in zet6223_query_device() 217 input_set_abs_params(input, ABS_MT_POSITION_X, 0, ts->max_x, 0, 0); in zet6223_probe()
|
D | of_touchscreen.c | 118 prop->max_x = input_abs_get_max(input, axis); in touchscreen_parse_properties() 137 *x = prop->max_x - *x; in touchscreen_apply_prop_to_x_y()
|
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/ |
D | xyarray.h | 12 size_t max_x; member 33 return xy->max_x; in xyarray__max_x()
|
/kernel/linux/linux-4.19/tools/perf/util/ |
D | xyarray.h | 12 size_t max_x; member 33 return xy->max_x; in xyarray__max_x()
|
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_compressor.c | 448 unsigned int max_x = FBC_MAX_X, max_y = FBC_MAX_Y; in dce110_get_required_compressed_surfacesize() local 450 get_max_support_fbc_buffersize(&max_x, &max_y); in dce110_get_required_compressed_surfacesize() 457 …size.preferred_size = size.min_size = align_to_chunks_number_per_line(max_x) * max_y * 4; /* (For… in dce110_get_required_compressed_surfacesize() 473 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y) in get_max_support_fbc_buffersize() argument 475 *max_x = FBC_MAX_X; in get_max_support_fbc_buffersize()
|
/kernel/linux/linux-4.19/drivers/hid/ |
D | hid-asus.c | 91 int max_x; member 108 .max_x = 2794, 115 .max_x = 2240, 124 .max_x = 2640, 133 .max_x = 3120, 142 .max_x = 2640, 410 drvdata->tp->max_x, 0, 0); in asus_input_configured()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
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… 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 447 *max_x = FBC_MAX_X; in get_max_support_fbc_buffersize()
|
/kernel/linux/linux-4.19/drivers/input/tablet/ |
D | wacom_serial4.c | 177 unsigned int max_x, max_y; member 242 wacom->max_x = 5103; in wacom_handle_model_response() 284 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); in wacom_handle_coordinates_response() 512 if (!(wacom->max_x && wacom->max_y)) { in wacom_setup() 579 input_set_abs_params(wacom->dev, ABS_X, 0, wacom->max_x, 0, 0); in wacom_connect()
|
/kernel/linux/linux-5.10/drivers/input/tablet/ |
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()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
D | elan_i2c_core.c | 65 unsigned int max_x; member 399 "touchscreen-size-x", &data->max_x) || in elan_query_device_parameters() 403 &data->max_x, in elan_query_device_parameters() 409 --data->max_x; in elan_query_device_parameters() 424 data->width_x = data->max_x / x_traces; in elan_query_device_parameters() 439 data->x_res = (data->max_x + 1) / x_mm; in elan_query_device_parameters() 933 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact() 937 data->max_x, data->max_y); in elan_report_contact() 1151 input_set_abs_params(input, ABS_X, 0, data->max_x, 0, 0); in elan_setup_input_device() 1162 input_set_abs_params(input, ABS_MT_POSITION_X, 0, data->max_x, 0, 0); in elan_setup_input_device() [all …]
|