Searched refs:vsel_high (Results 1 – 1 of 1) sorted by relevance
46 static int rt8092_get_vbank_index(struct regmap *regmap, bool vsel_high, unsigned int *vbank_idx) in rt8092_get_vbank_index() argument48 unsigned int vbank_reg = vsel_high ? RT8092_REG_VBANKH : RT8092_REG_VBANKL; in rt8092_get_vbank_index()134 bool vsel_high; in rt8092_set_suspend_voltage() local138 vsel_high = desc->vsel_reg == RT8092_REG_VOUTH; in rt8092_set_suspend_voltage()140 ret = rt8092_get_vbank_index(regmap, vsel_high, &vbank_idx); in rt8092_set_suspend_voltage()242 bool vsel_high; in rt8092_probe() local257 vsel_high = device_property_read_bool(dev, "richtek,vsel-active-high"); in rt8092_probe()259 ret = rt8092_get_vbank_index(regmap, vsel_high, &vbank_idx); in rt8092_probe()278 desc->enable_reg = desc->vsel_reg = vsel_high ? RT8092_REG_VOUTH : RT8092_REG_VOUTL; in rt8092_probe()