Home
last modified time | relevance | path

Searched refs:mode_reg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_xlnx_ps.c467 static inline bool uart_xlnx_ps_cfg2ll_parity(uint32_t *mode_reg, enum uart_config_parity parity) in uart_xlnx_ps_cfg2ll_parity() argument
482 *mode_reg |= XUARTPS_MR_PARITY_EVEN; in uart_xlnx_ps_cfg2ll_parity()
485 *mode_reg |= XUARTPS_MR_PARITY_ODD; in uart_xlnx_ps_cfg2ll_parity()
488 *mode_reg |= XUARTPS_MR_PARITY_SPACE; in uart_xlnx_ps_cfg2ll_parity()
491 *mode_reg |= XUARTPS_MR_PARITY_MARK; in uart_xlnx_ps_cfg2ll_parity()
494 *mode_reg |= XUARTPS_MR_PARITY_NONE; in uart_xlnx_ps_cfg2ll_parity()
519 static inline bool uart_xlnx_ps_cfg2ll_stopbits(uint32_t *mode_reg, in uart_xlnx_ps_cfg2ll_stopbits() argument
537 *mode_reg |= XUARTPS_MR_STOPMODE_1_BIT; in uart_xlnx_ps_cfg2ll_stopbits()
540 *mode_reg |= XUARTPS_MR_STOPMODE_1_5_BIT; in uart_xlnx_ps_cfg2ll_stopbits()
543 *mode_reg |= XUARTPS_MR_STOPMODE_2_BIT; in uart_xlnx_ps_cfg2ll_stopbits()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_smartbond.c311 static void gpio_latch_inst(mem_addr_t data_reg, mem_addr_t mode_reg, mem_addr_t latch_reg, in gpio_latch_inst() argument
317 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_latch_inst()
318 mode[idx] = sys_read32(mode_reg); in gpio_latch_inst()
324 static void gpio_unlatch_inst(mem_addr_t data_reg, mem_addr_t mode_reg, mem_addr_t latch_reg, in gpio_unlatch_inst() argument
330 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_unlatch_inst()
331 sys_write32(mode[idx], mode_reg); in gpio_unlatch_inst()