/drivers/tty/serial/ |
D | bfin_uart.c | 39 #define port_membase(uart) (((struct bfin_serial_port *)(uart))->port.membase) argument 40 #define get_lsr_cache(uart) (((struct bfin_serial_port *)(uart))->lsr) argument 41 #define put_lsr_cache(uart, v) (((struct bfin_serial_port *)(uart))->lsr = (v)) argument 78 static void bfin_serial_dma_tx_chars(struct bfin_serial_port *uart); 80 static void bfin_serial_tx_chars(struct bfin_serial_port *uart); 89 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; in bfin_serial_get_mctrl() local 90 if (uart->cts_pin < 0) in bfin_serial_get_mctrl() 94 if (UART_GET_CTS(uart)) in bfin_serial_get_mctrl() 102 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; in bfin_serial_set_mctrl() local 103 if (uart->rts_pin < 0) in bfin_serial_set_mctrl() [all …]
|
D | timbuart.c | 67 struct timbuart_port *uart = in timbuart_start_tx() local 71 tasklet_schedule(&uart->tasklet); in timbuart_start_tx() 133 struct timbuart_port *uart = in timbuart_handle_tx_port() local 152 *ier |= uart->last_ier & TXFLAGS; in timbuart_handle_tx_port() 189 struct timbuart_port *uart = (struct timbuart_port *)arg; in timbuart_tasklet() local 192 spin_lock(&uart->port.lock); in timbuart_tasklet() 194 isr = ioread32(uart->port.membase + TIMBUART_ISR); in timbuart_tasklet() 195 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr); in timbuart_tasklet() 197 if (!uart->usedma) in timbuart_tasklet() 198 timbuart_handle_tx_port(&uart->port, isr, &ier); in timbuart_tasklet() [all …]
|
D | vt8500_serial.c | 80 struct uart_port uart; member 101 uart); in vt8500_stop_tx() 111 uart); in vt8500_stop_rx() 121 uart); in vt8500_enable_ms() 209 uart); in vt8500_start_tx() 297 container_of(port, struct vt8500_port, uart); in vt8500_startup() 316 container_of(port, struct vt8500_port, uart); in vt8500_shutdown() 321 vt8500_write(&vt8500_port->uart, 0, VT8500_URIER); in vt8500_shutdown() 322 vt8500_write(&vt8500_port->uart, 0x880, VT8500_URFCR); in vt8500_shutdown() 331 container_of(port, struct vt8500_port, uart); in vt8500_set_termios() [all …]
|
D | 68328serial.c | 179 m68328_uart *uart = &uart_addr[info->line]; in rs_stop() local 186 uart->ustcnt &= ~USTCNT_TXEN; in rs_stop() 210 m68328_uart *uart = &uart_addr[info->line]; in rs_start() local 217 if (info->xmit_cnt && info->xmit_buf && !(uart->ustcnt & USTCNT_TXEN)) { in rs_start() 219 uart->ustcnt |= USTCNT_TXEN | USTCNT_TX_INTR_MASK; in rs_start() 221 uart->ustcnt |= USTCNT_TXEN; in rs_start() 249 m68328_uart *uart = &uart_addr[info->line]; in receive_chars() local 295 } while((rx = uart->urx.w) & URX_DATA_READY); in receive_chars() 306 m68328_uart *uart = &uart_addr[info->line]; in transmit_chars() local 310 uart->utx.b.txdata = info->x_char; in transmit_chars() [all …]
|
D | serial_txx9.c | 1036 struct uart_txx9_port *uart; in serial_txx9_register_port() local 1041 uart = &serial_txx9_ports[i]; in serial_txx9_register_port() 1042 if (uart_match_port(&uart->port, port)) { in serial_txx9_register_port() 1043 uart_remove_one_port(&serial_txx9_reg, &uart->port); in serial_txx9_register_port() 1050 uart = &serial_txx9_ports[i]; in serial_txx9_register_port() 1051 if (!(uart->port.iobase || uart->port.mapbase)) in serial_txx9_register_port() 1056 uart->port.iobase = port->iobase; in serial_txx9_register_port() 1057 uart->port.membase = port->membase; in serial_txx9_register_port() 1058 uart->port.irq = port->irq; in serial_txx9_register_port() 1059 uart->port.uartclk = port->uartclk; in serial_txx9_register_port() [all …]
|
D | ioc3_serial.c | 314 struct ioc3_uartregs __iomem *uart; in set_baud() local 339 uart = port->ip_uart_regs; in set_baud() 340 lcr = readb(&uart->iu_lcr); in set_baud() 342 writeb(lcr | UART_LCR_DLAB, &uart->iu_lcr); in set_baud() 343 writeb((unsigned char)divisor, &uart->iu_dll); in set_baud() 344 writeb((unsigned char)(divisor >> 8), &uart->iu_dlm); in set_baud() 345 writeb((unsigned char)prediv, &uart->iu_scr); in set_baud() 346 writeb((unsigned char)lcr, &uart->iu_lcr); in set_baud() 384 struct ioc3_uartregs __iomem *uart; in port_init() local 418 uart = port->ip_uart_regs; in port_init() [all …]
|
D | atmel_serial.c | 138 struct uart_port uart; /* uart */ member 179 to_atmel_uart_port(struct uart_port *uart) in to_atmel_uart_port() argument 181 return container_of(uart, struct atmel_uart_port, uart); in to_atmel_uart_port() 1464 struct uart_port *port = &atmel_port->uart; in atmel_init_port() 1548 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_write() 1621 struct uart_port *port = &atmel_ports[co->index].uart; in atmel_console_setup() 1672 port->uart.line = id; in atmel_console_init() 1803 port->uart.line = ret; in atmel_serial_probe() 1807 if (!atmel_use_dma_rx(&port->uart)) { in atmel_serial_probe() 1816 ret = uart_add_one_port(&atmel_uart, &port->uart); in atmel_serial_probe() [all …]
|
D | ioc4_serial.c | 713 struct ioc4_uartregs __iomem *uart; in set_baud() local 728 uart = port->ip_uart_regs; in set_baud() 729 lcr = readb(&uart->i4u_lcr); in set_baud() 730 writeb(lcr | UART_LCR_DLAB, &uart->i4u_lcr); in set_baud() 731 writeb((unsigned char)divisor, &uart->i4u_dll); in set_baud() 732 writeb((unsigned char)(divisor >> 8), &uart->i4u_dlm); in set_baud() 733 writeb(lcr, &uart->i4u_lcr); in set_baud() 831 struct ioc4_uartregs __iomem *uart; in port_init() local 853 uart = port->ip_uart_regs; in port_init() 854 writeb(0, &uart->i4u_lcr); in port_init() [all …]
|
D | m32r_sio.h | 34 unsigned int uart; member
|
D | msm_serial.c | 43 struct uart_port uart; member 727 .uart = { 736 .uart = { 745 .uart = { 759 return &msm_uart_ports[line].uart; in get_port_from_line()
|
D | Makefile | 81 obj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
|
/drivers/firmware/ |
D | pcdp.c | 23 setup_serial_console(struct pcdp_uart *uart) in setup_serial_console() argument 30 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY); in setup_serial_console() 32 mmio ? "mmio" : "io", uart->addr.address); in setup_serial_console() 33 if (uart->baud) { in setup_serial_console() 34 p += sprintf(p, ",%llu", uart->baud); in setup_serial_console() 35 if (uart->bits) { in setup_serial_console() 36 switch (uart->parity) { in setup_serial_console() 41 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console() 90 struct pcdp_uart *uart; in efi_setup_pcdp_console() local 112 for (i = 0, uart = pcdp->uart; i < pcdp->num_uarts; i++, uart++) { in efi_setup_pcdp_console() [all …]
|
D | pcdp.h | 109 struct pcdp_uart uart[0]; /* actual size is num_uarts */ member
|
/drivers/char/mwave/ |
D | mwavedd.c | 433 struct uart_port uart; in register_serial_portandirq() local 465 memset(&uart, 0, sizeof(struct uart_port)); in register_serial_portandirq() 467 uart.uartclk = 1843200; in register_serial_portandirq() 468 uart.iobase = port; in register_serial_portandirq() 469 uart.irq = irq; in register_serial_portandirq() 470 uart.iotype = UPIO_PORT; in register_serial_portandirq() 471 uart.flags = UPF_SHARE_IRQ; in register_serial_portandirq() 472 return serial8250_register_port(&uart); in register_serial_portandirq()
|
D | README | 28 If the mwave's uart irq has not been setup and stored in bios by the 30 irq used by the mwave uart to be configured. 33 If the uart io range has not been setup and stored in bios by the 35 io range used by the mwave uart to be configured.
|
/drivers/tty/serial/8250/ |
D | 8250.c | 3171 struct uart_8250_port *uart; in serial8250_register_port() local 3179 uart = serial8250_find_match_or_unused(port); in serial8250_register_port() 3180 if (uart) { in serial8250_register_port() 3181 uart_remove_one_port(&serial8250_reg, &uart->port); in serial8250_register_port() 3183 uart->port.iobase = port->iobase; in serial8250_register_port() 3184 uart->port.membase = port->membase; in serial8250_register_port() 3185 uart->port.irq = port->irq; in serial8250_register_port() 3186 uart->port.irqflags = port->irqflags; in serial8250_register_port() 3187 uart->port.uartclk = port->uartclk; in serial8250_register_port() 3188 uart->port.fifosize = port->fifosize; in serial8250_register_port() [all …]
|
D | 8250.h | 43 unsigned int uart; member
|
/drivers/staging/serial/ |
D | Kconfig | 2 bool "68360 SMC uart support" 8 bool "68360 SCC uart support"
|
/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 374 enum uart { c_uart_unknown, c_uart_8250, enum 380 static enum uart ser12_check_uart(unsigned int iobase) in ser12_check_uart() 383 enum uart u; in ser12_check_uart() 384 enum uart uart_tab[] = in ser12_check_uart() 416 enum uart u; in ser12_open()
|
D | baycom_ser_hdx.c | 433 enum uart { c_uart_unknown, c_uart_8250, enum 439 static enum uart ser12_check_uart(unsigned int iobase) in ser12_check_uart() 442 enum uart u; in ser12_check_uart() 443 enum uart uart_tab[] = in ser12_check_uart() 475 enum uart u; in ser12_open()
|
D | yam.c | 501 enum uart { enum 509 static enum uart yam_check_uart(unsigned int iobase) in yam_check_uart() 512 enum uart u; in yam_check_uart() 513 enum uart uart_tab[] = in yam_check_uart() 863 enum uart u; in yam_open()
|
/drivers/misc/ibmasm/ |
D | Makefile | 14 ibmasm-$(CONFIG_SERIAL_8250) += uart.o
|
/drivers/usb/serial/ |
D | ssu100.c | 116 unsigned short uart, in ssu100_getregister() argument 122 uart, data, sizeof(*data), 300); in ssu100_getregister() 128 unsigned short uart, in ssu100_setregister() argument 135 QT_SET_GET_REGISTER, 0x40, value, uart, in ssu100_setregister()
|
/drivers/staging/speakup/ |
D | serialio.h | 16 unsigned int uart; /* unused */ member
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 1146 static void __devinit ioc3_8250_register(struct ioc3_uartregs __iomem *uart) in ioc3_8250_register() argument 1157 .membase = (unsigned char __iomem *) uart, in ioc3_8250_register() 1158 .mapbase = (unsigned long) uart, in ioc3_8250_register() 1162 lcr = uart->iu_lcr; in ioc3_8250_register() 1163 uart->iu_lcr = lcr | UART_LCR_DLAB; in ioc3_8250_register() 1164 uart->iu_scr = COSMISC_CONSTANT, in ioc3_8250_register() 1165 uart->iu_lcr = lcr; in ioc3_8250_register() 1166 uart->iu_lcr; in ioc3_8250_register()
|