Home
last modified time | relevance | path

Searched refs:UART_PL011_FBRD_WIDTH (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Native_Driver/
Duart_pl011_drv.c25 #define UART_PL011_FBRD_WIDTH (6u) macro
208 uint64_t bauddiv = (((uint64_t)clk)<<UART_PL011_FBRD_WIDTH) in _uart_pl011_set_baudrate()
215 if((bauddiv < (1u<<UART_PL011_FBRD_WIDTH)) in _uart_pl011_set_baudrate()
216 || (bauddiv > (65535u<<UART_PL011_FBRD_WIDTH))) { in _uart_pl011_set_baudrate()
220 p_uart->uartibrd = (uint32_t)(bauddiv >> UART_PL011_FBRD_WIDTH); in _uart_pl011_set_baudrate()
222 ((1u << UART_PL011_FBRD_WIDTH) - 1u)); in _uart_pl011_set_baudrate()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/native_drivers/
Duart_pl011_drv.c25 #define UART_PL011_FBRD_WIDTH (6u) macro
208 uint64_t bauddiv = (((uint64_t)clk)<<UART_PL011_FBRD_WIDTH) in _uart_pl011_set_baudrate()
215 if((bauddiv < (1u<<UART_PL011_FBRD_WIDTH)) in _uart_pl011_set_baudrate()
216 || (bauddiv > (65535u<<UART_PL011_FBRD_WIDTH))) { in _uart_pl011_set_baudrate()
220 p_uart->uartibrd = (uint32_t)(bauddiv >> UART_PL011_FBRD_WIDTH); in _uart_pl011_set_baudrate()
222 ((1u << UART_PL011_FBRD_WIDTH) - 1u)); in _uart_pl011_set_baudrate()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Native_Driver/
Duart_pl011_drv.c25 #define UART_PL011_FBRD_WIDTH (6u) macro
208 uint64_t bauddiv = (((uint64_t)clk)<<UART_PL011_FBRD_WIDTH) in _uart_pl011_set_baudrate()
215 if((bauddiv < (1u<<UART_PL011_FBRD_WIDTH)) in _uart_pl011_set_baudrate()
216 || (bauddiv > (65535u<<UART_PL011_FBRD_WIDTH))) { in _uart_pl011_set_baudrate()
220 p_uart->uartibrd = (uint32_t)(bauddiv >> UART_PL011_FBRD_WIDTH); in _uart_pl011_set_baudrate()
222 ((1u << UART_PL011_FBRD_WIDTH) - 1u)); in _uart_pl011_set_baudrate()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/Native_Driver/
Duart_pl011_drv.c25 #define UART_PL011_FBRD_WIDTH (6u) macro
208 uint64_t bauddiv = (((uint64_t)clk)<<UART_PL011_FBRD_WIDTH) in _uart_pl011_set_baudrate()
215 if((bauddiv < (1u<<UART_PL011_FBRD_WIDTH)) in _uart_pl011_set_baudrate()
216 || (bauddiv > (65535u<<UART_PL011_FBRD_WIDTH))) { in _uart_pl011_set_baudrate()
220 p_uart->uartibrd = (uint32_t)(bauddiv >> UART_PL011_FBRD_WIDTH); in _uart_pl011_set_baudrate()
222 ((1u << UART_PL011_FBRD_WIDTH) - 1u)); in _uart_pl011_set_baudrate()