Home
last modified time | relevance | path

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

/f-stack/freebsd/arm/ti/twl/
H A Dtwl_vreg.c221 const uint16_t *supp_voltages; /* pointer to an array of possible voltages */ member
303 if (regulator->supp_voltages == NULL) in twl_vreg_millivolt_to_vsel()
311 if (regulator->supp_voltages[i] == UNDF) in twl_vreg_millivolt_to_vsel()
315 delta = millivolts - (int)regulator->supp_voltages[i]; in twl_vreg_millivolt_to_vsel()
559 if (regulator->supp_voltages == NULL || regulator->num_supp_voltages == 0) { in twl_vreg_write_regulator_voltage()
634 if (regulator->supp_voltages == NULL || !regulator->num_supp_voltages) { in twl_vreg_read_regulator_voltage()
645 if (regulator->supp_voltages[vsel] == UNDF) { in twl_vreg_read_regulator_voltage()
650 *millivolts = regulator->supp_voltages[vsel]; in twl_vreg_read_regulator_voltage()
827 new->supp_voltages = voltages; in twl_vreg_add_regulator()