Searched refs:tps_comp (Results 1 – 1 of 1) sorted by relevance
55 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_set() local60 while (curr_voltage < tps_comp.uV_max) { in comp_threshold_set()61 curr_voltage = tps_comp.vsel_table[index]; in comp_threshold_set()68 if (curr_voltage > tps_comp.uV_max) in comp_threshold_set()72 ret = tps65910_reg_write(tps65910, tps_comp.reg, val); in comp_threshold_set()79 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_get() local83 ret = tps65910_reg_read(tps65910, tps_comp.reg, &val); in comp_threshold_get()88 return tps_comp.vsel_table[val]; in comp_threshold_get()