Home | History | Annotate | Download | only in power

Lines Matching refs:manta

63 static void init_touchscreen_power_path(struct manta_power_module *manta)
89 manta->touchscreen_power_path = path;
100 struct manta_power_module *manta = (struct manta_power_module *) module;
121 init_touchscreen_power_path(manta);
126 struct manta_power_module *manta = (struct manta_power_module *) module;
139 sysfs_write(manta->touchscreen_power_path, on ? "Y" : "N");
144 static int boostpulse_open(struct manta_power_module *manta)
148 pthread_mutex_lock(&manta->lock);
150 if (manta->boostpulse_fd < 0) {
151 manta->boostpulse_fd = open(BOOSTPULSE_PATH, O_WRONLY);
153 if (manta->boostpulse_fd < 0) {
154 if (!manta->boostpulse_warned) {
157 manta->boostpulse_warned = 1;
162 pthread_mutex_unlock(&manta->lock);
163 return manta->boostpulse_fd;
169 struct manta_power_module *manta = (struct manta_power_module *) module;
175 if (boostpulse_open(manta) >= 0) {
176 len = write(manta->boostpulse_fd, "1", 1);
205 name: "Manta Power HAL",