Searched refs:tps_comp (Results 1 – 1 of 1) sorted by relevance
60 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_set() local65 while (curr_voltage < tps_comp.uV_max) { in comp_threshold_set()66 curr_voltage = tps_comp.vsel_table[index]; in comp_threshold_set()73 if (curr_voltage > tps_comp.uV_max) in comp_threshold_set()77 ret = tps65910_reg_write(tps65910, tps_comp.reg, val); in comp_threshold_set()84 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_get() local88 ret = tps65910_reg_read(tps65910, tps_comp.reg, &val); in comp_threshold_get()93 return tps_comp.vsel_table[val]; in comp_threshold_get()