Lines Matching defs:base
82 static uint32_t uart_baud_divider_get(struct mec_uart_regs *base) in uart_baud_divider_get()
95 static void uart_prog_fifos(struct mec_uart_regs *base, uint8_t fifo_mode) in uart_prog_fifos()
110 int mec_hal_uart_tx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_tx_fifo_size()
125 int mec_hal_uart_rx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_rx_fifo_size()
136 int mec_hal_uart_clock_freq_get(struct mec_uart_regs *base, uint32_t *clock_freq) in mec_hal_uart_clock_freq_get()
160 int mec_hal_uart_parity_set(struct mec_uart_regs *base, uint8_t parity) in mec_hal_uart_parity_set()
177 int mec_hal_uart_parity_get(struct mec_uart_regs *base, uint8_t *parity) in mec_hal_uart_parity_get()
198 int mec_hal_uart_word_len_set(struct mec_uart_regs *base, uint8_t word_len) in mec_hal_uart_word_len_set()
214 int mec_hal_uart_word_len_get(struct mec_uart_regs *base, uint8_t *word_len) in mec_hal_uart_word_len_get()
238 int mec_hal_uart_stop_bits_set(struct mec_uart_regs *base, uint8_t stop_bits) in mec_hal_uart_stop_bits_set()
255 int mec_hal_uart_stop_bits_get(struct mec_uart_regs *base, uint8_t *stop_bits) in mec_hal_uart_stop_bits_get()
272 int mec_hal_uart_fifo_control(struct mec_uart_regs *base, uint8_t fifo_mode) in mec_hal_uart_fifo_control()
535 int mec_hal_uart_baud_rate_set(struct mec_uart_regs *base, uint32_t baud, uint32_t extclk_hz) in mec_hal_uart_baud_rate_set()
549 int mec_hal_uart_intr_control(struct mec_uart_regs *base, uint8_t enmask) in mec_hal_uart_intr_control()
567 int mec_hal_uart_intr_mask(struct mec_uart_regs *base, uint8_t msk, uint8_t val) in mec_hal_uart_intr_mask()
580 int mec_hal_uart_raw_status(struct mec_uart_regs *base, enum mec_uart_sts_reg regid, in mec_hal_uart_raw_status()
607 int mec_hal_uart_pending_status(struct mec_uart_regs *base, enum mec_uart_ipend *ipend) in mec_hal_uart_pending_status()
646 int mec_hal_uart_is_rx_data(struct mec_uart_regs *base) in mec_hal_uart_is_rx_data()
662 int mec_hal_uart_is_tx_fifo_empty(struct mec_uart_regs *base) in mec_hal_uart_is_tx_fifo_empty()
678 int mec_hal_uart_is_tx_empty(struct mec_uart_regs *base) in mec_hal_uart_is_tx_empty()
693 int mec_hal_uart_dtr_rts_set(struct mec_uart_regs *base, uint8_t sel_rts, in mec_hal_uart_dtr_rts_set()
737 int mec_hal_uart_tx_byte(struct mec_uart_regs *base, uint8_t data) in mec_hal_uart_tx_byte()
765 int mec_hal_uart_tx(struct mec_uart_regs * base, const uint8_t *data, size_t datasz) in mec_hal_uart_tx()
807 int mec_hal_uart_rx_byte(struct mec_uart_regs *base, uint8_t *data) in mec_hal_uart_rx_byte()