Searched refs:tps_comp (Results 1 – 1 of 1) sorted by relevance
61 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_set() local69 while (curr_voltage < tps_comp.uV_max) { in comp_threshold_set()70 curr_voltage = tps_comp.vsel_table[index]; in comp_threshold_set()77 if (curr_voltage > tps_comp.uV_max) in comp_threshold_set()81 ret = tps65910->write(tps65910, tps_comp.reg, 1, &val); in comp_threshold_set()88 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_get() local95 ret = tps65910->read(tps65910, tps_comp.reg, 1, &val); in comp_threshold_get()100 return tps_comp.vsel_table[val]; in comp_threshold_get()