![]() |
![]() |
Go to the source code of this file.
Typedefs | |
typedef void(*) | LPM_ExtPwrFxn (void *arg) |
Function typedef of the functions which control the external power supply. | |
Functions | |
int | lpm_regExtOffFxn (char *device, LPM_ExtPwrFxn fxn, void *arg) |
Register an external power off function. | |
int | lpm_regExtOnFxn (char *device, LPM_ExtPwrFxn fxn, void *arg) |
Register an external power on function. |
typedef void(*) LPM_ExtPwrFxn(void *arg) |
Function typedef of the functions which control the external power supply.
int lpm_regExtOffFxn | ( | char * | device, | |
LPM_ExtPwrFxn | fxn, | |||
void * | arg | |||
) |
Register an external power off function.
[in] | device | Linux device name. |
[in] | fxn | A function address which will turn off the external power supply to the DSP Power Domain. |
[in] | arg | An argument passed to the callback function. |
0 | The function was successfully registered. | |
-1 | The given device name was not found. |
int lpm_regExtOnFxn | ( | char * | device, | |
LPM_ExtPwrFxn | fxn, | |||
void * | arg | |||
) |
Register an external power on function.
[in] | device | Linux device name. |
[in] | fxn | A function address which will turn off the external power supply to the DSP Power Domain. |
[in] | arg | An argument passed to the callback function. |
0 | The function was successfully registered. | |
-1 | The given device name was not found. |