Searched refs:VOLTAGE_CURRENT_MASK (Results 1 – 1 of 1) sorted by relevance
41 #define VOLTAGE_CURRENT_MASK GENMASK(13, 0) macro160 *val = (FIELD_GET(VOLTAGE_CURRENT_MASK, raw_val) * VOLTAGE_LSB) / 1000; in tps23861_read_voltage()185 *val = (FIELD_GET(VOLTAGE_CURRENT_MASK, raw_val) * current_lsb) / 1000000; in tps23861_read_current()