Searched refs:efr (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/tty/serial/jsm/
H A Djsm_neo.c46 u8 ier, efr; neo_set_cts_flow_control() local
48 efr = readb(&ch->ch_neo_uart->efr); neo_set_cts_flow_control()
54 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_CTSDSR); neo_set_cts_flow_control()
57 efr &= ~(UART_17158_EFR_IXON); neo_set_cts_flow_control()
60 writeb(0, &ch->ch_neo_uart->efr); neo_set_cts_flow_control()
63 writeb(efr, &ch->ch_neo_uart->efr); neo_set_cts_flow_control()
77 u8 ier, efr; neo_set_rts_flow_control() local
79 efr = readb(&ch->ch_neo_uart->efr); neo_set_rts_flow_control()
85 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_RTSDTR); neo_set_rts_flow_control()
89 efr &= ~(UART_17158_EFR_IXOFF); neo_set_rts_flow_control()
92 writeb(0, &ch->ch_neo_uart->efr); neo_set_rts_flow_control()
95 writeb(efr, &ch->ch_neo_uart->efr); neo_set_rts_flow_control()
117 u8 ier, efr; neo_set_ixon_flow_control() local
119 efr = readb(&ch->ch_neo_uart->efr); neo_set_ixon_flow_control()
125 efr &= ~(UART_17158_EFR_CTSDSR); neo_set_ixon_flow_control()
128 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON); neo_set_ixon_flow_control()
131 writeb(0, &ch->ch_neo_uart->efr); neo_set_ixon_flow_control()
134 writeb(efr, &ch->ch_neo_uart->efr); neo_set_ixon_flow_control()
154 u8 ier, efr; neo_set_ixoff_flow_control() local
156 efr = readb(&ch->ch_neo_uart->efr); neo_set_ixoff_flow_control()
162 efr &= ~(UART_17158_EFR_RTSDTR); neo_set_ixoff_flow_control()
166 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); neo_set_ixoff_flow_control()
169 writeb(0, &ch->ch_neo_uart->efr); neo_set_ixoff_flow_control()
172 writeb(efr, &ch->ch_neo_uart->efr); neo_set_ixoff_flow_control()
192 u8 ier, efr; neo_set_no_input_flow_control() local
194 efr = readb(&ch->ch_neo_uart->efr); neo_set_no_input_flow_control()
200 efr &= ~(UART_17158_EFR_RTSDTR); neo_set_no_input_flow_control()
205 efr &= ~(UART_17158_EFR_IXOFF); neo_set_no_input_flow_control()
207 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); neo_set_no_input_flow_control()
210 writeb(0, &ch->ch_neo_uart->efr); neo_set_no_input_flow_control()
213 writeb(efr, &ch->ch_neo_uart->efr); neo_set_no_input_flow_control()
231 u8 ier, efr; neo_set_no_output_flow_control() local
233 efr = readb(&ch->ch_neo_uart->efr); neo_set_no_output_flow_control()
239 efr &= ~(UART_17158_EFR_CTSDSR); neo_set_no_output_flow_control()
243 efr &= ~(UART_17158_EFR_IXON); neo_set_no_output_flow_control()
245 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON); neo_set_no_output_flow_control()
248 writeb(0, &ch->ch_neo_uart->efr); neo_set_no_output_flow_control()
251 writeb(efr, &ch->ch_neo_uart->efr); neo_set_no_output_flow_control()
1311 writeb(0, &ch->ch_neo_uart->efr); neo_uart_init()
1312 writeb(UART_EFR_ECB, &ch->ch_neo_uart->efr); neo_uart_init()
1332 writeb(0, &ch->ch_neo_uart->efr); neo_uart_off()
H A Djsm.h333 u8 efr; /* WR EFR - Enhanced Function Reg */ member in struct:neo_uart_struct
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_neo.c101 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_cts_flow_control() local
111 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_CTSDSR); neo_set_cts_flow_control()
114 efr &= ~UART_17158_EFR_IXON; neo_set_cts_flow_control()
117 writeb(0, &ch->ch_neo_uart->efr); neo_set_cts_flow_control()
120 writeb(efr, &ch->ch_neo_uart->efr); neo_set_cts_flow_control()
138 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_rts_flow_control() local
146 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_RTSDTR); neo_set_rts_flow_control()
150 efr &= ~UART_17158_EFR_IXOFF; neo_set_rts_flow_control()
153 writeb(0, &ch->ch_neo_uart->efr); neo_set_rts_flow_control()
156 writeb(efr, &ch->ch_neo_uart->efr); neo_set_rts_flow_control()
181 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_ixon_flow_control() local
185 efr &= ~UART_17158_EFR_CTSDSR; neo_set_ixon_flow_control()
188 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON); neo_set_ixon_flow_control()
191 writeb(0, &ch->ch_neo_uart->efr); neo_set_ixon_flow_control()
194 writeb(efr, &ch->ch_neo_uart->efr); neo_set_ixon_flow_control()
218 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_ixoff_flow_control() local
222 efr &= ~UART_17158_EFR_RTSDTR; neo_set_ixoff_flow_control()
226 efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); neo_set_ixoff_flow_control()
229 writeb(0, &ch->ch_neo_uart->efr); neo_set_ixoff_flow_control()
232 writeb(efr, &ch->ch_neo_uart->efr); neo_set_ixoff_flow_control()
256 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_no_input_flow_control() local
260 efr &= ~UART_17158_EFR_RTSDTR; neo_set_no_input_flow_control()
265 efr &= ~(UART_17158_EFR_IXOFF); neo_set_no_input_flow_control()
267 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF); neo_set_no_input_flow_control()
271 writeb(0, &ch->ch_neo_uart->efr); neo_set_no_input_flow_control()
274 writeb(efr, &ch->ch_neo_uart->efr); neo_set_no_input_flow_control()
296 unsigned char efr = readb(&ch->ch_neo_uart->efr); neo_set_no_output_flow_control() local
300 efr &= ~UART_17158_EFR_CTSDSR; neo_set_no_output_flow_control()
304 efr &= ~UART_17158_EFR_IXON; neo_set_no_output_flow_control()
306 efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON); neo_set_no_output_flow_control()
309 writeb(0, &ch->ch_neo_uart->efr); neo_set_no_output_flow_control()
312 writeb(efr, &ch->ch_neo_uart->efr); neo_set_no_output_flow_control()
1668 writeb(0, &ch->ch_neo_uart->efr); neo_uart_init()
1669 writeb(UART_EFR_ECB, &ch->ch_neo_uart->efr); neo_uart_init()
1692 writeb(0, &ch->ch_neo_uart->efr); neo_uart_off()
H A Ddgnc_neo.h40 u8 efr; /* WR EFR - Enhanced Function Reg */ member in struct:neo_uart_struct
/linux-4.1.27/drivers/tty/
H A Dmxser.c294 u8 efr; mxser_enable_must_enchance_mode() local
299 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_enchance_mode()
300 efr |= MOXA_MUST_EFR_EFRB_ENABLE; mxser_enable_must_enchance_mode()
302 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_enchance_mode()
310 u8 efr; mxser_disable_must_enchance_mode() local
315 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_enchance_mode()
316 efr &= ~MOXA_MUST_EFR_EFRB_ENABLE; mxser_disable_must_enchance_mode()
318 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_enchance_mode()
326 u8 efr; mxser_set_must_xon1_value() local
331 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_xon1_value()
332 efr &= ~MOXA_MUST_EFR_BANK_MASK; mxser_set_must_xon1_value()
333 efr |= MOXA_MUST_EFR_BANK0; mxser_set_must_xon1_value()
335 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_xon1_value()
343 u8 efr; mxser_set_must_xoff1_value() local
348 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_xoff1_value()
349 efr &= ~MOXA_MUST_EFR_BANK_MASK; mxser_set_must_xoff1_value()
350 efr |= MOXA_MUST_EFR_BANK0; mxser_set_must_xoff1_value()
352 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_xoff1_value()
360 u8 efr; mxser_set_must_fifo_value() local
365 efr = inb(info->ioaddr + MOXA_MUST_EFR_REGISTER); mxser_set_must_fifo_value()
366 efr &= ~MOXA_MUST_EFR_BANK_MASK; mxser_set_must_fifo_value()
367 efr |= MOXA_MUST_EFR_BANK1; mxser_set_must_fifo_value()
369 outb(efr, info->ioaddr + MOXA_MUST_EFR_REGISTER); mxser_set_must_fifo_value()
379 u8 efr; mxser_set_must_enum_value() local
384 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_enum_value()
385 efr &= ~MOXA_MUST_EFR_BANK_MASK; mxser_set_must_enum_value()
386 efr |= MOXA_MUST_EFR_BANK2; mxser_set_must_enum_value()
388 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_set_must_enum_value()
397 u8 efr; mxser_get_must_hardware_id() local
402 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_get_must_hardware_id()
403 efr &= ~MOXA_MUST_EFR_BANK_MASK; mxser_get_must_hardware_id()
404 efr |= MOXA_MUST_EFR_BANK2; mxser_get_must_hardware_id()
406 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_get_must_hardware_id()
415 u8 efr; SET_MOXA_MUST_NO_SOFTWARE_FLOW_CONTROL() local
420 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); SET_MOXA_MUST_NO_SOFTWARE_FLOW_CONTROL()
421 efr &= ~MOXA_MUST_EFR_SF_MASK; SET_MOXA_MUST_NO_SOFTWARE_FLOW_CONTROL()
423 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); SET_MOXA_MUST_NO_SOFTWARE_FLOW_CONTROL()
430 u8 efr; mxser_enable_must_tx_software_flow_control() local
435 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_tx_software_flow_control()
436 efr &= ~MOXA_MUST_EFR_SF_TX_MASK; mxser_enable_must_tx_software_flow_control()
437 efr |= MOXA_MUST_EFR_SF_TX1; mxser_enable_must_tx_software_flow_control()
439 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_tx_software_flow_control()
446 u8 efr; mxser_disable_must_tx_software_flow_control() local
451 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_tx_software_flow_control()
452 efr &= ~MOXA_MUST_EFR_SF_TX_MASK; mxser_disable_must_tx_software_flow_control()
454 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_tx_software_flow_control()
461 u8 efr; mxser_enable_must_rx_software_flow_control() local
466 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_rx_software_flow_control()
467 efr &= ~MOXA_MUST_EFR_SF_RX_MASK; mxser_enable_must_rx_software_flow_control()
468 efr |= MOXA_MUST_EFR_SF_RX1; mxser_enable_must_rx_software_flow_control()
470 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_enable_must_rx_software_flow_control()
477 u8 efr; mxser_disable_must_rx_software_flow_control() local
482 efr = inb(baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_rx_software_flow_control()
483 efr &= ~MOXA_MUST_EFR_SF_RX_MASK; mxser_disable_must_rx_software_flow_control()
485 outb(efr, baseio + MOXA_MUST_EFR_REGISTER); mxser_disable_must_rx_software_flow_control()
/linux-4.1.27/drivers/tty/serial/
H A Domap-serial.c144 unsigned char efr; member in struct:uart_omap_port
709 up->efr |= UART_EFR_RTS; serial_omap_set_mctrl()
711 up->efr &= UART_EFR_RTS; serial_omap_set_mctrl()
712 serial_out(up, UART_EFR, up->efr); serial_omap_set_mctrl()
977 up->efr = serial_in(up, UART_EFR) & ~UART_EFR_ECB; serial_omap_set_termios()
978 up->efr &= ~UART_EFR_SCD; serial_omap_set_termios()
979 serial_out(up, UART_EFR, up->efr | UART_EFR_ECB); serial_omap_set_termios()
1014 serial_out(up, UART_EFR, up->efr); serial_omap_set_termios()
1025 serial_out(up, UART_EFR, up->efr | UART_EFR_ECB); serial_omap_set_termios()
1038 serial_out(up, UART_EFR, up->efr); serial_omap_set_termios()
1059 serial_out(up, UART_EFR, up->efr | UART_EFR_ECB); serial_omap_set_termios()
1070 up->efr |= UART_EFR_CTS; serial_omap_set_termios()
1073 up->efr &= ~(UART_EFR_CTS | UART_EFR_RTS); serial_omap_set_termios()
1078 up->efr &= OMAP_UART_SW_CLR; serial_omap_set_termios()
1086 up->efr |= OMAP_UART_SW_RX; serial_omap_set_termios()
1095 up->efr |= OMAP_UART_SW_TX; serial_omap_set_termios()
1111 serial_out(up, UART_EFR, up->efr); serial_omap_set_termios()
1127 unsigned char efr; serial_omap_pm() local
1133 efr = serial_in(up, UART_EFR); serial_omap_pm()
1134 serial_out(up, UART_EFR, efr | UART_EFR_ECB); serial_omap_pm()
1139 serial_out(up, UART_EFR, efr); serial_omap_pm()
1818 serial_out(up, UART_EFR, up->efr); serial_omap_restore_context()
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250_omap.c85 u8 efr; member in struct:omap8250_priv
123 priv->efr |= UART_EFR_RTS; omap8250_set_mctrl()
125 priv->efr &= ~UART_EFR_RTS; omap8250_set_mctrl()
126 serial_out(up, UART_EFR, priv->efr); omap8250_set_mctrl()
275 serial_out(up, UART_EFR, priv->efr); omap8250_restore_regs()
419 priv->efr = 0; omap_8250_set_termios()
426 priv->efr |= UART_EFR_CTS; omap_8250_set_termios()
434 priv->efr |= OMAP_UART_SW_RX; omap_8250_set_termios()
443 priv->efr |= OMAP_UART_SW_TX; omap_8250_set_termios()
477 u8 efr; omap_8250_pm() local
481 efr = serial_in(up, UART_EFR); omap_8250_pm()
482 serial_out(up, UART_EFR, efr | UART_EFR_ECB); omap_8250_pm()
487 serial_out(up, UART_EFR, efr); omap_8250_pm()
H A D8250_core.c648 unsigned char lcr = 0, efr = 0; serial8250_set_sleep() local
666 efr = serial_in(p, UART_EFR); serial8250_set_sleep()
674 serial_out(p, UART_EFR, efr); serial8250_set_sleep()
2659 unsigned char efr = 0; serial8250_do_set_termios() local
2666 efr |= UART_EFR_CTS; serial8250_do_set_termios()
2670 serial_port_out(port, UART_XR_EFR, efr); serial8250_do_set_termios()
2672 serial_port_out(port, UART_EFR, efr); serial8250_do_set_termios()
/linux-4.1.27/drivers/iommu/
H A Damd_iommu_init.c102 u32 efr; member in struct:ivhd_header
1132 if ((h->efr != 0) && init_iommu_one()
1133 ((h->efr & (0xF << 13)) != 0) && init_iommu_one()
1134 ((h->efr & (0x3F << 17)) != 0)) { init_iommu_one()

Completed in 318 milliseconds