Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dexynos5440-cpufreq.c118 unsigned int tmp, clk_div, ema_div, freq, volt_id; in init_div_table() local
140 volt_id = dev_pm_opp_get_voltage(opp); in init_div_table()
142 volt_id = (MAX_VOLTAGE - volt_id) / VOLTAGE_STEP; in init_div_table()
143 if (volt_id < PMIC_HIGH_VOLT) { in init_div_table()
146 } else if (volt_id > PMIC_LOW_VOLT) { in init_div_table()
154 tmp = (clk_div | ema_div | (volt_id << P0_7_VDD_SHIFT) in init_div_table()
/drivers/regulator/
Dtps80031-regulator.c76 u8 volt_id; member
187 ret = tps80031_read(parent, ri->rinfo->volt_id, in tps80031_dcdc_set_voltage_sel()
195 ret = tps80031_update(parent, ri->rinfo->volt_id, in tps80031_dcdc_set_voltage_sel()
204 ret = tps80031_update(parent, ri->rinfo->volt_id, in tps80031_dcdc_set_voltage_sel()
220 ret = tps80031_read(parent, ri->rinfo->volt_id, in tps80031_dcdc_get_voltage_sel()
231 ret = tps80031_read(parent, ri->rinfo->volt_id, in tps80031_dcdc_get_voltage_sel()
431 .volt_id = TPS80031_SLAVE_##_volt_id, \
449 .volt_id = TPS80031_SLAVE_ID1, \
471 .volt_id = TPS80031_SLAVE_ID1, \
709 config.regmap = tps80031_mfd->regmap[ri->rinfo->volt_id]; in tps80031_regulator_probe()