RTEMS 6.3
Loading...
Searching...
No Matches
L2C Scrub control/status register (L2CSCRUB)

This group contains register bit definitions. More...

Macros

#define L2CACHE_L2CSCRUB_INDEX_SHIFT   16
#define L2CACHE_L2CSCRUB_INDEX_MASK   0xffff0000U
#define L2CACHE_L2CSCRUB_INDEX_GET(_reg)
#define L2CACHE_L2CSCRUB_INDEX_SET(_reg, _val)
#define L2CACHE_L2CSCRUB_INDEX(_val)
#define L2CACHE_L2CSCRUB_WAY_SHIFT   2
#define L2CACHE_L2CSCRUB_WAY_MASK   0xcU
#define L2CACHE_L2CSCRUB_WAY_GET(_reg)
#define L2CACHE_L2CSCRUB_WAY_SET(_reg, _val)
#define L2CACHE_L2CSCRUB_WAY(_val)
#define L2CACHE_L2CSCRUB_PEN   0x2U
#define L2CACHE_L2CSCRUB_EN   0x1U

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ L2CACHE_L2CSCRUB_INDEX

#define L2CACHE_L2CSCRUB_INDEX ( _val)
Value:
( ( ( _val ) << L2CACHE_L2CSCRUB_INDEX_SHIFT ) & \
L2CACHE_L2CSCRUB_INDEX_MASK )

◆ L2CACHE_L2CSCRUB_INDEX_GET

#define L2CACHE_L2CSCRUB_INDEX_GET ( _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CSCRUB_INDEX_MASK ) >> \
L2CACHE_L2CSCRUB_INDEX_SHIFT )

◆ L2CACHE_L2CSCRUB_INDEX_SET

#define L2CACHE_L2CSCRUB_INDEX_SET ( _reg,
_val )
Value:
( ( ( _reg ) & ~L2CACHE_L2CSCRUB_INDEX_MASK ) | \
( ( ( _val ) << L2CACHE_L2CSCRUB_INDEX_SHIFT ) & \
L2CACHE_L2CSCRUB_INDEX_MASK ) )

◆ L2CACHE_L2CSCRUB_WAY

#define L2CACHE_L2CSCRUB_WAY ( _val)
Value:
( ( ( _val ) << L2CACHE_L2CSCRUB_WAY_SHIFT ) & \
L2CACHE_L2CSCRUB_WAY_MASK )

◆ L2CACHE_L2CSCRUB_WAY_GET

#define L2CACHE_L2CSCRUB_WAY_GET ( _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CSCRUB_WAY_MASK ) >> \
L2CACHE_L2CSCRUB_WAY_SHIFT )

◆ L2CACHE_L2CSCRUB_WAY_SET

#define L2CACHE_L2CSCRUB_WAY_SET ( _reg,
_val )
Value:
( ( ( _reg ) & ~L2CACHE_L2CSCRUB_WAY_MASK ) | \
( ( ( _val ) << L2CACHE_L2CSCRUB_WAY_SHIFT ) & \
L2CACHE_L2CSCRUB_WAY_MASK ) )