Home
last modified time | relevance | path

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

/drivers/regulator/
Dmc13892-regulator.c265 static struct mc13xxx_regulator mc13892_regulators[] = { variable
337 u32 en_val = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_enable()
338 u32 mask = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_enable()
362 dis_val = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_disable()
364 return mc13892_powermisc_rmw(priv, mc13892_regulators[id].enable_bit, in mc13892_gpo_regulator_disable()
375 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_gpo_regulator_is_enabled()
386 return (val & mc13892_regulators[id].enable_bit) != 0; in mc13892_gpo_regulator_is_enabled()
408 mc13892_regulators[id].vsel_reg, &val); in mc13892_sw_regulator_get_voltage_sel()
424 selector = val & mc13892_regulators[id].vsel_mask; in mc13892_sw_regulator_get_voltage_sel()
426 if ((mc13892_regulators[id].vsel_reg != MC13892_SWITCHERS0) && in mc13892_sw_regulator_get_voltage_sel()
[all …]