Searched refs:tps_comp (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dtps65911-comparator.c61 struct comparator tps_comp = tps_comparators[id]; comp_threshold_set() local
69 while (curr_voltage < tps_comp.uV_max) { comp_threshold_set()
70 curr_voltage = tps_comp.vsel_table[index]; comp_threshold_set()
77 if (curr_voltage > tps_comp.uV_max) comp_threshold_set()
81 ret = tps65910->write(tps65910, tps_comp.reg, 1, &val); comp_threshold_set()
88 struct comparator tps_comp = tps_comparators[id]; comp_threshold_get() local
95 ret = tps65910->read(tps65910, tps_comp.reg, 1, &val); comp_threshold_get()
100 return tps_comp.vsel_table[val]; comp_threshold_get()

Completed in 56 milliseconds