Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
rtl8712_gp_bitdef.h File Reference

Go to the source code of this file.

Macros

#define _GPIO_MOD_MSK   0xFF000000
 
#define _GPIO_MOD_SHT   24
 
#define _GPIO_IO_SEL_MSK   0x00FF0000
 
#define _GPIO_IO_SEL_SHT   16
 
#define _GPIO_OUT_MSK   0x0000FF00
 
#define _GPIO_OUT_SHT   8
 
#define _GPIO_IN_MSK   0x000000FF
 
#define _GPIO_IN_SHT   0
 
#define _GPIOSEL_MSK   0x0003
 
#define _GPIOSEL_SHT   0
 
#define _LED1SV   BIT(7)
 
#define _LED1CM_MSK   0x0070
 
#define _LED1CM_SHT   4
 
#define _LED0SV   BIT(3)
 
#define _LED0CM_MSK   0x0007
 
#define _LED0CM_SHT   0
 
#define _HST_RDRDY_SHT   0
 
#define _HST_RDRDY_MSK   0xFF
 
#define _HST_RDRDY   BIT(_HST_RDRDY_SHT)
 
#define _CPU_WTBUSY_SHT   1
 
#define _CPU_WTBUSY_MSK   0xFF
 
#define _CPU_WTBUSY   BIT(_CPU_WTBUSY_SHT)
 
#define GPIOMUX_EN
 
#define GPIOSEL_GPIO   0 /* UART or JTAG or pure GPIO*/
 
#define GPIOSEL_PHYDBG   1 /* PHYDBG*/
 
#define GPIOSEL_BT   2 /* BT_coex*/
 
#define GPIOSEL_WLANDBG   3 /* WLANDBG*/
 
#define GPIOSEL_GPIO_MASK   (~(BIT(0)|BIT(1)))
 
#define HAL_8192S_HW_GPIO_OFF_BIT   BIT(3)
 
#define HAL_8192S_HW_GPIO_OFF_MASK   0xF7
 
#define HAL_8192S_HW_GPIO_WPS_BIT   BIT(4)
 

Macro Definition Documentation

#define _CPU_WTBUSY   BIT(_CPU_WTBUSY_SHT)

Definition at line 57 of file rtl8712_gp_bitdef.h.

#define _CPU_WTBUSY_MSK   0xFF

Definition at line 56 of file rtl8712_gp_bitdef.h.

#define _CPU_WTBUSY_SHT   1

Definition at line 55 of file rtl8712_gp_bitdef.h.

#define _GPIO_IN_MSK   0x000000FF

Definition at line 36 of file rtl8712_gp_bitdef.h.

#define _GPIO_IN_SHT   0

Definition at line 37 of file rtl8712_gp_bitdef.h.

#define _GPIO_IO_SEL_MSK   0x00FF0000

Definition at line 32 of file rtl8712_gp_bitdef.h.

#define _GPIO_IO_SEL_SHT   16

Definition at line 33 of file rtl8712_gp_bitdef.h.

#define _GPIO_MOD_MSK   0xFF000000

Definition at line 30 of file rtl8712_gp_bitdef.h.

#define _GPIO_MOD_SHT   24

Definition at line 31 of file rtl8712_gp_bitdef.h.

#define _GPIO_OUT_MSK   0x0000FF00

Definition at line 34 of file rtl8712_gp_bitdef.h.

#define _GPIO_OUT_SHT   8

Definition at line 35 of file rtl8712_gp_bitdef.h.

#define _GPIOSEL_MSK   0x0003

Definition at line 40 of file rtl8712_gp_bitdef.h.

#define _GPIOSEL_SHT   0

Definition at line 41 of file rtl8712_gp_bitdef.h.

#define _HST_RDRDY   BIT(_HST_RDRDY_SHT)

Definition at line 54 of file rtl8712_gp_bitdef.h.

#define _HST_RDRDY_MSK   0xFF

Definition at line 53 of file rtl8712_gp_bitdef.h.

#define _HST_RDRDY_SHT   0

Definition at line 52 of file rtl8712_gp_bitdef.h.

#define _LED0CM_MSK   0x0007

Definition at line 48 of file rtl8712_gp_bitdef.h.

#define _LED0CM_SHT   0

Definition at line 49 of file rtl8712_gp_bitdef.h.

#define _LED0SV   BIT(3)

Definition at line 47 of file rtl8712_gp_bitdef.h.

#define _LED1CM_MSK   0x0070

Definition at line 45 of file rtl8712_gp_bitdef.h.

#define _LED1CM_SHT   4

Definition at line 46 of file rtl8712_gp_bitdef.h.

#define _LED1SV   BIT(7)

Definition at line 44 of file rtl8712_gp_bitdef.h.

#define GPIOMUX_EN
Value:
BIT(3) /* When this bit is set to "1",
* GPIO PINs will switch to MAC
* GPIO Function*/

Definition at line 65 of file rtl8712_gp_bitdef.h.

#define GPIOSEL_BT   2 /* BT_coex*/

Definition at line 68 of file rtl8712_gp_bitdef.h.

#define GPIOSEL_GPIO   0 /* UART or JTAG or pure GPIO*/

Definition at line 66 of file rtl8712_gp_bitdef.h.

#define GPIOSEL_GPIO_MASK   (~(BIT(0)|BIT(1)))

Definition at line 70 of file rtl8712_gp_bitdef.h.

#define GPIOSEL_PHYDBG   1 /* PHYDBG*/

Definition at line 67 of file rtl8712_gp_bitdef.h.

#define GPIOSEL_WLANDBG   3 /* WLANDBG*/

Definition at line 69 of file rtl8712_gp_bitdef.h.

#define HAL_8192S_HW_GPIO_OFF_BIT   BIT(3)

Definition at line 72 of file rtl8712_gp_bitdef.h.

#define HAL_8192S_HW_GPIO_OFF_MASK   0xF7

Definition at line 73 of file rtl8712_gp_bitdef.h.

#define HAL_8192S_HW_GPIO_WPS_BIT   BIT(4)

Definition at line 74 of file rtl8712_gp_bitdef.h.