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

39 lines
1.2 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_key.h
* By : kevin.z
* Version : v1.0
* Date : 2011-5-31 15:16
* Descript:
* Update : date auther ver notes
*********************************************************************************************************
*/
#ifndef __MEM_KEY_H__
#define __MEM_KEY_H__
//define key controller registers
typedef struct __MEM_KEY_REG
{
// offset:0x00
volatile __u32 Lradc_Ctrl;
volatile __u32 Lradc_Intc;
volatile __u32 Lradc_Ints;
volatile __u32 Lradc_Data0;
volatile __u32 Lradc_Data1;
} __mem_key_reg_t;
extern __s32 mem_key_init(void);
extern __s32 mem_key_exit(void);
extern __s32 mem_query_key(void);
#endif /* __MEM_KEY_H__ */