Searched defs:POWER_OPEN (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/PC/
H A DDrvACPI.cpp552 #define POWER_OPEN(s, n) RTStrmOpenF("r", s, "/sys/class/power_supply/%s/" n, DirEntry.szName) macro
553 rc = POWER_OPEN(&pStrmType, "type");
562 rc = POWER_OPEN(&pStrmStatus, "online");
577 rc = POWER_OPEN(&pStrmStatus, "present");
600 rc = POWER_OPEN(&pStrmStatus, "capacity_level");
609 rc = POWER_OPEN(&pStrmStatus, "energy_full");
611 rc = POWER_OPEN(&pStrmStatus, "charge_full");
625 rc = POWER_OPEN(&pStrmStatus, "energy_now");
627 rc = POWER_OPEN(&pStrmStatus, "charge_now");
641 rc = POWER_OPEN(
665 #undef POWER_OPEN macro
680 #define POWER_OPEN macro
714 #undef POWER_OPEN macro
723 #define POWER_OPEN macro
850 #undef POWER_OPEN macro
[all...]

Completed in 44 milliseconds