Searched refs:state_of_charge (Results 1 – 9 of 9) sorted by relevance
30 struct sensor_value voltage, current, state_of_charge, in do_main() local111 &state_of_charge); in do_main()117 printk("State of charge: %d%%\n", state_of_charge.val1); in do_main()
55 uint16_t state_of_charge; member
177 valp->val1 = priv->state_of_charge / 256; in max17055_channel_get()178 valp->val2 = priv->state_of_charge % 256 * 1000000 / 256; in max17055_channel_get()266 ret = max17055_reg_read(dev, REP_SOC, &priv->state_of_charge); in max17055_sample_fetch()
58 uint16_t state_of_charge; member
108 valp->val1 = data->state_of_charge / 256; in max17262_channel_get()109 valp->val2 = data->state_of_charge % 256 * 1000000 / 256; in max17262_channel_get()190 { REP_SOC, &data->state_of_charge }, in max17262_sample_fetch()
65 uint16_t state_of_charge; member
73 val->val1 = data->state_of_charge; in sbs_gauge_channel_get()164 &data->state_of_charge); in sbs_gauge_sample_fetch()
95 uint16_t state_of_charge; member
524 val->val1 = data->state_of_charge; in bq274xx_channel_get()624 &data->state_of_charge); in bq274xx_sample_fetch()