Lines Matching defs:bix
49 struct acpi_bix bix;
419 acpi_smbat_get_bix(device_t dev, void *bix, size_t len)
442 sc->bix.rev = ACPI_BIX_REV_BIF;
448 sc->bix.units = ACPI_BIX_UNITS_MW;
451 sc->bix.units = ACPI_BIX_UNITS_MA;
456 sc->bix.dcap = val * factor;
460 sc->bix.lfcap = val * factor;
461 sc->bix.btech = 1; /* secondary (rechargeable) */
465 sc->bix.dvol = val;
467 sc->bix.wcap = sc->bix.dcap / 10;
468 sc->bix.lcap = sc->bix.dcap / 10;
470 sc->bix.gra1 = factor; /* not supported */
471 sc->bix.gra2 = factor; /* not supported */
474 sc->bix.model, sizeof(sc->bix.model)))
479 snprintf(sc->bix.serial, sizeof(sc->bix.serial), "0x%04x", val);
482 sc->bix.type, sizeof(sc->bix.type)))
486 sc->bix.oeminfo, sizeof(sc->bix.oeminfo)))
496 memcpy(bix, &sc->bix, len);