/linux/drivers/tty/serial/ |
A D | pxa.c | 106 ch = serial_in(up, UART_RX); in receive_chars() 247 iir = serial_in(up, UART_IIR); in serial_pxa_irq() 251 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 361 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 362 (void) serial_in(up, UART_RX); in serial_pxa_startup() 363 (void) serial_in(up, UART_IIR); in serial_pxa_startup() 364 (void) serial_in(up, UART_MSR); in serial_pxa_startup() 388 (void) serial_in(up, UART_RX); in serial_pxa_startup() 535 dll = serial_in(up, UART_DLL); in serial_pxa_set_termios() 656 ier = serial_in(up, UART_IER); in serial_pxa_console_write() [all …]
|
A D | sprd_serial.c | 183 iclr = serial_in(port, SPRD_ICLR); in sprd_stop_rx() 184 ien = serial_in(port, SPRD_IEN); in sprd_stop_rx() 530 ien = serial_in(port, SPRD_IEN); in sprd_stop_tx() 550 ien = serial_in(port, SPRD_IEN); in sprd_start_tx() 609 lsr = serial_in(port, SPRD_LSR); in sprd_rx() 610 ch = serial_in(port, SPRD_RXD); in sprd_rx() 668 ims = serial_in(port, SPRD_IMSR); in sprd_handle_irq() 726 serial_in(port, SPRD_RXD); in sprd_startup() 750 fc = serial_in(port, SPRD_CTL1); in sprd_startup() 756 ien = serial_in(port, SPRD_IEN); in sprd_startup() [all …]
|
A D | sunsu.c | 178 value = serial_in(up, UART_ICR); 436 status = serial_in(up, UART_MSR); in check_modem_status() 562 status = serial_in(up, UART_MSR); in sunsu_get_mctrl() 764 (void) serial_in(up, UART_RX); in sunsu_shutdown() 991 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1071 save_mcr = serial_in(up, UART_MCR); in sunsu_autoconfig() 1072 save_lcr = serial_in(up, UART_LCR); in sunsu_autoconfig() 1116 if (serial_in(up, UART_EFR) == 0) in sunsu_autoconfig() 1174 (void)serial_in(up, UART_RX); in sunsu_autoconfig() 1264 status = serial_in(up, UART_LSR); in wait_for_xmitr() [all …]
|
A D | omap-serial.c | 472 serial_in(up, UART_RX); in serial_omap_rlsi() 527 ch = serial_in(up, UART_RX); in serial_omap_rdi() 560 iir = serial_in(up, UART_IIR); in serial_omap_irq() 565 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 661 lcr = serial_in(up, UART_LCR); in serial_omap_set_mctrl() 721 (void) serial_in(up, UART_LSR); in serial_omap_startup() 723 (void) serial_in(up, UART_RX); in serial_omap_startup() 724 (void) serial_in(up, UART_IIR); in serial_omap_startup() 725 (void) serial_in(up, UART_MSR); in serial_omap_startup() 1071 efr = serial_in(up, UART_EFR); in serial_omap_pm() [all …]
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_port.c | 477 p->serial_in = mem_serial_in; in set_io_from_upio() 498 p->serial_in = au_serial_in; in set_io_from_upio() 506 p->serial_in = io_serial_in; in set_io_from_upio() 871 serial_in(up, UART_RX); in size_fifo() 1352 serial_in(up, UART_RX); in autoconfig() 1411 serial_in(up, UART_LSR); in autoconfig_irq() 1412 serial_in(up, UART_RX); in autoconfig_irq() 1413 serial_in(up, UART_IIR); in autoconfig_irq() 1414 serial_in(up, UART_MSR); in autoconfig_irq() 1718 ch = serial_in(up, UART_RX); in serial8250_read_char() [all …]
|
A D | 8250_dw.c | 89 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 99 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_check_lcr() 240 unsigned int iir = p->serial_in(p, UART_IIR); in dw8250_handle_irq() 256 status = p->serial_in(p, UART_LSR); in dw8250_handle_irq() 259 (void) p->serial_in(p, UART_RX); in dw8250_handle_irq() 269 (void)p->serial_in(p, d->usr_reg); in dw8250_handle_irq() 400 p->serial_in = dw8250_serial_inq; in dw8250_quirks() 411 p->serial_in = dw8250_serial_in32be; in dw8250_quirks() 421 p->serial_in = dw8250_serial_in32; in dw8250_quirks() 463 p->serial_in = dw8250_serial_in; in dw8250_probe() [all …]
|
A D | 8250_fsl.c | 35 iir = port->serial_in(port, UART_IIR); in fsl8250_handle_irq() 44 port->serial_in(port, UART_RX); in fsl8250_handle_irq() 49 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); in fsl8250_handle_irq() 61 up->ier = port->serial_in(port, UART_IER); in fsl8250_handle_irq()
|
A D | 8250_mtk.c | 155 int lcr = serial_in(up, UART_LCR); in mtk8250_dma_enable() 221 serial_out(up, UART_IER, serial_in(up, UART_IER) & (~mask)); in mtk8250_disable_intrs() 226 serial_out(up, UART_IER, serial_in(up, UART_IER) | mask); in mtk8250_enable_intrs() 232 int lcr = serial_in(up, UART_LCR); in mtk8250_set_flow_ctrl() 237 lcr = serial_in(up, UART_LCR); in mtk8250_set_flow_ctrl() 244 serial_out(up, UART_EFR, serial_in(up, UART_EFR) & in mtk8250_set_flow_ctrl() 259 (serial_in(up, UART_EFR) & in mtk8250_set_flow_ctrl() 274 (serial_in(up, UART_EFR) & in mtk8250_set_flow_ctrl() 419 (serial_in(up, MTK_UART_DEBUG0)); in mtk8250_runtime_suspend()
|
A D | 8250.h | 113 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in() function 115 return up->port.serial_in(&up->port, offset); in serial_in() 232 mctrl = serial_in(up, UART_MCR); in serial8250_in_MCR() 333 status = serial_in(up, 0x04); /* EXCR2 */ in ns16550a_goto_highspeed()
|
A D | 8250_em.c | 70 return serial_in(up, UART_DLL_EM) | serial_in(up, UART_DLM_EM) << 8; in serial8250_em_serial_dl_read() 118 up.port.serial_in = serial8250_em_serial_in; in serial8250_em_probe()
|
A D | 8250_core.c | 268 ier = serial_in(up, UART_IER); in serial8250_backup_timeout() 272 iir = serial_in(up, UART_IIR); in serial8250_backup_timeout() 280 lsr = serial_in(up, UART_LSR); in serial8250_backup_timeout() 731 if (port->serial_in) in early_serial_setup() 732 p->serial_in = port->serial_in; in early_serial_setup() 757 if (serial_in(up, UART_SCR) == canary) in serial8250_suspend_port() 821 uart.port.serial_in = p->serial_in; in serial8250_probe() 1045 if (up->port.serial_in) in serial8250_register_8250_port() 1046 uart->port.serial_in = up->port.serial_in; in serial8250_register_8250_port()
|
A D | 8250_omap.c | 173 lcr = serial_in(up, UART_LCR); in omap8250_set_mctrl() 212 serial_in(up, UART_LSR)); in omap_8250_mdr1_errataset() 267 old_scr = serial_in(up, UART_OMAP_SCR); in omap8250_update_scr() 525 efr = serial_in(up, UART_EFR); in omap_8250_pm() 830 reg = serial_in(p, UART_OMAP_IER2); in __dma_rx_do_complete() 972 reg = serial_in(p, UART_OMAP_IER2); in omap_8250_rx_dma() 1076 tx_lvl = serial_in(p, UART_OMAP_TX_LVL); in omap_8250_tx_dma() 1165 serial_in(up, UART_IIR); in am654_8250_handle_rx_dma() 1539 val = serial_in(up, UART_OMAP_SCR); in omap8250_lost_context() 1572 sysc = serial_in(up, UART_OMAP_SYSC); in omap8250_soft_reset() [all …]
|
A D | 8250_tegra.c | 30 status = p->serial_in(p, UART_LSR); in tegra_uart_handle_break() 34 p->serial_in(p, UART_RX); in tegra_uart_handle_break()
|
A D | 8250_early.c | 54 return port->serial_in(port, reg_offset); in serial8250_early_in() 209 dev->port.serial_in = au_serial_in; in early_au_setup()
|
A D | 8250_ingenic.c | 170 ier = p->serial_in(p, UART_IER); in ingenic_uart_serial_out() 242 uart.port.serial_in = ingenic_uart_serial_in; in ingenic_uart_probe()
|
A D | 8250_ioc3.c | 68 up.port.serial_in = ioc3_serial_in; in serial8250_ioc3_probe()
|
A D | 8250_pxa.c | 73 dll = serial_in(up, UART_DLL); in serial_pxa_dl_write()
|
/linux/arch/x86/kernel/ |
A D | early_printk.c | 107 static unsigned int (*serial_in)(unsigned long addr, int offset) = io_serial_in; variable 114 while ((serial_in(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc() 139 c = serial_in(early_serial_base, LCR); in early_serial_hw_init() 187 serial_in = io_serial_in; in early_serial_init() 281 serial_in = io_serial_in; in early_pci_serial_init() 288 serial_in = mem32_serial_in; in early_pci_serial_init()
|
/linux/arch/mips/kernel/ |
A D | early_printk_8250.c | 24 static inline u8 serial_in(int offset) in serial_in() function 46 status = serial_in(UART_LSR); in prom_putchar()
|
/linux/arch/mips/boot/compressed/ |
A D | uart-16550.c | 34 static inline unsigned int serial_in(int offset) in serial_in() function 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux/arch/mips/ar7/ |
A D | prom.c | 241 static inline unsigned int serial_in(int offset) in serial_in() function 253 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) in prom_putchar()
|
/linux/drivers/fsi/ |
A D | fsi-master-gpio.c | 112 static void serial_in(struct fsi_master_gpio *master, struct fsi_gpio_msg *msg, in serial_in() function 349 serial_in(master, &msg, 1); in read_one_response() 364 serial_in(master, &msg, 4); in read_one_response() 370 serial_in(master, &msg, data_size * 8); in read_one_response() 373 serial_in(master, &msg, FSI_CRC_SIZE); in read_one_response()
|
/linux/arch/x86/platform/ce4100/ |
A D | ce4100.c | 107 up->serial_in = ce4100_mem_serial_in; in ce4100_serial_fixup()
|
/linux/include/linux/ |
A D | serial_8250.h | 31 unsigned int (*serial_in)(struct uart_port *, int); member
|
A D | serial_core.h | 110 unsigned int (*serial_in)(struct uart_port *, int); member 263 return up->serial_in(up, offset); in serial_port_in()
|