Searched refs:MAX_12BIT (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dtsc2007.c53 #define MAX_12BIT ((1 << 12) - 1) macro
136 if (tc->x == MAX_12BIT) tsc2007_calculate_pressure()
304 ts->max_rt = MAX_12BIT; tsc2007_probe_dt()
351 ts->max_rt = pdata->max_rt ? : MAX_12BIT; tsc2007_probe_pdev()
424 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, ts->fuzzx, 0); tsc2007_probe()
425 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, ts->fuzzy, 0); tsc2007_probe()
426 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, tsc2007_probe()
H A Dtsc200x-core.c160 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) tsc200x_irq_thread()
164 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) tsc200x_irq_thread()
191 if (unlikely(pressure > MAX_12BIT)) tsc200x_irq_thread()
289 temp_high_test = (temp_high_orig - 1) & MAX_12BIT; tsc200x_selftest_show()
462 unsigned int max_x = MAX_12BIT; tsc200x_probe()
463 unsigned int max_y = MAX_12BIT; tsc200x_probe()
464 unsigned int max_p = MAX_12BIT; tsc200x_probe()
H A Dtsc200x-core.h61 #define MAX_12BIT 0xfff macro
H A Dad7879.c104 #define MAX_12BIT ((1<<12)-1) macro
159 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT; ad7879_report()
160 y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT; ad7879_report()
161 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; ad7879_report()
162 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; ad7879_report()
555 pdata->x_max ? : MAX_12BIT, ad7879_probe()
559 pdata->y_max ? : MAX_12BIT, ad7879_probe()
H A Dad7877.c53 #define MAX_12BIT ((1<<12)-1) macro
255 req->command = (u16) (AD7877_WRITEADD(reg) | (val & MAX_12BIT)); ad7877_write()
337 x = ts->conversion_data[AD7877_SEQ_XPOS] & MAX_12BIT; ad7877_process_data()
338 y = ts->conversion_data[AD7877_SEQ_YPOS] & MAX_12BIT; ad7877_process_data()
339 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; ad7877_process_data()
340 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; ad7877_process_data()
751 pdata->x_max ? : MAX_12BIT, ad7877_probe()
755 pdata->y_max ? : MAX_12BIT, ad7877_probe()
H A Dsx8654.c72 #define MAX_12BIT ((1 << 12) - 1) macro
201 input_set_abs_params(input, ABS_X, 0, MAX_12BIT, 0, 0); sx8654_probe()
202 input_set_abs_params(input, ABS_Y, 0, MAX_12BIT, 0, 0); sx8654_probe()
H A Dti_am335x_tsc.c35 #define MAX_12BIT ((1 << 12) - 1) macro
317 if (z <= MAX_12BIT) { titsc_irq()
454 input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, 0, 0); titsc_probe()
455 input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, 0, 0); titsc_probe()
456 input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT, 0, 0); titsc_probe()
H A Dads7846.c179 #define MAX_12BIT ((1<<12)-1) macro
773 if (x == MAX_12BIT) ads7846_report_state()
1361 pdata->x_max ? : MAX_12BIT, ads7846_probe()
1365 pdata->y_max ? : MAX_12BIT, ads7846_probe()

Completed in 210 milliseconds