Home
last modified time | relevance | path

Searched refs:get_uart (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/drivers/serial/
Duart_pl011.c73 get_uart(dev)->cr |= PL011_CR_UARTEN; in pl011_enable()
78 get_uart(dev)->cr &= ~PL011_CR_UARTEN; in pl011_disable()
83 get_uart(dev)->lcr_h |= PL011_LCRH_FEN; in pl011_enable_fifo()
88 get_uart(dev)->lcr_h &= ~PL011_LCRH_FEN; in pl011_disable_fifo()
94 get_uart(dev)->cr |= PL011_CR_RTSEn; in pl011_set_flow_control()
96 get_uart(dev)->cr &= ~PL011_CR_RTSEn; in pl011_set_flow_control()
99 get_uart(dev)->cr |= PL011_CR_CTSEn; in pl011_set_flow_control()
101 get_uart(dev)->cr &= ~PL011_CR_CTSEn; in pl011_set_flow_control()
121 get_uart(dev)->ibrd = bauddiv >> PL011_FBRD_WIDTH; in pl011_set_baudrate()
122 get_uart(dev)->fbrd = bauddiv & ((1u << PL011_FBRD_WIDTH) - 1u); in pl011_set_baudrate()
[all …]
Duart_pl011_ambiq.h19 get_uart(dev)->cr |= PL011_CR_AMBIQ_CLKEN; in pl011_ambiq_enable_clk()
43 get_uart(dev)->cr |= FIELD_PREP(PL011_CR_AMBIQ_CLKSEL, clksel); in pl011_ambiq_clk_set()
Duart_pl011_registers.h40 volatile struct pl011_regs *const get_uart(const struct device *dev) in get_uart() function