/linux-4.1.27/drivers/input/mouse/ |
D | elantech.c | 997 unsigned int *x_max, unsigned int *y_max, in elantech_set_range() argument 1008 *x_max = ETP_XMAX_V1; in elantech_set_range() 1018 *x_max = ETP_XMAX_V2; in elantech_set_range() 1036 *x_max = (etd->capabilities[1] - i) * param[1] / 2; in elantech_set_range() 1039 *x_max = 819; in elantech_set_range() 1042 *x_max = 900; in elantech_set_range() 1045 *x_max = (etd->capabilities[1] - i) * 64; in elantech_set_range() 1055 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range() 1063 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range() 1066 if ((traces < 2) || (traces > *x_max)) in elantech_set_range() [all …]
|
D | focaltech.c | 111 unsigned int x_max, y_max; member 135 clamped_x = clamp(finger->x, 0U, priv->x_max); in focaltech_report_state() 332 input_set_abs_params(dev, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in focaltech_set_input_params() 374 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
|
D | synaptics.c | 132 int x_min, x_max, y_min, y_max; member 411 priv->x_max = (resp[0] << 5) | ((resp[1] & 0x0f) << 1); in synaptics_resolution() 415 priv->x_max, priv->y_max); in synaptics_resolution() 465 priv->x_max = min_max_pnpid_table[i].x_max; in synaptics_apply_quirks() 470 priv->x_min, priv->x_max, in synaptics_apply_quirks() 1155 int x_max = priv->x_max ?: XMAX_NOMINAL; in set_abs_position_params() local 1161 input_set_abs_params(dev, x_code, x_min, x_max, fuzz, 0); in set_abs_position_params()
|
D | alps.c | 385 box_middle_x = (priv->x_max * (start_bit + end_bit)) / in alps_process_bitmap_dolphin() 471 (priv->x_max * (2 * x_low.start_bit + x_low.num_bits - 1)) / in alps_process_bitmap() 478 (priv->x_max * (2 * x_high.start_bit + x_high.num_bits - 1)) / in alps_process_bitmap() 2223 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution() 2404 priv->x_max = (num_x_electrode - 1) * SS4_COUNT_PER_ELECTRODE; in alps_update_device_area_ss4_v2() 2413 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2() 2487 priv->x_max = (num_x_electrode - 1) * DOLPHIN_COUNT_PER_ELECTRODE; in alps_dolphin_get_device_area() 2584 priv->x_max = 2000; in alps_set_protocol() 2595 priv->x_max = 1023; in alps_set_protocol() 2654 priv->x_max = 2047; in alps_set_protocol() [all …]
|
D | synaptics.h | 175 unsigned int x_max, y_max; /* Max coordinates (from FW) */ member
|
D | alps.h | 266 int x_max; member
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | wacom_i2c.c | 32 int x_max; member 81 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device() 88 features->x_max, features->y_max, in wacom_query_device() 196 input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); in wacom_i2c_probe()
|
D | pixcir_i2c_ts.c | 433 if (of_property_read_u32(np, "touchscreen-size-x", &pdata->x_max)) { in pixcir_parse_dt() 437 pdata->x_max -= 1; in pixcir_parse_dt() 446 pdata->x_max + 1, pdata->y_max + 1, pdata->gpio_attb); in pixcir_parse_dt() 512 input_set_abs_params(input, ABS_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe() 514 input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); in pixcir_i2c_ts_probe()
|
D | auo-pixcir-ts.c | 165 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data() 512 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in auo_pixcir_parse_dt() 591 input_set_abs_params(input_dev, ABS_X, 0, pdata->x_max, 0, 0); in auo_pixcir_probe() 596 pdata->x_max, 0, 0); in auo_pixcir_probe()
|
D | zforce_ts.c | 277 ret = zforce_resolution(ts, pdata->x_max, pdata->y_max); in zforce_start() 355 if (point.coord_x > pdata->x_max || in zforce_touch_event() 728 if (of_property_read_u32(np, "x-size", &pdata->x_max)) { in zforce_parse_dt() 833 pdata->x_max, 0, 0); in zforce_probe()
|
D | elants_i2c.c | 129 unsigned int x_max; member 474 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info() 475 ts->x_res = DIV_ROUND_CLOSEST(ts->x_max, phy_x); in elants_i2c_query_ts_info() 1106 input_set_abs_params(ts->input, ABS_X, 0, ts->x_max, 0, 0); in elants_i2c_probe() 1121 input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in elants_i2c_probe()
|
D | ads7846.c | 1224 of_property_read_u16(node, "ti,x-max", &pdata->x_max); in ads7846_probe_dt() 1358 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
|
D | ad7879.c | 555 pdata->x_max ? : MAX_12BIT, in ad7879_probe()
|
D | ad7877.c | 751 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
|
/linux-4.1.27/include/linux/platform_data/ |
D | zforce_ts.h | 22 unsigned int x_max; member
|
/linux-4.1.27/include/linux/input/ |
D | auo-pixcir-ts.h | 50 unsigned int x_max; member
|
D | pixcir_ts.h | 58 int x_max; member
|
/linux-4.1.27/include/linux/spi/ |
D | ad7877.h | 14 u16 x_min, x_max; member
|
D | ad7879.h | 11 u16 x_min, x_max; member
|
D | ads7846.h | 39 u16 x_min, x_max; member
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | common-board-devices.c | 39 .x_max = 0x0fff,
|
/linux-4.1.27/drivers/hid/ |
D | wacom_wac.h | 141 int x_max; member
|
D | wacom_sys.c | 199 features->x_max = field->logical_maximum; in wacom_usage_mapping() 1308 wacom_wac2->features.x_max = wacom_wac2->features.y_max = 4096; in wacom_wireless_work() 1363 features->x_phy = (features->x_max * 100) / in wacom_set_default_phy() 1372 features->x_resolution = wacom_calc_hid_res(features->x_max, in wacom_calculate_res() 1487 features->x_max = 4096; in wacom_probe() 1502 features->x_max = 4096; in wacom_probe()
|
D | wacom_wac.c | 2174 if (features->device_type == BTN_TOOL_FINGER && !features->x_max) { in wacom_setup_device_quirks() 2175 features->x_max = 1023; in wacom_setup_device_quirks() 2182 features->x_max <<= 5; in wacom_setup_device_quirks() 2209 features->x_max, features->x_fuzz, 0); in wacom_abs_set_axis() 2221 features->x_max, features->x_fuzz, 0); in wacom_abs_set_axis() 2232 features->x_max, features->x_fuzz, 0); in wacom_abs_set_axis() 2339 0, features->x_max, 0, 0); in wacom_setup_pentouch_input_capabilities() 2348 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_pentouch_input_capabilities() 2349 input_set_abs_params(input_dev, ABS_MT_WIDTH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_pentouch_input_capabilities() 2416 0, features->x_max, 0, 0); in wacom_setup_pentouch_input_capabilities()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | board-nokia770.c | 119 .x_max = 0x0fff,
|
D | board-htcherald.c | 441 .x_max = 3760,
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 891 .x_max = 0xfff,
|