Searched refs:crate (Results 1 – 1 of 1) sorted by relevance
211 int16_t crate; in max17048_get_prop() local229 rc = max17048_crate(dev, &crate); in max17048_get_prop()235 if (crate != 0) { in max17048_get_prop()241 data->charging = crate > 0; in max17048_get_prop()255 uint32_t hours_pending = percentage_pending * 1000000 / crate; in max17048_get_prop()261 uint32_t hours_pending = data->charge * 1000000 / -crate; in max17048_get_prop()