Searched refs:time_to_empty (Results 1 – 7 of 7) sorted by relevance
39 uint16_t time_to_empty; member185 val->runtime_to_empty = data->time_to_empty; in max17048_get_single_prop_impl()257 data->time_to_empty = 0; in max17048_get_prop()263 data->time_to_empty = hours_pending * 60 / 1000; in max17048_get_prop()274 data->time_to_empty = 0; in max17048_get_prop()
93 val->val1 = data->time_to_empty; in sbs_gauge_channel_get()209 &data->time_to_empty); in sbs_gauge_sample_fetch()210 data->time_to_empty = (data->time_to_empty) & 0x00FF; in sbs_gauge_sample_fetch()
71 uint16_t time_to_empty; member
63 uint16_t time_to_empty; member
193 if (priv->time_to_empty == 0xffff) { in max17055_channel_get()198 tmp = priv->time_to_empty * 5625 / 60; in max17055_channel_get()294 ret = max17055_reg_read(dev, TTE, &priv->time_to_empty); in max17055_sample_fetch()
66 uint16_t time_to_empty; member
123 if (data->time_to_empty == 0xffff) { in max17262_channel_get()127 tmp = data->time_to_empty * TIME_MULTIPLIER_MS; in max17262_channel_get()194 { TTE, &data->time_to_empty }, in max17262_sample_fetch()