Lines Matching defs:bst
292 acpi_bst_t bst;
298 bzero(&bst, sizeof (bst));
299 if (ioctl(fd, ACPI_DRV_IOC_STATUS, &bst) < 0) {
303 charging = bst.bst_state & ACPI_DRV_BST_CHARGING ? TRUE : FALSE;
304 discharging = bst.bst_state & ACPI_DRV_BST_DISCHARGING ? TRUE : FALSE;
327 reporting_current = bst.bst_rem_cap;
329 bst.bst_rem_cap, &error);
331 reporting_rate = bst.bst_rate;
333 bst.bst_rate, &error);
335 present_voltage = bst.bst_voltage;
337 bst.bst_voltage, &error);
561 acpi_bst_t bst;
572 bzero(&bst, sizeof (bst));
573 if (ioctl(fd, ACPI_DRV_IOC_STATUS, &bst) < 0) {