Lines Matching refs:bix
66 struct bix { struct
109 struct bix bix; member
185 static const struct bix default_bix = {
208 static int mshw0011_bix(struct mshw0011_data *cdata, struct bix *bix) in mshw0011_bix() argument
214 *bix = default_bix; in mshw0011_bix()
224 bix->design_capacity = ret; in mshw0011_bix()
234 bix->last_full_charg_capacity = ret; in mshw0011_bix()
249 snprintf(bix->serial, ARRAY_SIZE(bix->serial), "%3pE%6pE", buf + 7, buf); in mshw0011_bix()
258 bix->cycle_count = ret; in mshw0011_bix()
267 snprintf(bix->OEM, ARRAY_SIZE(bix->OEM), "%3pE", buf); in mshw0011_bix()
314 struct bix bix; in mshw0011_isr() local
340 ret = mshw0011_bix(cdata, &bix); in mshw0011_isr()
344 if (bix.last_full_charg_capacity != cdata->full_capacity) in mshw0011_isr()
348 cdata->full_capacity = bix.last_full_charg_capacity; in mshw0011_isr()
431 ret = mshw0011_bix(cdata, &gsb->bix); in mshw0011_space_handler()