Searched refs:pmic_dev (Results 1 – 5 of 5) sorted by relevance
189 struct stpmic1 *pmic_dev = i2c_get_clientdata(i2c); in stpmic1_suspend() local191 disable_irq(pmic_dev->irq); in stpmic1_suspend()199 struct stpmic1 *pmic_dev = i2c_get_clientdata(i2c); in stpmic1_resume() local202 ret = regcache_sync(pmic_dev->regmap); in stpmic1_resume()206 enable_irq(pmic_dev->irq); in stpmic1_resume()
107 struct udevice *pmic_dev = i2c_emul_get_device(emul); in sandbox_i2c_pmic_ofdata_to_platdata() local108 struct uc_pmic_priv *priv = dev_get_uclass_priv(pmic_dev); in sandbox_i2c_pmic_ofdata_to_platdata()112 plat->reg_count = pmic_reg_count(pmic_dev); in sandbox_i2c_pmic_ofdata_to_platdata()
217 struct device *pmic_dev = pdev->dev.parent; in hi6421v600_irq_probe() local218 struct device_node *np = pmic_dev->of_node; in hi6421v600_irq_probe()231 regmap = dev_get_drvdata(pmic_dev); in hi6421v600_irq_probe()244 pmic_pdev = container_of(pmic_dev, struct platform_device, dev); in hi6421v600_irq_probe()
235 struct device *pmic_dev = pdev->dev.parent; in hi6421_spmi_regulator_probe() local249 regmap = dev_get_drvdata(pmic_dev); in hi6421_spmi_regulator_probe()
559 struct stpmic1 *pmic_dev = dev_get_drvdata(pdev->dev.parent); in stpmic1_regulator_register() local568 config.regmap = pmic_dev->regmap; in stpmic1_regulator_register()581 ret = regmap_update_bits(pmic_dev->regmap, in stpmic1_regulator_register()