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

/linux-4.4.14/drivers/input/misc/
H A Dpm8941-pwrkey.c160 u32 req_delay; pm8941_pwrkey_probe() local
163 if (of_property_read_u32(pdev->dev.of_node, "debounce", &req_delay)) pm8941_pwrkey_probe()
164 req_delay = 15625; pm8941_pwrkey_probe()
166 if (req_delay > 2000000 || req_delay == 0) { pm8941_pwrkey_probe()
167 dev_err(&pdev->dev, "invalid debounce time: %u\n", req_delay); pm8941_pwrkey_probe()
214 req_delay = (req_delay << 6) / USEC_PER_SEC; pm8941_pwrkey_probe()
215 req_delay = ilog2(req_delay); pm8941_pwrkey_probe()
220 req_delay); pm8941_pwrkey_probe()

Completed in 173 milliseconds