/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 39 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 62 obj->y = min(sensor->max_y, obj->y); in rmi_2d_sensor_abs_process() 144 int max_x, max_y; in rmi_2d_sensor_set_input_params() local 155 sensor->max_y = min(sensor->max_y, in rmi_2d_sensor_set_input_params() 161 max_y = sensor->max_y; in rmi_2d_sensor_set_input_params() 163 swap(max_x, max_y); in rmi_2d_sensor_set_input_params() 165 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in rmi_2d_sensor_set_input_params() 169 res_y = (sensor->max_y - sensor->min_y) / sensor->y_mm; in rmi_2d_sensor_set_input_params()
|
D | rmi_2d_sensor.h | 56 u16 max_y; member
|
/Linux-v4.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() 263 input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); in pm_connect() 270 ABS_MT_POSITION_Y, 0, max_y, 0, 0); in pm_connect()
|
D | ektf2127.c | 230 int max_x, max_y; in ektf2127_probe() local 271 max_y = ektf2127_query_dimension(client, false); in ektf2127_probe() 272 if (max_y < 0) in ektf2127_probe() 273 return max_y; in ektf2127_probe() 276 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in ektf2127_probe()
|
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()
|
D | s6sy761.c | 342 unsigned int *max_x, unsigned int *max_y) in s6sy761_hw_init() argument 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()
|
D | zet6223.c | 42 u16 max_y; member 174 ts->max_y = get_unaligned_le16(&buf[10]); in zet6223_query_device() 218 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in zet6223_probe()
|
D | of_touchscreen.c | 119 prop->max_y = input_abs_get_max(input, axis + 1); in touchscreen_parse_properties() 140 *y = prop->max_y - *y; in touchscreen_apply_prop_to_x_y()
|
D | mms114.c | 299 val |= ((props->max_y >> 8) & 0xf) << 4; in mms114_setup_regs() 403 if (device_property_read_u32(dev, "y-size", &props->max_y)) { in mms114_parse_legacy_bindings() 463 if (!data->props.max_x || !data->props.max_y) { in mms114_probe() 473 0, data->props.max_y, 0, 0); in mms114_probe()
|
D | melfas_mip4.c | 168 unsigned int max_y; member 332 ts->max_y = get_unaligned_le16(&buf[2]); in mip4_query_device() 334 ts->max_x, ts->max_y); in mip4_query_device() 1153 input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in mip4_flash_fw() 1155 input_set_abs_params(ts->input, ABS_Y, 0, ts->max_y, 0, 0); in mip4_flash_fw() 1496 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); in mip4_probe()
|
D | cyttsp4_core.c | 369 si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh in cyttsp4_si_get_pcfg_data() 667 si->si_ofs.max_y, si->si_ofs.max_y); in cyttsp4_si_put_log_data() 827 touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - in cyttsp4_get_touch() 838 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - in cyttsp4_get_touch() 1906 int max_x, max_y, max_p, min, max; in cyttsp4_setup_input_device() local 1917 max_y_tmp = md->si->si_ofs.max_y; in cyttsp4_setup_input_device() 1922 max_y = max_x_tmp - 1; in cyttsp4_setup_input_device() 1925 max_y = max_y_tmp - 1; in cyttsp4_setup_input_device() 1946 max = max_y; in cyttsp4_setup_input_device()
|
D | goodix.c | 694 if (!ts->prop.max_x || !ts->prop.max_y || !ts->max_touch_num) { in goodix_configure_dev() 697 ts->prop.max_y = GOODIX_MAX_HEIGHT - 1; in goodix_configure_dev() 702 ABS_MT_POSITION_Y, ts->prop.max_y); in goodix_configure_dev()
|
D | wdt87xx_i2c.c | 173 u32 max_y; member 467 param->max_y = DIV_ROUND_CLOSEST(MAX_UNIT_AXIS * param->phy_h, in wdt87xx_get_sysparam() 979 if (x > param->max_x || y > param->max_y) in wdt87xx_report_contact() 1047 wdt->param.max_y, 0, 0); in wdt87xx_ts_create_input_device()
|
/Linux-v4.19/tools/perf/util/ |
D | xyarray.h | 12 size_t max_y; member 27 return xy->max_y; in xyarray__max_y()
|
D | xyarray.c | 17 xy->max_y = ylen; in xyarray__new()
|
/Linux-v4.19/drivers/hid/ |
D | hid-asus.c | 92 int max_y; member 109 .max_y = 1758, 116 .max_y = 1120, 125 .max_y = 1320, 134 .max_y = 1716, 143 .max_y = 1320, 157 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]); in asus_report_contact_down() 412 drvdata->tp->max_y, 0, 0); in asus_input_configured()
|
D | hid-elan.c | 50 u16 max_y; member 142 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 184 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, drvdata->max_y, in elan_input_configured() 226 y = drvdata->max_y - in elan_report_mt_slot()
|
/Linux-v4.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 476 *max_y = FBC_MAX_Y; in get_max_support_fbc_buffersize()
|
D | dce110_compressor.h | 78 void get_max_support_fbc_buffersize(unsigned int *max_x, unsigned int *max_y);
|
/Linux-v4.19/drivers/input/tablet/ |
D | wacom_serial4.c | 177 unsigned int max_x, max_y; member 242 wacom->max_y = 3711; in wacom_handle_model_response() 282 r = sscanf(wacom->data, "~C%u,%u", &wacom->max_x, &wacom->max_y); in wacom_handle_coordinates_response() 510 if (!(wacom->max_x && wacom->max_y)) { in wacom_setup() 578 input_set_abs_params(wacom->dev, ABS_Y, 0, wacom->max_y, 0, 0); in wacom_connect()
|
D | hanwang.c | 83 int max_y; member 399 0, hanwang->features->max_y, 4, 0); in hanwang_probe()
|
/Linux-v4.19/drivers/input/mouse/ |
D | elan_i2c_core.c | 78 unsigned int max_y; member 373 error = data->ops->get_max(data->client, &data->max_x, &data->max_y); in elan_query_device_parameters() 382 data->width_y = data->max_y / y_traces; in elan_query_device_parameters() 874 if (pos_x > data->max_x || pos_y > data->max_y) { in elan_report_contact() 878 data->max_x, data->max_y); in elan_report_contact() 900 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact() 1070 input_set_abs_params(input, ABS_Y, 0, data->max_y, 0, 0); in elan_setup_input_device() 1079 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, data->max_y, 0, 0); in elan_setup_input_device() 1199 data->max_x, data->max_y, in elan_probe()
|
D | elan_i2c.h | 68 unsigned int *max_x, unsigned int *max_y);
|
D | elan_i2c_smbus.c | 229 unsigned int *max_x, unsigned int *max_y) in elan_smbus_get_max() argument 243 *max_y = (0xf0 & val[0]) << 4 | val[2]; in elan_smbus_get_max()
|
/Linux-v4.19/include/linux/input/ |
D | touchscreen.h | 17 unsigned int max_y; member
|