Searched refs:volt_sel (Results 1 – 2 of 2) sorted by relevance
86 unsigned int volt_sel; member309 drv->volt_sel = selector; in spm_set_voltage_sel()319 return drv->volt_sel; in spm_get_voltage_sel()333 unsigned int vlevel, volt_sel; in smp_set_vdd_v1_1() local336 volt_sel = drv->volt_sel; in smp_set_vdd_v1_1()337 vlevel = volt_sel | 0x80; /* band */ in smp_set_vdd_v1_1()357 data1 = FIELD_SET(data1, SPM_PMIC_DATA_1_MIN_VSEL, volt_sel); in smp_set_vdd_v1_1()358 data1 = FIELD_SET(data1, SPM_PMIC_DATA_1_MAX_VSEL, volt_sel); in smp_set_vdd_v1_1()373 unsigned int max_avs = volt_sel; in smp_set_vdd_v1_1()454 drv->volt_sel = DIV_ROUND_UP(drv->reg_data->init_uV - rdesc->min_uV, in spm_register_regulator()[all …]
34 unsigned int volt_sel[DSV_OUT_MAX]; member70 priv->volt_sel[id] = selector; in rt4801_set_voltage_sel()82 return priv->volt_sel[id]; in rt4801_get_voltage_sel()98 ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, priv->volt_sel[id]); in rt4801_enable()221 priv->volt_sel[i] = val & desc->vsel_mask; in rt4801_probe()