2 * Copyright (C) 2014-2015 Spreadtrum Communications Inc.
\r
4 * This file is dual-licensed: you can use it either under the terms
\r
5 * of the GPL or the X11 license, at your option. Note that this dual
\r
6 * licensing only applies to this file, and not this project as a
\r
11 //#ifndef __SCI_GLB_REGS_H__
\r
12 //#error "Don't include this file directly, Pls include sci_glb_regs.h"
\r
16 #ifndef __H_REGS_GPU_APB_RF_HEADFILE_H__
\r
17 #define __H_REGS_GPU_APB_RF_HEADFILE_H__ __FILE__
\r
19 #define REGS_GPU_APB_RF
\r
21 /* registers definitions for GPU_APB_RF */
\r
22 #define REG_GPU_APB_RF_APB_RST SCI_ADDR(REGS_GPU_APB_RF_BASE, 0x0000)
\r
23 #define REG_GPU_APB_RF_APB_CLK_CTRL SCI_ADDR(REGS_GPU_APB_RF_BASE, 0x0004)
\r
27 /* bits definitions for register REG_GPU_APB_RF_APB_RST */
\r
28 #define BIT_GPU_SOFT_RST ( BIT(0) )
\r
30 /* bits definitions for register REG_GPU_APB_RF_APB_CLK_CTRL */
\r
31 #define BITS_CLK_GPU_DIV(_X_) ( (_X_) << 4 & (BIT(4)|BIT(5)) )
\r
32 #define BITS_CLK_GPU_SEL(_X_) ( (_X_) & (BIT(0)|BIT(1)|BIT(2)) )
\r