#include <config.h>
#include <liberipc/eripc.h>
#include <liberipc/eripcpowermgr.h>
#include "powerManager.h"
Go to the source code of this file.
Functions | |
int | power_init () |
void | power_cpu_full () |
void | power_cpu_half () |
void | power_cpu_idle () |
Variables | |
static erClientChannel_t | powerChannel |
<File description>="">
Interaction of contentLister with the powerManager simple implementation is used at the moment
Definition in file powerManager.c.
void power_cpu_full | ( | ) |
Definition at line 51 of file powerManager.c.
00052 { 00053 pwrGotoIdleMode(powerChannel, CPU_FULL_SPEED_FREQUENCY, CPU_FULL_SPEED_TIMEOUT); 00054 }
void power_cpu_half | ( | ) |
Definition at line 56 of file powerManager.c.
00057 { 00058 pwrGotoIdleMode(powerChannel, CPU_HALF_SPEED_FREQUENCY, CPU_HALF_SPEED_TIMEOUT); 00059 }
void power_cpu_idle | ( | ) |
Definition at line 61 of file powerManager.c.
00062 { 00063 pwrGotoIdleMode(powerChannel, CPU_IDLE_SPEED_FREQUENCY, CPU_IDLE_SPEED_TIMEOUT); 00064 }
int power_init | ( | ) |
Definition at line 46 of file powerManager.c.
00047 { 00048 return erIpcStartClient(ER_POWERMGR_CHANNEL, &powerChannel); 00049 }
erClientChannel_t powerChannel [static] |
Definition at line 44 of file powerManager.c.