Home
last modified time | relevance | path

Searched refs:MAX_12BIT (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/input/touchscreen/
Dts4800-ts.c28 #define MAX_12BIT ((1 << 12) - 1) macro
92 last_x = ((~last_x) >> 4) & MAX_12BIT; in ts4800_ts_poll()
93 last_y = ((~last_y) >> 4) & MAX_12BIT; in ts4800_ts_poll()
185 input_set_abs_params(poll_dev->input, ABS_X, 0, MAX_12BIT, 0, 0); in ts4800_ts_probe()
186 input_set_abs_params(poll_dev->input, ABS_Y, 0, MAX_12BIT, 0, 0); in ts4800_ts_probe()
Dad7879.c105 #define MAX_12BIT ((1<<12)-1) macro
173 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT; in ad7879_report()
174 y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT; in ad7879_report()
175 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; in ad7879_report()
176 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; in ad7879_report()
591 pdata->x_max ? : MAX_12BIT, in ad7879_probe()
595 pdata->y_max ? : MAX_12BIT, in ad7879_probe()
602 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in ad7879_probe()
603 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in ad7879_probe()
Dtsc200x-core.c158 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) in tsc200x_irq_thread()
162 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
189 if (unlikely(pressure > MAX_12BIT)) in tsc200x_irq_thread()
288 temp_high_test = (temp_high_orig - 1) & MAX_12BIT; in tsc200x_selftest_show()
538 0, MAX_12BIT, TSC200X_DEF_X_FUZZ, 0); in tsc200x_probe()
540 0, MAX_12BIT, TSC200X_DEF_Y_FUZZ, 0); in tsc200x_probe()
542 0, MAX_12BIT, TSC200X_DEF_P_FUZZ, 0); in tsc200x_probe()
Dtsc2007_core.c76 if (tc->x == MAX_12BIT) in tsc2007_calculate_resistance()
249 ts->max_rt = MAX_12BIT; in tsc2007_probe_dt()
296 ts->max_rt = pdata->max_rt ? : MAX_12BIT; in tsc2007_probe_pdev()
371 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, ts->fuzzx, 0); in tsc2007_probe()
372 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, ts->fuzzy, 0); in tsc2007_probe()
373 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, in tsc2007_probe()
Dsx8654.c72 #define MAX_12BIT ((1 << 12) - 1) macro
201 input_set_abs_params(input, ABS_X, 0, MAX_12BIT, 0, 0); in sx8654_probe()
202 input_set_abs_params(input, ABS_Y, 0, MAX_12BIT, 0, 0); in sx8654_probe()
Dbu21029_ts.c152 #define MAX_12BIT ((1 << 12) - 1) macro
397 input_set_abs_params(in_dev, ABS_X, 0, MAX_12BIT, 0, 0); in bu21029_probe()
398 input_set_abs_params(in_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in bu21029_probe()
399 input_set_abs_params(in_dev, ABS_PRESSURE, 0, MAX_12BIT, 0, 0); in bu21029_probe()
Dad7877.c53 #define MAX_12BIT ((1<<12)-1) macro
255 req->command = (u16) (AD7877_WRITEADD(reg) | (val & MAX_12BIT)); in ad7877_write()
337 x = ts->conversion_data[AD7877_SEQ_XPOS] & MAX_12BIT; in ad7877_process_data()
338 y = ts->conversion_data[AD7877_SEQ_YPOS] & MAX_12BIT; in ad7877_process_data()
339 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; in ad7877_process_data()
340 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; in ad7877_process_data()
758 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
762 pdata->y_max ? : MAX_12BIT, in ad7877_probe()
Dti_am335x_tsc.c35 #define MAX_12BIT ((1 << 12) - 1) macro
319 if (z <= MAX_12BIT) { in titsc_irq()
457 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in titsc_probe()
458 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in titsc_probe()
459 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, 0, 0); in titsc_probe()
Dtsc200x-core.h62 #define MAX_12BIT 0xfff macro
Dtsc2007.h45 #define MAX_12BIT ((1 << 12) - 1) macro
Dads7846.c179 #define MAX_12BIT ((1<<12)-1) macro
773 if (x == MAX_12BIT) in ads7846_report_state()
1361 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
1365 pdata->y_max ? : MAX_12BIT, in ads7846_probe()