Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dtsc2007.c50 #define MAX_12BIT ((1 << 12) - 1) macro
130 if (tc->x == MAX_12BIT) in tsc2007_calculate_pressure()
307 ts->max_rt = pdata->max_rt ? : MAX_12BIT; in tsc2007_probe()
334 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, pdata->fuzzx, 0); in tsc2007_probe()
335 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, pdata->fuzzy, 0); in tsc2007_probe()
336 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, in tsc2007_probe()
Dtsc2005.c102 #define MAX_12BIT 0xfff macro
272 if (unlikely(x > MAX_12BIT || y > MAX_12BIT)) in tsc2005_irq_thread()
276 if (unlikely(z1 == 0 || z2 > MAX_12BIT || z1 >= z2)) in tsc2005_irq_thread()
301 if (unlikely(pressure > MAX_12BIT)) in tsc2005_irq_thread()
393 temp_high_test = (temp_high_orig - 1) & MAX_12BIT; in tsc2005_selftest_show()
589 max_x = pdata->ts_x_max ? : MAX_12BIT; in tsc2005_probe()
590 max_y = pdata->ts_y_max ? : MAX_12BIT; in tsc2005_probe()
591 max_p = pdata->ts_pressure_max ? : MAX_12BIT; in tsc2005_probe()
Dad7879.c105 #define MAX_12BIT ((1<<12)-1) macro
159 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT; in ad7879_report()
160 y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT; in ad7879_report()
161 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; in ad7879_report()
162 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; in ad7879_report()
557 pdata->x_max ? : MAX_12BIT, in ad7879_probe()
561 pdata->y_max ? : MAX_12BIT, in ad7879_probe()
Dti_tscadc.c89 #define MAX_12BIT ((1 << 12) - 1) macro
262 if (z <= MAX_12BIT) { in tscadc_irq()
425 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); in tscadc_probe()
426 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); in tscadc_probe()
427 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, 0, 0); in tscadc_probe()
Dad7877.c54 #define MAX_12BIT ((1<<12)-1) macro
261 req->command = (u16) (AD7877_WRITEADD(reg) | (val & MAX_12BIT)); in ad7877_write()
343 x = ts->conversion_data[AD7877_SEQ_XPOS] & MAX_12BIT; in ad7877_process_data()
344 y = ts->conversion_data[AD7877_SEQ_YPOS] & MAX_12BIT; in ad7877_process_data()
345 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; in ad7877_process_data()
346 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; in ad7877_process_data()
757 pdata->x_max ? : MAX_12BIT, in ad7877_probe()
761 pdata->y_max ? : MAX_12BIT, in ad7877_probe()
Dads7846.c178 #define MAX_12BIT ((1<<12)-1) macro
795 if (x == MAX_12BIT) in ads7846_report_state()
1296 pdata->x_max ? : MAX_12BIT, in ads7846_probe()
1300 pdata->y_max ? : MAX_12BIT, in ads7846_probe()