Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-regulator-coupler.c23 struct regulator_dev *vsram_rdev; member
38 int vsram_min_uV = mrc->vsram_rdev->constraints->min_uV; in mediatek_regulator_balance_voltage()
39 int vsram_max_uV = mrc->vsram_rdev->constraints->max_uV; in mediatek_regulator_balance_voltage()
54 if (rdev == mrc->vsram_rdev) { in mediatek_regulator_balance_voltage()
89 rdev_get_name(mrc->vsram_rdev), min_uV); in mediatek_regulator_balance_voltage()
91 ret = regulator_set_voltage_rdev(mrc->vsram_rdev, vsram_target_min_uV, in mediatek_regulator_balance_voltage()
117 if (mrc->vsram_rdev) in mediatek_regulator_attach()
119 mrc->vsram_rdev = rdev; in mediatek_regulator_attach()
132 if (rdev == mrc->vsram_rdev) in mediatek_regulator_detach()
133 mrc->vsram_rdev = NULL; in mediatek_regulator_detach()