Lines Matching refs:scif_readw
39 #define scif_readw(uart, off) readw((uart)->regs + (off)) macro
55 ctrl = scif_readw(uart, SCIF_SCSCR); in scif_uart_interrupt()
56 status = scif_readw(uart, SCIF_SCFSR) & ~SCFSR_TEND; in scif_uart_interrupt()
74 if ( scif_readw(uart, SCIF_SCLSR) & SCLSR_ORER ) in scif_uart_interrupt()
77 ctrl = scif_readw(uart, SCIF_SCSCR); in scif_uart_interrupt()
78 status = scif_readw(uart, SCIF_SCFSR) & ~SCFSR_TEND; in scif_uart_interrupt()
93 while ( !(scif_readw(uart, SCIF_SCFSR) & SCFSR_TEND) ); in scif_uart_init_preirq()
102 scif_readw(uart, SCIF_SCFSR); in scif_uart_init_preirq()
104 scif_readw(uart, SCIF_SCLSR); in scif_uart_init_preirq()
111 scif_writew(uart, SCIF_SCSCR, scif_readw(uart, SCIF_SCSCR) | in scif_uart_init_preirq()
129 if ( scif_readw(uart, SCIF_SCFSR) & SCIF_ERRORS ) in scif_uart_init_postirq()
131 if ( scif_readw(uart, SCIF_SCLSR) & SCLSR_ORER ) in scif_uart_init_postirq()
135 scif_writew(uart, SCIF_SCSCR, scif_readw(uart, SCIF_SCSCR) | in scif_uart_init_postirq()
155 if ( !(scif_readw(uart, SCIF_SCFSR) & SCFSR_TDFE) ) in scif_uart_tx_ready()
159 cnt = scif_readw(uart, SCIF_SCFDR) >> 8; in scif_uart_tx_ready()
171 scif_writew(uart, SCIF_SCFSR, scif_readw(uart, SCIF_SCFSR) & in scif_uart_putc()
180 if ( !(scif_readw(uart, SCIF_SCFSR) & (SCFSR_RDF | SCFSR_DR)) ) in scif_uart_getc()
186 scif_readw(uart, SCIF_SCFSR); in scif_uart_getc()
211 scif_writew(uart, SCIF_SCSCR, scif_readw(uart, SCIF_SCSCR) | SCSCR_TIE); in scif_uart_start_tx()
218 scif_writew(uart, SCIF_SCSCR, scif_readw(uart, SCIF_SCSCR) & ~SCSCR_TIE); in scif_uart_stop_tx()