Searched refs:pon (Results 1 – 2 of 2) sorted by relevance
31 struct pm8916_pon *pon = container_of in pm8916_reboot_mode_write() local35 ret = regmap_update_bits(pon->regmap, in pm8916_reboot_mode_write()36 pon->baseaddr + PON_SOFT_RB_SPARE, in pm8916_reboot_mode_write()37 GENMASK(7, pon->reason_shift), in pm8916_reboot_mode_write()38 magic << pon->reason_shift); in pm8916_reboot_mode_write()40 dev_err(pon->dev, "update reboot mode bits failed\n"); in pm8916_reboot_mode_write()47 struct pm8916_pon *pon; in pm8916_pon_probe() local50 pon = devm_kzalloc(&pdev->dev, sizeof(*pon), GFP_KERNEL); in pm8916_pon_probe()51 if (!pon) in pm8916_pon_probe()54 pon->dev = &pdev->dev; in pm8916_pon_probe()[all …]
18 obj-$(CONFIG_POWER_RESET_QCOM_PON) += qcom-pon.o