Home
last modified time | relevance | path

Searched refs:bst (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/acpi/
Dbattery.c176 struct acpi_battery_status **bst) in acpi_battery_get_status() argument
188 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() local
466 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 …]
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_dvr.c2309 unsigned bst; /* nonzero to set bytestream */ in pcibr_addr_pci_to_xio() local
2321 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()