Lines Matching refs:msr
223 uint8_t msr; in siu_get_mctrl() local
226 msr = siu_read(port, UART_MSR); in siu_get_mctrl()
227 if (msr & UART_MSR_DCD) in siu_get_mctrl()
229 if (msr & UART_MSR_RI) in siu_get_mctrl()
231 if (msr & UART_MSR_DSR) in siu_get_mctrl()
233 if (msr & UART_MSR_CTS) in siu_get_mctrl()
373 uint8_t msr; in check_modem_status() local
375 msr = siu_read(port, UART_MSR); in check_modem_status()
376 if ((msr & UART_MSR_ANY_DELTA) == 0) in check_modem_status()
378 if (msr & UART_MSR_DDCD) in check_modem_status()
379 uart_handle_dcd_change(port, msr & UART_MSR_DCD); in check_modem_status()
380 if (msr & UART_MSR_TERI) in check_modem_status()
382 if (msr & UART_MSR_DDSR) in check_modem_status()
384 if (msr & UART_MSR_DCTS) in check_modem_status()
385 uart_handle_cts_change(port, msr & UART_MSR_CTS); in check_modem_status()
741 uint8_t lsr, msr; in wait_for_xmitr() local
756 msr = siu_read(port, UART_MSR); in wait_for_xmitr()
757 if ((msr & UART_MSR_CTS) != 0) in wait_for_xmitr()