Searched refs:bst (Results 1 – 2 of 2) sorted by relevance
176 struct acpi_battery_status **bst) in acpi_battery_get_status() argument188 if (!battery || !bst) in acpi_battery_get_status()229 (*bst) = (struct acpi_battery_status *) data.pointer; in acpi_battery_get_status()443 struct acpi_battery_status *bst = NULL; in acpi_battery_read_state() local466 result = acpi_battery_get_status(battery, &bst); in acpi_battery_read_state()467 if (result || !bst) { in acpi_battery_read_state()472 if (!(bst->state & 0x04)) in acpi_battery_read_state()477 if ((bst->state & 0x01) && (bst->state & 0x02)){ in acpi_battery_read_state()482 else if (bst->state & 0x01) in acpi_battery_read_state()484 else if (bst->state & 0x02) in acpi_battery_read_state()[all …]
2309 unsigned bst; /* nonzero to set bytestream */ in pcibr_addr_pci_to_xio() local2321 bst = flags & PCIIO_BYTE_STREAM; in pcibr_addr_pci_to_xio()2323 bfn = bst ? PCIIO_BYTE_STREAM : PCIIO_WORD_VALUES; in pcibr_addr_pci_to_xio()2345 nctl = bst ? octl | (uint64_t)swb : octl & ((uint64_t)~swb); in pcibr_addr_pci_to_xio()