Home
last modified time | relevance | path

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

/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()
183 input_set_abs_params(poll_dev->input, ABS_X, 0, MAX_12BIT, 0, 0); in ts4800_ts_probe()
184 input_set_abs_params(poll_dev->input, ABS_Y, 0, MAX_12BIT, 0, 0); in ts4800_ts_probe()
Dtsc200x-core.c150 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) in tsc200x_irq_thread()
154 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
181 if (unlikely(pressure > MAX_12BIT)) in tsc200x_irq_thread()
280 temp_high_test = (temp_high_orig - 1) & MAX_12BIT; in tsc200x_selftest_show()
530 0, MAX_12BIT, TSC200X_DEF_X_FUZZ, 0); in tsc200x_probe()
532 0, MAX_12BIT, TSC200X_DEF_Y_FUZZ, 0); in tsc200x_probe()
534 0, MAX_12BIT, TSC200X_DEF_P_FUZZ, 0); in tsc200x_probe()
Dtsc2007_core.c73 if (tc->x == MAX_12BIT) in tsc2007_calculate_resistance()
246 ts->max_rt = MAX_12BIT; in tsc2007_probe_dt()
293 ts->max_rt = pdata->max_rt ? : MAX_12BIT; in tsc2007_probe_pdev()
368 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, ts->fuzzx, 0); in tsc2007_probe()
369 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, ts->fuzzy, 0); in tsc2007_probe()
370 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, in tsc2007_probe()
Dad7879.c103 #define MAX_12BIT ((1<<12)-1) macro
171 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT; in ad7879_report()
172 y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT; in ad7879_report()
173 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; in ad7879_report()
174 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; in ad7879_report()
564 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in ad7879_probe()
565 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in ad7879_probe()
Dsx8654.c81 #define MAX_12BIT ((1 << 12) - 1) macro
173 x = chdata & MAX_12BIT; in sx8650_irq()
175 y = chdata & MAX_12BIT; in sx8650_irq()
361 input_set_abs_params(input, ABS_X, 0, MAX_12BIT, 0, 0); in sx8654_probe()
362 input_set_abs_params(input, ABS_Y, 0, MAX_12BIT, 0, 0); in sx8654_probe()
Dad7877.c39 #define MAX_12BIT ((1<<12)-1) macro
241 req->command = (u16) (AD7877_WRITEADD(reg) | (val & MAX_12BIT)); in ad7877_write()
323 x = ts->conversion_data[AD7877_SEQ_XPOS] & MAX_12BIT; in ad7877_process_data()
324 y = ts->conversion_data[AD7877_SEQ_YPOS] & MAX_12BIT; in ad7877_process_data()
325 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; in ad7877_process_data()
326 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; in ad7877_process_data()
744 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
748 pdata->y_max ? : MAX_12BIT, in ad7877_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()
Dti_am335x_tsc.c36 #define MAX_12BIT ((1 << 12) - 1) macro
321 if (z <= MAX_12BIT) { in titsc_irq()
465 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in titsc_probe()
466 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in titsc_probe()
467 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.h42 #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()
1363 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
1367 pdata->y_max ? : MAX_12BIT, in ads7846_probe()