Lines Matching refs:ui32Module
79 uint32_t ui32Module = ((uint32_t)get_uart(dev) == UART0_BASE) ? 0 : 1; in uart_ambiq_pm_action() local
83 ((am_hal_pwrctrl_periph_e)(AM_HAL_PWRCTRL_PERIPH_UART0 + ui32Module)); in uart_ambiq_pm_action()
86 uart_register_state_t *pRegisterStatus = &sRegState[ui32Module]; in uart_ambiq_pm_action()
110 UARTn(ui32Module)->ILPR = pRegisterStatus->regILPR; in uart_ambiq_pm_action()
111 UARTn(ui32Module)->IBRD = pRegisterStatus->regIBRD; in uart_ambiq_pm_action()
112 UARTn(ui32Module)->FBRD = pRegisterStatus->regFBRD; in uart_ambiq_pm_action()
113 UARTn(ui32Module)->LCRH = pRegisterStatus->regLCRH; in uart_ambiq_pm_action()
114 UARTn(ui32Module)->CR = pRegisterStatus->regCR; in uart_ambiq_pm_action()
115 UARTn(ui32Module)->IFLS = pRegisterStatus->regIFLS; in uart_ambiq_pm_action()
116 UARTn(ui32Module)->IER = pRegisterStatus->regIER; in uart_ambiq_pm_action()
130 pRegisterStatus->regILPR = UARTn(ui32Module)->ILPR; in uart_ambiq_pm_action()
131 pRegisterStatus->regIBRD = UARTn(ui32Module)->IBRD; in uart_ambiq_pm_action()
132 pRegisterStatus->regFBRD = UARTn(ui32Module)->FBRD; in uart_ambiq_pm_action()
133 pRegisterStatus->regLCRH = UARTn(ui32Module)->LCRH; in uart_ambiq_pm_action()
134 pRegisterStatus->regCR = UARTn(ui32Module)->CR; in uart_ambiq_pm_action()
135 pRegisterStatus->regIFLS = UARTn(ui32Module)->IFLS; in uart_ambiq_pm_action()
136 pRegisterStatus->regIER = UARTn(ui32Module)->IER; in uart_ambiq_pm_action()
144 UARTn(ui32Module)->IEC = 0xFFFFFFFF; in uart_ambiq_pm_action()
152 UARTn(ui32Module)->CR = 0; in uart_ambiq_pm_action()