Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/input/misc/
Dpmic8xxx-pwrkey.c339 unsigned int pon_cntl; in pmic8xxx_pwrkey_probe() local
384 err = regmap_read(regmap, PON_CNTL_1, &pon_cntl); in pmic8xxx_pwrkey_probe()
390 pon_cntl &= ~PON_CNTL_TRIG_DELAY_MASK; in pmic8xxx_pwrkey_probe()
391 pon_cntl |= (delay & PON_CNTL_TRIG_DELAY_MASK); in pmic8xxx_pwrkey_probe()
393 pon_cntl |= PON_CNTL_PULL_UP; in pmic8xxx_pwrkey_probe()
395 pon_cntl &= ~PON_CNTL_PULL_UP; in pmic8xxx_pwrkey_probe()
397 err = regmap_write(regmap, PON_CNTL_1, pon_cntl); in pmic8xxx_pwrkey_probe()