RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
L2C Control register (L2CC)

This group contains register bit definitions. More...

Macros

#define L2CACHE_L2CC_EN   0x80000000U
 
#define L2CACHE_L2CC_EDAC   0x40000000U
 
#define L2CACHE_L2CC_REPL_SHIFT   28
 
#define L2CACHE_L2CC_REPL_MASK   0x30000000U
 
#define L2CACHE_L2CC_REPL_GET(_reg)
 
#define L2CACHE_L2CC_REPL_SET(_reg, _val)
 
#define L2CACHE_L2CC_REPL(_val)
 
#define L2CACHE_L2CC_BBS_SHIFT   16
 
#define L2CACHE_L2CC_BBS_MASK   0x70000U
 
#define L2CACHE_L2CC_BBS_GET(_reg)
 
#define L2CACHE_L2CC_BBS_SET(_reg, _val)
 
#define L2CACHE_L2CC_BBS(_val)
 
#define L2CACHE_L2CC_INDEX_WAY_SHIFT   12
 
#define L2CACHE_L2CC_INDEX_WAY_MASK   0xf000U
 
#define L2CACHE_L2CC_INDEX_WAY_GET(_reg)
 
#define L2CACHE_L2CC_INDEX_WAY_SET(_reg, _val)
 
#define L2CACHE_L2CC_INDEX_WAY(_val)
 
#define L2CACHE_L2CC_LOCK_SHIFT   8
 
#define L2CACHE_L2CC_LOCK_MASK   0xf00U
 
#define L2CACHE_L2CC_LOCK_GET(_reg)
 
#define L2CACHE_L2CC_LOCK_SET(_reg, _val)
 
#define L2CACHE_L2CC_LOCK(_val)
 
#define L2CACHE_L2CC_HPRHB   0x20U
 
#define L2CACHE_L2CC_HPB   0x10U
 
#define L2CACHE_L2CC_UC   0x8U
 
#define L2CACHE_L2CC_HC   0x4U
 
#define L2CACHE_L2CC_WP   0x2U
 
#define L2CACHE_L2CC_HP   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ L2CACHE_L2CC_BBS

#define L2CACHE_L2CC_BBS (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CC_BBS_SHIFT ) & \
L2CACHE_L2CC_BBS_MASK )

◆ L2CACHE_L2CC_BBS_GET

#define L2CACHE_L2CC_BBS_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CC_BBS_MASK ) >> \
L2CACHE_L2CC_BBS_SHIFT )

◆ L2CACHE_L2CC_BBS_SET

#define L2CACHE_L2CC_BBS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CC_BBS_MASK ) | \
( ( ( _val ) << L2CACHE_L2CC_BBS_SHIFT ) & \
L2CACHE_L2CC_BBS_MASK ) )

◆ L2CACHE_L2CC_INDEX_WAY

#define L2CACHE_L2CC_INDEX_WAY (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CC_INDEX_WAY_SHIFT ) & \
L2CACHE_L2CC_INDEX_WAY_MASK )

◆ L2CACHE_L2CC_INDEX_WAY_GET

#define L2CACHE_L2CC_INDEX_WAY_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CC_INDEX_WAY_MASK ) >> \
L2CACHE_L2CC_INDEX_WAY_SHIFT )

◆ L2CACHE_L2CC_INDEX_WAY_SET

#define L2CACHE_L2CC_INDEX_WAY_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CC_INDEX_WAY_MASK ) | \
( ( ( _val ) << L2CACHE_L2CC_INDEX_WAY_SHIFT ) & \
L2CACHE_L2CC_INDEX_WAY_MASK ) )

◆ L2CACHE_L2CC_LOCK

#define L2CACHE_L2CC_LOCK (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CC_LOCK_SHIFT ) & \
L2CACHE_L2CC_LOCK_MASK )

◆ L2CACHE_L2CC_LOCK_GET

#define L2CACHE_L2CC_LOCK_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CC_LOCK_MASK ) >> \
L2CACHE_L2CC_LOCK_SHIFT )

◆ L2CACHE_L2CC_LOCK_SET

#define L2CACHE_L2CC_LOCK_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CC_LOCK_MASK ) | \
( ( ( _val ) << L2CACHE_L2CC_LOCK_SHIFT ) & \
L2CACHE_L2CC_LOCK_MASK ) )

◆ L2CACHE_L2CC_REPL

#define L2CACHE_L2CC_REPL (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CC_REPL_SHIFT ) & \
L2CACHE_L2CC_REPL_MASK )

◆ L2CACHE_L2CC_REPL_GET

#define L2CACHE_L2CC_REPL_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CC_REPL_MASK ) >> \
L2CACHE_L2CC_REPL_SHIFT )

◆ L2CACHE_L2CC_REPL_SET

#define L2CACHE_L2CC_REPL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CC_REPL_MASK ) | \
( ( ( _val ) << L2CACHE_L2CC_REPL_SHIFT ) & \
L2CACHE_L2CC_REPL_MASK ) )