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