Home | History | Annotate | Download | only in power

Lines Matching refs:flounder

132 static int boostpulse_open(struct flounder_power_module *flounder)
138 pthread_mutex_lock(&flounder->lock);
140 if (flounder->boostpulse_fd < 0) {
141 flounder->boostpulse_fd = open(BOOSTPULSE_PATH, O_WRONLY);
143 if (flounder->boostpulse_fd < 0) {
144 if (!flounder->boostpulse_warned) {
147 flounder->boostpulse_warned = 1;
168 pthread_mutex_unlock(&flounder->lock);
169 return flounder->boostpulse_fd;
174 struct flounder_power_module *flounder =
178 pthread_mutex_lock(&flounder->lock);
180 pthread_mutex_unlock(&flounder->lock);
191 struct flounder_power_module *flounder =
198 if (boostpulse_open(flounder) >= 0) {
199 len = write(flounder->boostpulse_fd, "1", 1);
213 pthread_mutex_lock(&flounder->lock);
220 pthread_mutex_unlock(&flounder->lock);
239 name: "Flounder Power HAL",