Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
H A Dpm8941-pwrkey.c252 u32 req_delay, mask, delay_shift; in pm8941_pwrkey_probe() local
255 if (of_property_read_u32(pdev->dev.of_node, "debounce", &req_delay)) in pm8941_pwrkey_probe()
256 req_delay = 15625; in pm8941_pwrkey_probe()
258 if (req_delay > 2000000 || req_delay == 0) { in pm8941_pwrkey_probe()
259 dev_err(&pdev->dev, "invalid debounce time: %u\n", req_delay); in pm8941_pwrkey_probe()
349 req_delay = (req_delay << delay_shift) / USEC_PER_SEC; in pm8941_pwrkey_probe()
350 req_delay = ilog2(req_delay); in pm8941_pwrkey_probe()
355 req_delay); in pm8941_pwrkey_probe()