OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/mem_ir.c
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

96 lines
2.6 KiB
C
Executable File

/*
*********************************************************************************************************
* LINUX-KERNEL
* AllWinner Linux Platform Develop Kits
* Kernel Module
*
* (c) Copyright 2006-2011, kevin.z China
* All Rights Reserved
*
* File : mem_ir.c
* By : kevin.z
* Version : v1.0
* Date : 2011-5-31 14:36
* Descript:
* Update : date auther ver notes
*********************************************************************************************************
*/
#include "pm_i.h"
/*
*********************************************************************************************************
* INIT IR FOR MEM
*
*Description: init ir for mem;
*
*Arguments : none
*
*Return : result;
* EPDK_OK, init ir successed;
* EPDK_FAIL, init ir failed;
*********************************************************************************************************
*/
__s32 mem_ir_init(void)
{
return 0;
}
/*
*********************************************************************************************************
* EXIT IR FOR MEM
*
*Description: exit ir for mem;
*
*Arguments : none;
*
*Return : result.
* EPDK_OK, exit ir successed;
* EPDK_FAIL, exit ir failed;
*********************************************************************************************************
*/
__s32 mem_ir_exit(void)
{
return 0;
}
/*
*********************************************************************************************************
* DETECT IR FOR MEM
*
*Description: detect ir for mem;
*
*Arguments : none
*
*Return : result;
* EPDK_OK, receive some signal;
* EPDK_FAIL, no signal;
*********************************************************************************************************
*/
__s32 mem_ir_detect(void)
{
return 0;
}
/*
*********************************************************************************************************
* VERIFY IR SIGNAL FOR MEM
*
*Description: verify ir signal for mem;
*
*Arguments : none
*
*Return : result;
* EPDK_OK, valid ir signal;
* EPDK_FAIL, invalid ir signal;
*********************************************************************************************************
*/
__s32 mem_ir_verify(void)
{
return -1;
}