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

Go to the source code of this file.

Macros

#define SLUT_FINGERPRINT   0xD397
 
#define UNIFI_LOADER_IDLE   0x00
 
#define UNIFI_LOADER_COPY   0x01
 
#define UNIFI_LOADER_ERROR_MASK   0xF0
 
#define UNIFI_BOOT_LOADER_IDLE   0x00
 
#define UNIFI_BOOT_LOADER_RESTART   0x01
 
#define UNIFI_BOOT_LOADER_PATCH   0x02
 
#define UNIFI_BOOT_LOADER_LOAD_STA   0x10
 
#define UNIFI_BOOT_LOADER_LOAD_PTEST   0x11
 
#define UNIFI_SH_DMEM   0x01 /* Shared Data Memory */
 
#define UNIFI_EXT_FLASH   0x02 /* External FLASH */
 
#define UNIFI_EXT_SRAM   0x03 /* External SRAM */
 
#define UNIFI_REGISTERS   0x04 /* Registers */
 
#define UNIFI_PHY_DMEM   0x10 /* PHY Data Memory */
 
#define UNIFI_PHY_PMEM   0x11 /* PHY Program Memory */
 
#define UNIFI_PHY_ROM   0x12 /* PHY ROM */
 
#define UNIFI_MAC_DMEM   0x20 /* MAC Data Memory */
 
#define UNIFI_MAC_PMEM   0x21 /* MAC Program Memory */
 
#define UNIFI_MAC_ROM   0x22 /* MAC ROM */
 
#define UNIFI_BT_DMEM   0x30 /* BT Data Memory */
 
#define UNIFI_BT_PMEM   0x31 /* BT Program Memory */
 
#define UNIFI_BT_ROM   0x32 /* BT ROM */
 
#define UNIFI_MAKE_GP(R, O)   (((UNIFI_ ## R) << 24) | (O))
 
#define UNIFI_GP_OFFSET(GP)   ((GP) & 0xFFFFFF)
 
#define UNIFI_GP_SPACE(GP)   (((GP) >> 24) & 0xFF)
 

Macro Definition Documentation

#define SLUT_FINGERPRINT   0xD397

Definition at line 28 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BOOT_LOADER_IDLE   0x00

Definition at line 37 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BOOT_LOADER_LOAD_PTEST   0x11

Definition at line 41 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BOOT_LOADER_LOAD_STA   0x10

Definition at line 40 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BOOT_LOADER_PATCH   0x02

Definition at line 39 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BOOT_LOADER_RESTART   0x01

Definition at line 38 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BT_DMEM   0x30 /* BT Data Memory */

Definition at line 55 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BT_PMEM   0x31 /* BT Program Memory */

Definition at line 56 of file csr_wifi_hip_unifihw.h.

#define UNIFI_BT_ROM   0x32 /* BT ROM */

Definition at line 57 of file csr_wifi_hip_unifihw.h.

#define UNIFI_EXT_FLASH   0x02 /* External FLASH */

Definition at line 46 of file csr_wifi_hip_unifihw.h.

#define UNIFI_EXT_SRAM   0x03 /* External SRAM */

Definition at line 47 of file csr_wifi_hip_unifihw.h.

#define UNIFI_GP_OFFSET (   GP)    ((GP) & 0xFFFFFF)

Definition at line 60 of file csr_wifi_hip_unifihw.h.

#define UNIFI_GP_SPACE (   GP)    (((GP) >> 24) & 0xFF)

Definition at line 61 of file csr_wifi_hip_unifihw.h.

#define UNIFI_LOADER_COPY   0x01

Definition at line 33 of file csr_wifi_hip_unifihw.h.

#define UNIFI_LOADER_ERROR_MASK   0xF0

Definition at line 34 of file csr_wifi_hip_unifihw.h.

#define UNIFI_LOADER_IDLE   0x00

Definition at line 32 of file csr_wifi_hip_unifihw.h.

#define UNIFI_MAC_DMEM   0x20 /* MAC Data Memory */

Definition at line 52 of file csr_wifi_hip_unifihw.h.

#define UNIFI_MAC_PMEM   0x21 /* MAC Program Memory */

Definition at line 53 of file csr_wifi_hip_unifihw.h.

#define UNIFI_MAC_ROM   0x22 /* MAC ROM */

Definition at line 54 of file csr_wifi_hip_unifihw.h.

#define UNIFI_MAKE_GP (   R,
 
)    (((UNIFI_ ## R) << 24) | (O))

Definition at line 59 of file csr_wifi_hip_unifihw.h.

#define UNIFI_PHY_DMEM   0x10 /* PHY Data Memory */

Definition at line 49 of file csr_wifi_hip_unifihw.h.

#define UNIFI_PHY_PMEM   0x11 /* PHY Program Memory */

Definition at line 50 of file csr_wifi_hip_unifihw.h.

#define UNIFI_PHY_ROM   0x12 /* PHY ROM */

Definition at line 51 of file csr_wifi_hip_unifihw.h.

#define UNIFI_REGISTERS   0x04 /* Registers */

Definition at line 48 of file csr_wifi_hip_unifihw.h.

#define UNIFI_SH_DMEM   0x01 /* Shared Data Memory */

Definition at line 45 of file csr_wifi_hip_unifihw.h.