Lines Matching refs:bix
66 struct bix {
109 struct bix bix;
184 static const struct bix default_bix = {
207 static int mshw0011_bix(struct mshw0011_data *cdata, struct bix *bix)
213 *bix = default_bix;
223 bix->design_capacity = ret;
233 bix->last_full_charg_capacity = ret;
248 snprintf(bix->serial, ARRAY_SIZE(bix->serial), "%3pE%6pE", buf + 7, buf);
257 bix->cycle_count = ret;
266 snprintf(bix->OEM, ARRAY_SIZE(bix->OEM), "%3pE", buf);
313 struct bix bix;
339 ret = mshw0011_bix(cdata, &bix);
343 if (bix.last_full_charg_capacity != cdata->full_capacity)
347 cdata->full_capacity = bix.last_full_charg_capacity;
424 ret = mshw0011_bix(cdata, &gsb->bix);