Searched refs:sc_voltage_table (Results 1 – 1 of 1) sorted by relevance
67 struct voltage_duty *sc_voltage_table; member147 sc->sc_voltage_table = voltage_table; in pwmregulator_attach()165 kmem_free(sc->sc_voltage_table, len); in pwmregulator_attach()264 if (abs(sc->sc_voltage_table[i].microvolt - uv) < in pwmregulator_set_voltage()265 abs(sc->sc_voltage_table[bestidx].microvolt - uv)) in pwmregulator_set_voltage()268 duty = sc->sc_voltage_table[bestidx].duty; in pwmregulator_set_voltage()309 if (abs(sc->sc_voltage_table[i].duty - duty) < in pwmregulator_get_voltage()310 abs(sc->sc_voltage_table[bestidx].duty - duty)) in pwmregulator_get_voltage()313 uv = sc->sc_voltage_table[bestidx].microvolt; in pwmregulator_get_voltage()