Lines Matching refs:efr
37 u8 ier, efr; in neo_set_cts_flow_control() local
39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
45 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_CTSDSR); in neo_set_cts_flow_control()
48 efr &= ~(UART_17158_EFR_IXON); in neo_set_cts_flow_control()
51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
54 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
68 u8 ier, efr; in neo_set_rts_flow_control() local
70 efr = readb(&ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
76 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_RTSDTR); in neo_set_rts_flow_control()
80 efr &= ~(UART_17158_EFR_IXOFF); in neo_set_rts_flow_control()
83 writeb(0, &ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
86 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
108 u8 ier, efr; in neo_set_ixon_flow_control() local
110 efr = readb(&ch->ch_neo_uart->efr); in neo_set_ixon_flow_control()
116 efr &= ~(UART_17158_EFR_CTSDSR); in neo_set_ixon_flow_control()
119 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON); in neo_set_ixon_flow_control()
122 writeb(0, &ch->ch_neo_uart->efr); in neo_set_ixon_flow_control()
125 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_ixon_flow_control()
145 u8 ier, efr; in neo_set_ixoff_flow_control() local
147 efr = readb(&ch->ch_neo_uart->efr); in neo_set_ixoff_flow_control()
153 efr &= ~(UART_17158_EFR_RTSDTR); in neo_set_ixoff_flow_control()
157 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); in neo_set_ixoff_flow_control()
160 writeb(0, &ch->ch_neo_uart->efr); in neo_set_ixoff_flow_control()
163 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_ixoff_flow_control()
183 u8 ier, efr; in neo_set_no_input_flow_control() local
185 efr = readb(&ch->ch_neo_uart->efr); in neo_set_no_input_flow_control()
191 efr &= ~(UART_17158_EFR_RTSDTR); in neo_set_no_input_flow_control()
196 efr &= ~(UART_17158_EFR_IXOFF); in neo_set_no_input_flow_control()
198 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); in neo_set_no_input_flow_control()
201 writeb(0, &ch->ch_neo_uart->efr); in neo_set_no_input_flow_control()
204 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_no_input_flow_control()
222 u8 ier, efr; in neo_set_no_output_flow_control() local
224 efr = readb(&ch->ch_neo_uart->efr); in neo_set_no_output_flow_control()
230 efr &= ~(UART_17158_EFR_CTSDSR); in neo_set_no_output_flow_control()
234 efr &= ~(UART_17158_EFR_IXON); in neo_set_no_output_flow_control()
236 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON); in neo_set_no_output_flow_control()
239 writeb(0, &ch->ch_neo_uart->efr); in neo_set_no_output_flow_control()
242 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_no_output_flow_control()
1285 writeb(0, &ch->ch_neo_uart->efr); in neo_uart_init()
1286 writeb(UART_EFR_ECB, &ch->ch_neo_uart->efr); in neo_uart_init()
1306 writeb(0, &ch->ch_neo_uart->efr); in neo_uart_off()