Searched refs:current_shift (Results 1 – 1 of 1) sorted by relevance
144 int current_shift; member170 .current_shift = 0,184 .current_shift = 0,198 .current_shift = 4,212 .current_shift = 0,225 .current_shift = 0,239 .current_shift = 0,306 val64 = (s64)((s16)regval >> data->config->current_shift) * in ina2xx_get_value()422 limit = SHRT_MAX >> data->config->current_shift; in ina226_alert_to_reg()423 return (u16)(min_t(long, val, limit) << data->config->current_shift); in ina226_alert_to_reg()