/device/generic/goldfish/power/ |
H A D | power_qemu.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 static void power_qemu_set_interactive(struct power_module *module, int on) argument 40 r = qemud_channel_send(qemud_fd, on ? "power:screen_state:wake"
|
/device/asus/fugu/power/ |
H A D | power.c | 12 * distributed under the License is distributed on an "AS IS" BASIS, 111 ALOGI("init done: will boost CPU to %skHz for %dus on input events", 115 static void fugu_power_set_interactive(struct power_module *module, int on) argument 119 ALOGI("setInteractive: on=%d", on); 121 (void) on; /* unused */
|
/device/moto/shamu/power/ |
H A D | power_shamu.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 173 static void low_power(int on) argument 186 if (on) { 203 int on = (long) data; local 209 low_power(on); 212 static void power_set_interactive(__attribute__((unused)) struct power_module *module, int on) argument 215 last_state = on; 217 if (last_state == on) 220 last_state = on; 223 ALOGV("%s %s", __func__, (on [all...] |
/device/asus/flo/power/ |
H A D | power_flo.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 321 static void power_set_interactive(__attribute__((unused)) struct power_module *module, int on) argument 324 last_state = on; 326 if (last_state == on) 329 last_state = on; 332 ALOGV("%s %s", __func__, (on ? "ON" : "OFF")); 333 if (on) {
|
/device/asus/grouper/power/ |
H A D | power.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 203 __attribute__((unused)) int on) 205 if (on) { 202 grouper_power_set_interactive(__attribute__((unused)) struct power_module *module, __attribute__((unused)) int on) argument
|
/device/htc/flounder/power/ |
H A D | power_flounder.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 117 static void power_set_interactive(struct power_module __unused *module, int on) argument 119 ALOGV("power_set_interactive: %d\n", on); 125 (!on || low_power_mode) ? low_power_max_cpu_freq : max_cpu_freq); 126 sysfs_write(IO_IS_BUSY_PATH, on ? "1" : "0"); 127 sysfs_write(FACEDOWN_PATH, on ? "0" : "1"); 128 sysfs_write(TOUCH_SYNA_INTERACTIVE_PATH, on ? "1" : "0"); 129 ALOGV("power_set_interactive: %d done\n", on);
|
/device/lge/hammerhead/liblight/ |
H A D | lights.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 80 static int write_on_off(char const* path, int on, int off) argument 88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off);
|
/device/lge/hammerhead/power/ |
H A D | power_hammerhead.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 321 static void power_set_interactive(__attribute__((unused)) struct power_module *module, int on) argument 324 last_state = on; 326 if (last_state == on) 329 last_state = on; 332 ALOGV("%s %s", __func__, (on ? "ON" : "OFF")); 333 if (on) {
|
/device/lge/mako/power/ |
H A D | power_mako.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 321 static void power_set_interactive(__attribute__((unused)) struct power_module *module, int on) argument 324 last_state = on; 326 if (last_state == on) 329 last_state = on; 332 ALOGV("%s %s", __func__, (on ? "ON" : "OFF")); 333 if (on) {
|
/device/samsung/manta/power/ |
H A D | power_manta.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 142 static void power_set_interactive(struct power_module *module, int on) argument 148 ALOGV("power_set_interactive: %d\n", on); 155 (!on || low_power_mode) ? LOW_POWER_MAX_FREQ : NORMAL_MAX_FREQ); 157 sysfs_write(manta->touchscreen_power_path, on ? "Y" : "N"); 159 ALOGV("power_set_interactive: %d done\n", on);
|