Home
last modified time | relevance | path

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

/device/google/dragon/power/
Dpower_dragon.cpp61 int boostpulse_fd; member
172 if (dragon->boostpulse_fd < 0) { in boostpulse_open()
173 dragon->boostpulse_fd = open(BOOSTPULSE_PATH, O_WRONLY); in boostpulse_open()
175 if (dragon->boostpulse_fd < 0) { in boostpulse_open()
185 return dragon->boostpulse_fd; in boostpulse_open()
199 len = write(dragon->boostpulse_fd, "1", 1); in dragon_power_hint()
253 dev->boostpulse_fd = -1; in dragon_power_open()
294 boostpulse_fd: -1,
/device/linaro/hikey/power/
Dpower_hikey.c56 int boostpulse_fd; member
167 if (hikey->boostpulse_fd < 0) in interactive_boostpulse()
168 hikey->boostpulse_fd = open(INTERACTIVE_BOOSTPULSE_PATH, O_WRONLY); in interactive_boostpulse()
170 if (hikey->boostpulse_fd < 0) { in interactive_boostpulse()
177 return hikey->boostpulse_fd; in interactive_boostpulse()
180 len = write(hikey->boostpulse_fd, "1", 1); in interactive_boostpulse()
386 .boostpulse_fd = -1,