RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
L2C Memory type range register (L2CMTRR)

This group contains register bit definitions. More...

Macros

#define L2CACHE_L2CMTRR_ADDR_SHIFT   18
 
#define L2CACHE_L2CMTRR_ADDR_MASK   0xfffc0000U
 
#define L2CACHE_L2CMTRR_ADDR_GET(_reg)
 
#define L2CACHE_L2CMTRR_ADDR_SET(_reg, _val)
 
#define L2CACHE_L2CMTRR_ADDR(_val)
 
#define L2CACHE_L2CMTRR_ACC_SHIFT   16
 
#define L2CACHE_L2CMTRR_ACC_MASK   0x30000U
 
#define L2CACHE_L2CMTRR_ACC_GET(_reg)
 
#define L2CACHE_L2CMTRR_ACC_SET(_reg, _val)
 
#define L2CACHE_L2CMTRR_ACC(_val)
 
#define L2CACHE_L2CMTRR_MASK_SHIFT   2
 
#define L2CACHE_L2CMTRR_MASK_MASK   0xfffcU
 
#define L2CACHE_L2CMTRR_MASK_GET(_reg)
 
#define L2CACHE_L2CMTRR_MASK_SET(_reg, _val)
 
#define L2CACHE_L2CMTRR_MASK(_val)
 
#define L2CACHE_L2CMTRR_WP   0x2U
 
#define L2CACHE_L2CMTRR_AC   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ L2CACHE_L2CMTRR_ACC

#define L2CACHE_L2CMTRR_ACC (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CMTRR_ACC_SHIFT ) & \
L2CACHE_L2CMTRR_ACC_MASK )

◆ L2CACHE_L2CMTRR_ACC_GET

#define L2CACHE_L2CMTRR_ACC_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CMTRR_ACC_MASK ) >> \
L2CACHE_L2CMTRR_ACC_SHIFT )

◆ L2CACHE_L2CMTRR_ACC_SET

#define L2CACHE_L2CMTRR_ACC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CMTRR_ACC_MASK ) | \
( ( ( _val ) << L2CACHE_L2CMTRR_ACC_SHIFT ) & \
L2CACHE_L2CMTRR_ACC_MASK ) )

◆ L2CACHE_L2CMTRR_ADDR

#define L2CACHE_L2CMTRR_ADDR (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CMTRR_ADDR_SHIFT ) & \
L2CACHE_L2CMTRR_ADDR_MASK )

◆ L2CACHE_L2CMTRR_ADDR_GET

#define L2CACHE_L2CMTRR_ADDR_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CMTRR_ADDR_MASK ) >> \
L2CACHE_L2CMTRR_ADDR_SHIFT )

◆ L2CACHE_L2CMTRR_ADDR_SET

#define L2CACHE_L2CMTRR_ADDR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CMTRR_ADDR_MASK ) | \
( ( ( _val ) << L2CACHE_L2CMTRR_ADDR_SHIFT ) & \
L2CACHE_L2CMTRR_ADDR_MASK ) )

◆ L2CACHE_L2CMTRR_MASK

#define L2CACHE_L2CMTRR_MASK (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CMTRR_MASK_SHIFT ) & \
L2CACHE_L2CMTRR_MASK_MASK )

◆ L2CACHE_L2CMTRR_MASK_GET

#define L2CACHE_L2CMTRR_MASK_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CMTRR_MASK_MASK ) >> \
L2CACHE_L2CMTRR_MASK_SHIFT )

◆ L2CACHE_L2CMTRR_MASK_SET

#define L2CACHE_L2CMTRR_MASK_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CMTRR_MASK_MASK ) | \
( ( ( _val ) << L2CACHE_L2CMTRR_MASK_SHIFT ) & \
L2CACHE_L2CMTRR_MASK_MASK ) )