Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Diqs7222.c2565 u16 sldr_max = sldr_setup[3] - 1; in iqs7222_parse_sldr()
2568 sldr_max = sldr_setup[2]; in iqs7222_parse_sldr()
2570 sldr_max &= IQS7222_SLDR_SETUP_2_RES_MASK; in iqs7222_parse_sldr()
2571 sldr_max >>= IQS7222_SLDR_SETUP_2_RES_SHIFT; in iqs7222_parse_sldr() local
2573 sldr_max = sldr_max * 16 - 1; in iqs7222_parse_sldr()
2576 input_set_abs_params(iqs7222->keypad, val, 0, sldr_max, 0, 0); in iqs7222_parse_sldr()