Home
last modified time | relevance | path

Searched refs:pwrkey (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.12.1/drivers/input/misc/
Dpm8941-pwrkey.c89 struct pm8941_pwrkey *pwrkey = container_of(nb, struct pm8941_pwrkey, in pm8941_reboot_notify() local
96 if (pwrkey->revision == 0) in pm8941_reboot_notify()
101 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
102 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
106 dev_err(pwrkey->dev, in pm8941_reboot_notify()
130 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
131 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
135 dev_err(pwrkey->dev, "unable to set ps hold reset type: %d\n", in pm8941_reboot_notify()
138 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
139 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
[all …]
Dpmic8xxx-pwrkey.c104 struct pmic8xxx_pwrkey *pwrkey = dev_get_drvdata(dev); in pmic8xxx_pwrkey_suspend() local
107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend()
114 struct pmic8xxx_pwrkey *pwrkey = dev_get_drvdata(dev); in pmic8xxx_pwrkey_resume() local
117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume()
127 struct pmic8xxx_pwrkey *pwrkey = platform_get_drvdata(pdev); in pmic8xxx_pwrkey_shutdown() local
132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown()
133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
149 regmap_update_bits(pwrkey->regmap, PON_CNTL_1, mask, val); in pmic8xxx_pwrkey_shutdown()
279 static int pm8058_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8058_pwrkey_shutdown() argument
282 struct regmap *regmap = pwrkey->regmap; in pm8058_pwrkey_shutdown()
[all …]
DMakefile25 obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o
65 obj-$(CONFIG_INPUT_PM8941_PWRKEY) += pm8941-pwrkey.o
67 obj-$(CONFIG_INPUT_PMIC8XXX_PWRKEY) += pmic8xxx-pwrkey.o
75 obj-$(CONFIG_INPUT_RT5120_PWRKEY) += rt5120-pwrkey.o
78 obj-$(CONFIG_INPUT_RK805_PWRKEY) += rk805-pwrkey.o
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dpm8018.dtsi17 pwrkey@1c {
18 compatible = "qcom,pm8018-pwrkey",
19 "qcom,pm8921-pwrkey";
Dpma8084.dtsi27 pwrkey {
28 compatible = "qcom,pm8941-pwrkey";
Dpm8921.dtsi11 pwrkey@1c {
12 compatible = "qcom,pm8921-pwrkey";
Dpm8058.dtsi11 pwrkey@1c {
12 compatible = "qcom,pm8058-pwrkey";
Dpm8226.dtsi48 pwrkey {
49 compatible = "qcom,pm8941-pwrkey";
Dpm8941.dtsi57 pwrkey {
58 compatible = "qcom,pm8941-pwrkey";
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpm6350.dtsi52 pm6350_pwrkey: pwrkey {
53 compatible = "qcom,pm8941-pwrkey";
Dpmk8550.dtsi33 pon_pwrkey: pwrkey {
34 compatible = "qcom,pmk8350-pwrkey";
Dpm4125.dtsi22 pm4125_pwrkey: pwrkey {
23 compatible = "qcom,pm8941-pwrkey";
Dpm8953.dtsi50 pwrkey {
51 compatible = "qcom,pm8941-pwrkey";
Dpmk8350.dtsi38 pon_pwrkey: pwrkey {
39 compatible = "qcom,pmk8350-pwrkey";
Dpmm8155au_1.dtsi51 pwrkey {
52 compatible = "qcom,pm8941-pwrkey";
Dpm8998.dtsi47 pm8998_pwrkey: pwrkey {
48 compatible = "qcom,pm8941-pwrkey";
Dpm8994.dtsi51 pwrkey {
52 compatible = "qcom,pm8941-pwrkey";
Dpm6125.dtsi52 pon_pwrkey: pwrkey {
53 compatible = "qcom,pm8941-pwrkey";
Dpm8150.dtsi55 pon_pwrkey: pwrkey {
56 compatible = "qcom,pm8941-pwrkey";
Dpms405.dtsi57 pwrkey {
58 compatible = "qcom,pm8941-pwrkey";
Dpm8950.dtsi27 pwrkey {
28 compatible = "qcom,pm8941-pwrkey";
Dpm6150.dtsi49 pm6150_pwrkey: pwrkey {
50 compatible = "qcom,pm8941-pwrkey";
Dsa8775p-pmics.dtsi120 pmm8654au_0_pon_pwrkey: pwrkey {
121 compatible = "qcom,pmk8350-pwrkey";
Dpm660.dtsi56 pon_pwrkey: pwrkey {
57 compatible = "qcom,pm8941-pwrkey";
Dsc8280xp-pmics.dtsi69 pmk8280_pon_pwrkey: pwrkey {
70 compatible = "qcom,pmk8350-pwrkey";

12