Lines Matching refs:tcr
100 uint32_t tcr; /**< Transmission Control Register. */ member
964 regs->tcr |= SEDI_RBFVM(UART, TCR, RS485_EN, 1); in sedi_uart_rs485_set_config()
973 regs->tcr &= ~(SEDI_RBFM(UART, TCR, XFER_MODE)); in sedi_uart_rs485_set_config()
978 regs->tcr |= (uint32_t)(SEDI_UART_XFER_MODE_HW_HALF_DUPLEX in sedi_uart_rs485_set_config()
986 regs->tcr |= (uint32_t)(SEDI_UART_XFER_MODE_FULL_DUPLEX in sedi_uart_rs485_set_config()
991 regs->tcr &= ~(SEDI_RBFVM(UART, TCR, RE_POL, 1) | SEDI_RBFVM(UART, TCR, DE_POL, 1)); in sedi_uart_rs485_set_config()
992 regs->tcr |= (((cfg->re_polarity) << SEDI_RBFO(UART, TCR, RE_POL)) | in sedi_uart_rs485_set_config()
1001 regs->tcr &= ~(SEDI_RBFVM(UART, TCR, RS485_EN, 1)); in sedi_uart_rs485_set_config()
1011 regs->tcr &= ~(SEDI_RBFVM(UART, TCR, RS485_EN, 1)); in sedi_uart_rs485_disable()
1021 regs->tcr |= SEDI_RBFVM(UART, TCR, RS485_EN, 1); in sedi_uart_rs485_enable()
1057 (regs->tcr & SEDI_RBFM(UART, TCR, XFER_MODE)) >> SEDI_RBFO(UART, TCR, XFER_MODE); in sedi_uart_rs485_get_config()
1059 if (regs->tcr & (SEDI_RBFO(UART, TCR, DE_POL))) { in sedi_uart_rs485_get_config()
1065 if (regs->tcr & (SEDI_RBFO(UART, TCR, RE_POL))) { in sedi_uart_rs485_get_config()
1083 regs->tcr |= SEDI_RBFVM(UART, TCR, RS485_EN, 1); in sedi_uart_rs485_clear_config()
1088 regs->tcr = 0; in sedi_uart_rs485_clear_config()
1258 ctx->tcr = regs->tcr; in sedi_uart_save_context()
1297 regs->tcr |= SEDI_RBFVM(UART, TCR, RS485_EN, 1); in sedi_uart_restore_context()
1302 regs->tcr = ctx->tcr; in sedi_uart_restore_context()