Go to the source code of this file.
◆ IMX_MU_VERSION
◆ IMX_MU_xCR
◆ IMX_MU_xCR_GIEn
| #define IMX_MU_xCR_GIEn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(28 + (3 - (x)))) |
◆ IMX_MU_xCR_GIRn
| #define IMX_MU_xCR_GIRn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(16 + (3 - (x)))) |
◆ IMX_MU_xCR_RIEn
| #define IMX_MU_xCR_RIEn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) |
◆ IMX_MU_xCR_TIEn
| #define IMX_MU_xCR_TIEn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(20 + (3 - (x)))) |
◆ IMX_MU_xRRn
| #define IMX_MU_xRRn |
( |
|
x | ) |
(0x10 + 4 * (x)) |
◆ IMX_MU_xSR
◆ IMX_MU_xSR_BRDIP
| #define IMX_MU_xSR_BRDIP BIT(9) |
◆ IMX_MU_xSR_GIPn
| #define IMX_MU_xSR_GIPn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(28 + (3 - (x)))) |
◆ IMX_MU_xSR_RFn
| #define IMX_MU_xSR_RFn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) |
◆ IMX_MU_xSR_TEn
| #define IMX_MU_xSR_TEn |
( |
|
type, |
|
|
|
x |
|
) |
| (type == IMX_MU_V2 ? BIT(x) : BIT(20 + (3 - (x)))) |
◆ IMX_MU_xTRn
| #define IMX_MU_xTRn |
( |
|
x | ) |
(0x00 + 4 * (x)) |
◆ imx_mu_type
| Enumerator |
|---|
| IMX_MU_V1 | |
| IMX_MU_V2 | |
◆ imx_mu_xcr
| Enumerator |
|---|
| IMX_MU_GIER | |
| IMX_MU_GCR | |
| IMX_MU_TCR | |
| IMX_MU_RCR | |
◆ imx_mu_xsr
| Enumerator |
|---|
| IMX_MU_SR | |
| IMX_MU_GSR | |
| IMX_MU_TSR | |
| IMX_MU_RSR | |
◆ imx_mu_read()
| static uint32_t imx_mu_read |
( |
uint32_t |
reg | ) |
|
|
inlinestatic |
◆ imx_mu_write()
| static void imx_mu_write |
( |
uint32_t |
val, |
|
|
uint32_t |
reg |
|
) |
| |
|
inlinestatic |
◆ imx_mu_xcr_rmw()
| static uint32_t imx_mu_xcr_rmw |
( |
int |
type, |
|
|
int |
idx, |
|
|
uint32_t |
set, |
|
|
uint32_t |
clr |
|
) |
| |
|
inlinestatic |
◆ imx_mu_xsr_rmw()
| static uint32_t imx_mu_xsr_rmw |
( |
int |
type, |
|
|
int |
idx, |
|
|
uint32_t |
set, |
|
|
uint32_t |
clr |
|
) |
| |
|
inlinestatic |