Searched refs:ctrl_val (Results 1 – 2 of 2) sorted by relevance
161 uint32_t ctrl_val = sys_read32(config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_init()172 ctrl_val &= ~(UART_IE_TX | UART_IE_RX); in uart_altera_jtag_init()173 sys_write32(ctrl_val, config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_init()200 uint32_t ctrl_val; in uart_altera_jtag_fifo_fill() local215 ctrl_val = sys_read32(config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_fifo_fill()216 space = (ctrl_val & UART_WFIFO_MASK) >> UART_WFIFO_OFST; in uart_altera_jtag_fifo_fill()285 uint32_t ctrl_val = sys_read32(config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_irq_tx_enable() local289 ctrl_val |= UART_IE_TX; in uart_altera_jtag_irq_tx_enable()290 sys_write32(ctrl_val, config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_irq_tx_enable()304 uint32_t ctrl_val = sys_read32(config->base + UART_ALTERA_JTAG_CTRL_OFFSET); in uart_altera_jtag_irq_tx_disable() local[all …]
58 uint32_t ctrl_val = sys_read32(regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_disable() local60 if (!(ctrl_val & BIT(0))) { in ot_aontimer_disable()63 sys_write32(ctrl_val & ~BIT(0), regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_disable()