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.c2571 u16 sldr_max = sldr_setup[3] - 1; in iqs7222_parse_sldr() local
2574 sldr_max = sldr_setup[2]; in iqs7222_parse_sldr()
2576 sldr_max &= IQS7222_SLDR_SETUP_2_RES_MASK; in iqs7222_parse_sldr()
2577 sldr_max >>= IQS7222_SLDR_SETUP_2_RES_SHIFT; in iqs7222_parse_sldr()
2579 sldr_max = sldr_max * 16 - 1; in iqs7222_parse_sldr()
2582 input_set_abs_params(iqs7222->keypad, val, 0, sldr_max, 0, 0); in iqs7222_parse_sldr()