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

Go to the source code of this file.

Macros

#define SEP_DRIVER_POLLING_MODE   0
 
#define SEP_DRIVER_RECONFIG_MESSAGE_AREA   0
 
#define SEP_DRIVER_ARM_DEBUG_MODE   0
 
#define SEP_START_MSG_TOKEN   0x02558808
 
#define SEP_DRIVER_IN_FLAG   0
 
#define SEP_DRIVER_OUT_FLAG   1
 
#define SEP_DRIVER_ENTRIES_PER_TABLE_IN_SEP   31
 
#define SEP_DRIVER_MIN_DATA_SIZE_PER_TABLE   16
 
#define SEP_DRIVER_OWN_LOCK_FLAG   1
 
#define SEP_DRIVER_DISOWN_LOCK_FLAG   0
 
#define SEP_REQUEST_DAEMON_MAPPED   1
 
#define SEP_REQUEST_DAEMON_UNMAPPED   0
 
#define SEP_DEV_NAME   "sep_sec_driver"
 
#define SEP_DEV_SINGLETON   "sep_sec_singleton_driver"
 
#define SEP_DEV_DAEMON   "sep_req_daemon_driver"
 
#define SEP_DRIVER_MIN_MESSAGE_SIZE_IN_BYTES   (5*sizeof(u32))
 
#define SEP_DRIVER_MAX_MESSAGE_SIZE_IN_BYTES   (8 * 1024)
 
#define SEP_DRIVER_MESSAGE_SHARED_AREA_SIZE_IN_BYTES   (8 * 1024)
 
#define SEP_DRIVER_STATIC_AREA_SIZE_IN_BYTES   (4 * 1024)
 
#define SEP_DRIVER_DATA_POOL_SHARED_AREA_SIZE_IN_BYTES   (16 * 1024)
 
#define SYNCHRONIC_DMA_TABLES_AREA_SIZE_BYTES   (1024 * 29)
 
#define SEP_DRIVER_FLOW_DMA_TABLES_AREA_SIZE_IN_BYTES   (1024 * 4)
 
#define SEP_DRIVER_SYSTEM_DATA_MEMORY_SIZE_IN_BYTES   (1024 * 3)
 
#define SEP_DRIVER_PRINTF_OFFSET_IN_BYTES   (5888)
 
#define SEP_DRIVER_TIME_MEMORY_SIZE_IN_BYTES   8
 
#define SEP_DRIVER_SYSTEM_RAR_MEMORY_SIZE_IN_BYTES   8
 
#define SEP_DRIVER_MMMAP_AREA_SIZE   (1024 * 28)
 
#define SEP_DRIVER_MESSAGE_AREA_OFFSET_IN_BYTES   0
 
#define SEP_DRIVER_STATIC_AREA_OFFSET_IN_BYTES   (SEP_DRIVER_MESSAGE_SHARED_AREA_SIZE_IN_BYTES)
 
#define SEP_DRIVER_DATA_POOL_AREA_OFFSET_IN_BYTES
 
#define SYNCHRONIC_DMA_TABLES_AREA_OFFSET_BYTES
 
#define SEP_DRIVER_SYSTEM_DATA_MEMORY_OFFSET_IN_BYTES
 
#define SEP_DRIVER_SYSTEM_TIME_MEMORY_OFFSET_IN_BYTES   (SEP_DRIVER_SYSTEM_DATA_MEMORY_OFFSET_IN_BYTES)
 
#define SEP_DRIVER_SYSTEM_RAR_MEMORY_OFFSET_IN_BYTES
 
#define SEP_CALLER_ID_OFFSET_BYTES
 
#define SEP_DRIVER_SYSTEM_DCB_MEMORY_OFFSET_IN_BYTES
 
#define SEP_DRIVER_SYSTEM_EXT_CACHE_ADDR_OFFSET_IN_BYTES   SEP_DRIVER_SYSTEM_RAR_MEMORY_OFFSET_IN_BYTES
 
#define SEP_DRIVER_DATA_POOL_ALLOCATION_OFFSET_IN_BYTES
 
#define SEP_TIME_VAL_TOKEN   0x12345678
 
#define FAKE_RAR_SIZE   (1024*1024) /* used only for mfld */
 
#define SEP_CALLER_ID_HASH_SIZE_IN_BYTES   32
 
#define SEP_CALLER_ID_HASH_SIZE_IN_WORDS   8
 
#define SEP_CALLER_ID_TABLE_NUM_ENTRIES   20
 
#define SEP_MAX_NUM_SYNC_DMA_OPS   16
 
#define SEP_RAR_VAL_TOKEN   0xABABABAB
 
#define SEP_ALREADY_INITIALIZED_ERR   12
 
#define SEP_TRANSACTION_STARTED_LOCK_BIT   0
 
#define SEP_WORKING_LOCK_BIT   1
 
#define SEP_STATIC_POOL_VAL_TOKEN   0xABBAABBA
 
#define SEP_DATA_POOL_POINTERS_VAL_TOKEN   0xEDDEEDDE
 
#define SEP_EXT_CACHE_ADDR_VAL_TOKEN   0xBABABABA
 
#define WAIT_TIME   10
 
#define SUSPEND_DELAY   10
 
#define SCU_DELAY_MAX   50
 
#define SCU_DELAY_ITERATION   10
 
#define SEP_FASTCALL_WRITE_DONE_OFFSET   0
 
#define SEP_LEGACY_MMAP_DONE_OFFSET   1
 
#define SEP_LEGACY_SENDMSG_DONE_OFFSET   2
 
#define SEP_LEGACY_POLL_DONE_OFFSET   3
 
#define SEP_LEGACY_ENDTRANSACTION_DONE_OFFSET   4
 
#define SEP_DOUBLEBUF_USERS_LIMIT   3
 
#define SEP_FC_MAGIC   0xFFAACCAA
 
#define SEP_ENABLE_RUNTIME_PM
 

Macro Definition Documentation

#define FAKE_RAR_SIZE   (1024*1024) /* used only for mfld */

Definition at line 210 of file sep_driver_config.h.

#define SCU_DELAY_ITERATION   10

Definition at line 258 of file sep_driver_config.h.

#define SCU_DELAY_MAX   50

Definition at line 255 of file sep_driver_config.h.

#define SEP_ALREADY_INITIALIZED_ERR   12

Definition at line 231 of file sep_driver_config.h.

#define SEP_CALLER_ID_HASH_SIZE_IN_BYTES   32

Definition at line 214 of file sep_driver_config.h.

#define SEP_CALLER_ID_HASH_SIZE_IN_WORDS   8

Definition at line 217 of file sep_driver_config.h.

#define SEP_CALLER_ID_OFFSET_BYTES
Value:
SEP_DRIVER_SYSTEM_RAR_MEMORY_SIZE_IN_BYTES)

Definition at line 189 of file sep_driver_config.h.

#define SEP_CALLER_ID_TABLE_NUM_ENTRIES   20

Definition at line 220 of file sep_driver_config.h.

#define SEP_DATA_POOL_POINTERS_VAL_TOKEN   0xEDDEEDDE

Definition at line 243 of file sep_driver_config.h.

#define SEP_DEV_DAEMON   "sep_req_daemon_driver"

Definition at line 107 of file sep_driver_config.h.

#define SEP_DEV_NAME   "sep_sec_driver"

Definition at line 105 of file sep_driver_config.h.

#define SEP_DEV_SINGLETON   "sep_sec_singleton_driver"

Definition at line 106 of file sep_driver_config.h.

#define SEP_DOUBLEBUF_USERS_LIMIT   3

Definition at line 286 of file sep_driver_config.h.

#define SEP_DRIVER_ARM_DEBUG_MODE   0

Definition at line 50 of file sep_driver_config.h.

#define SEP_DRIVER_DATA_POOL_ALLOCATION_OFFSET_IN_BYTES
Value:
SEP_CALLER_ID_HASH_SIZE_IN_BYTES)

Definition at line 203 of file sep_driver_config.h.

#define SEP_DRIVER_DATA_POOL_AREA_OFFSET_IN_BYTES
Value:
SEP_DRIVER_STATIC_AREA_SIZE_IN_BYTES)

Definition at line 165 of file sep_driver_config.h.

#define SEP_DRIVER_DATA_POOL_SHARED_AREA_SIZE_IN_BYTES   (16 * 1024)

Definition at line 129 of file sep_driver_config.h.

#define SEP_DRIVER_DISOWN_LOCK_FLAG   0

Definition at line 76 of file sep_driver_config.h.

#define SEP_DRIVER_ENTRIES_PER_TABLE_IN_SEP   31

Definition at line 65 of file sep_driver_config.h.

#define SEP_DRIVER_FLOW_DMA_TABLES_AREA_SIZE_IN_BYTES   (1024 * 4)

Definition at line 135 of file sep_driver_config.h.

#define SEP_DRIVER_IN_FLAG   0

Definition at line 59 of file sep_driver_config.h.

#define SEP_DRIVER_MAX_MESSAGE_SIZE_IN_BYTES   (8 * 1024)

Definition at line 120 of file sep_driver_config.h.

#define SEP_DRIVER_MESSAGE_AREA_OFFSET_IN_BYTES   0

Definition at line 158 of file sep_driver_config.h.

#define SEP_DRIVER_MESSAGE_SHARED_AREA_SIZE_IN_BYTES   (8 * 1024)

Definition at line 123 of file sep_driver_config.h.

#define SEP_DRIVER_MIN_DATA_SIZE_PER_TABLE   16

Definition at line 68 of file sep_driver_config.h.

#define SEP_DRIVER_MIN_MESSAGE_SIZE_IN_BYTES   (5*sizeof(u32))

Definition at line 114 of file sep_driver_config.h.

#define SEP_DRIVER_MMMAP_AREA_SIZE   (1024 * 28)

Definition at line 151 of file sep_driver_config.h.

#define SEP_DRIVER_OUT_FLAG   1

Definition at line 62 of file sep_driver_config.h.

#define SEP_DRIVER_OWN_LOCK_FLAG   1

Definition at line 72 of file sep_driver_config.h.

#define SEP_DRIVER_POLLING_MODE   0

Definition at line 43 of file sep_driver_config.h.

#define SEP_DRIVER_PRINTF_OFFSET_IN_BYTES   (5888)

Definition at line 141 of file sep_driver_config.h.

#define SEP_DRIVER_RECONFIG_MESSAGE_AREA   0

Definition at line 47 of file sep_driver_config.h.

#define SEP_DRIVER_STATIC_AREA_OFFSET_IN_BYTES   (SEP_DRIVER_MESSAGE_SHARED_AREA_SIZE_IN_BYTES)

Definition at line 161 of file sep_driver_config.h.

#define SEP_DRIVER_STATIC_AREA_SIZE_IN_BYTES   (4 * 1024)

Definition at line 126 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_DATA_MEMORY_OFFSET_IN_BYTES
Value:
SYNCHRONIC_DMA_TABLES_AREA_SIZE_BYTES)

Definition at line 175 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_DATA_MEMORY_SIZE_IN_BYTES   (1024 * 3)

Definition at line 138 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_DCB_MEMORY_OFFSET_IN_BYTES
Value:

Definition at line 194 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_EXT_CACHE_ADDR_OFFSET_IN_BYTES   SEP_DRIVER_SYSTEM_RAR_MEMORY_OFFSET_IN_BYTES

Definition at line 199 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_RAR_MEMORY_OFFSET_IN_BYTES
Value:
SEP_DRIVER_TIME_MEMORY_SIZE_IN_BYTES)

Definition at line 184 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_RAR_MEMORY_SIZE_IN_BYTES   8

Definition at line 147 of file sep_driver_config.h.

#define SEP_DRIVER_SYSTEM_TIME_MEMORY_OFFSET_IN_BYTES   (SEP_DRIVER_SYSTEM_DATA_MEMORY_OFFSET_IN_BYTES)

Definition at line 180 of file sep_driver_config.h.

#define SEP_DRIVER_TIME_MEMORY_SIZE_IN_BYTES   8

Definition at line 144 of file sep_driver_config.h.

#define SEP_ENABLE_RUNTIME_PM

Definition at line 296 of file sep_driver_config.h.

#define SEP_EXT_CACHE_ADDR_VAL_TOKEN   0xBABABABA

Definition at line 246 of file sep_driver_config.h.

#define SEP_FASTCALL_WRITE_DONE_OFFSET   0

Definition at line 267 of file sep_driver_config.h.

#define SEP_FC_MAGIC   0xFFAACCAA

Definition at line 289 of file sep_driver_config.h.

#define SEP_LEGACY_ENDTRANSACTION_DONE_OFFSET   4

Definition at line 279 of file sep_driver_config.h.

#define SEP_LEGACY_MMAP_DONE_OFFSET   1

Definition at line 270 of file sep_driver_config.h.

#define SEP_LEGACY_POLL_DONE_OFFSET   3

Definition at line 276 of file sep_driver_config.h.

#define SEP_LEGACY_SENDMSG_DONE_OFFSET   2

Definition at line 273 of file sep_driver_config.h.

#define SEP_MAX_NUM_SYNC_DMA_OPS   16

Definition at line 224 of file sep_driver_config.h.

#define SEP_RAR_VAL_TOKEN   0xABABABAB

Definition at line 227 of file sep_driver_config.h.

#define SEP_REQUEST_DAEMON_MAPPED   1

Definition at line 79 of file sep_driver_config.h.

#define SEP_REQUEST_DAEMON_UNMAPPED   0

Definition at line 80 of file sep_driver_config.h.

#define SEP_START_MSG_TOKEN   0x02558808

Definition at line 53 of file sep_driver_config.h.

#define SEP_STATIC_POOL_VAL_TOKEN   0xABBAABBA

Definition at line 240 of file sep_driver_config.h.

#define SEP_TIME_VAL_TOKEN   0x12345678

Definition at line 208 of file sep_driver_config.h.

#define SEP_TRANSACTION_STARTED_LOCK_BIT   0

Definition at line 234 of file sep_driver_config.h.

#define SEP_WORKING_LOCK_BIT   1

Definition at line 237 of file sep_driver_config.h.

#define SUSPEND_DELAY   10

Definition at line 252 of file sep_driver_config.h.

#define SYNCHRONIC_DMA_TABLES_AREA_OFFSET_BYTES
Value:
SEP_DRIVER_DATA_POOL_SHARED_AREA_SIZE_IN_BYTES)

Definition at line 170 of file sep_driver_config.h.

#define SYNCHRONIC_DMA_TABLES_AREA_SIZE_BYTES   (1024 * 29)

Definition at line 132 of file sep_driver_config.h.

#define WAIT_TIME   10

Definition at line 249 of file sep_driver_config.h.