Lines Matching refs:reg
13 uint32_t reg, i; in MU_Resume() local
15 reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_Resume()
17 reg &= ~(MU_CR_GIEn_MASK1 | MU_CR_RIEn_MASK1 | MU_CR_TIEn_MASK1 in MU_Resume()
19 mmio_write_32(base + MU_ACR_OFFSET1, reg); in MU_Resume()
28 uint32_t reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_EnableRxFullInt() local
30 reg &= ~(MU_CR_GIRn_MASK1 | MU_CR_NMI_MASK1); in MU_EnableRxFullInt()
31 reg |= MU_CR_RIE0_MASK1 >> index; in MU_EnableRxFullInt()
32 mmio_write_32(base + MU_ACR_OFFSET1, reg); in MU_EnableRxFullInt()
37 uint32_t reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_EnableGeneralInt() local
39 reg &= ~(MU_CR_GIRn_MASK1 | MU_CR_NMI_MASK1); in MU_EnableGeneralInt()
40 reg |= MU_CR_GIE0_MASK1 >> index; in MU_EnableGeneralInt()
41 mmio_write_32(base + MU_ACR_OFFSET1, reg); in MU_EnableGeneralInt()
66 uint32_t reg; in MU_Init() local
68 reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_Init()
70 reg &= ~(MU_CR_GIEn_MASK1 | MU_CR_RIEn_MASK1 | MU_CR_TIEn_MASK1 in MU_Init()
72 mmio_write_32(base + MU_ACR_OFFSET1, reg); in MU_Init()