/drivers/tty/serial/ |
H A D | bfin_uart.c | 15 #define DRIVER_NAME "bfin-uart" 39 #define port_membase(uart) (((struct bfin_serial_port *)(uart))->port.membase) 40 #define get_lsr_cache(uart) (((struct bfin_serial_port *)(uart))->lsr) 41 #define put_lsr_cache(uart, v) (((struct bfin_serial_port *)(uart))->lsr = (v)) 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 local 102 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 118 struct bfin_serial_port *uart = dev_id; local 154 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 182 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 206 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 228 bfin_serial_rx_chars(struct bfin_serial_port *uart) argument 335 bfin_serial_tx_chars(struct bfin_serial_port *uart) argument 371 struct bfin_serial_port *uart = dev_id; local 381 struct bfin_serial_port *uart = dev_id; local 393 bfin_serial_dma_tx_chars(struct bfin_serial_port *uart) argument 431 bfin_serial_dma_rx_chars(struct bfin_serial_port *uart) argument 481 bfin_serial_rx_dma_timeout(struct bfin_serial_port *uart) argument 525 struct bfin_serial_port *uart = dev_id; local 555 struct bfin_serial_port *uart = dev_id; local 588 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 600 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 612 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 759 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 803 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 907 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 932 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 956 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 974 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 993 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 1004 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 1070 bfin_serial_console_get_options(struct bfin_serial_port *uart, int *baud, int *parity, int *bits) argument 1121 struct bfin_serial_port *uart = (struct bfin_serial_port *)port; local 1138 struct bfin_serial_port *uart = bfin_serial_ports[co->index]; local 1150 struct bfin_serial_port *uart; local 1244 struct bfin_serial_port *uart = platform_get_drvdata(pdev); local 1251 struct bfin_serial_port *uart = platform_get_drvdata(pdev); local 1259 struct bfin_serial_port *uart = NULL; local 1415 struct bfin_serial_port *uart = platform_get_drvdata(pdev); local [all...] |
H A D | timbuart.c | 67 struct timbuart_port *uart = local 71 tasklet_schedule(&uart->tasklet); 133 struct timbuart_port *uart = local 152 *ier |= uart->last_ier & TXFLAGS; 189 struct timbuart_port *uart = (struct timbuart_port *)arg; local 192 spin_lock(&uart->port.lock); 194 isr = ioread32(uart->port.membase + TIMBUART_ISR); 195 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr); 197 if (!uart->usedma) 198 timbuart_handle_tx_port(&uart 259 struct timbuart_port *uart = local 276 struct timbuart_port *uart = local 366 struct timbuart_port *uart = (struct timbuart_port *)devid; local 432 struct timbuart_port *uart; local 497 struct timbuart_port *uart = platform_get_drvdata(dev); local [all...] |
H A D | vt8500_serial.c | 80 struct uart_port uart; member in struct:vt8500_port 101 uart); 111 uart); 121 uart); 209 uart); 297 container_of(port, struct vt8500_port, uart); 316 container_of(port, struct vt8500_port, uart); 321 vt8500_write(&vt8500_port->uart, 0, VT8500_URIER); 322 vt8500_write(&vt8500_port->uart, 0x880, VT8500_URFCR); 331 container_of(port, struct vt8500_port, uart); [all...] |
H A D | 68328serial.c | 179 m68328_uart *uart = &uart_addr[info->line]; local 186 uart->ustcnt &= ~USTCNT_TXEN; 210 m68328_uart *uart = &uart_addr[info->line]; local 217 if (info->xmit_cnt && info->xmit_buf && !(uart->ustcnt & USTCNT_TXEN)) { 219 uart->ustcnt |= USTCNT_TXEN | USTCNT_TX_INTR_MASK; 221 uart->ustcnt |= USTCNT_TXEN; 249 m68328_uart *uart = &uart_addr[info->line]; local 295 } while((rx = uart->urx.w) & URX_DATA_READY); 306 m68328_uart *uart = &uart_addr[info->line]; local 310 uart 343 m68328_uart *uart; local 363 m68328_uart *uart = &uart_addr[info->line]; local 418 m68328_uart *uart = &uart_addr[info->line]; local 493 m68328_uart *uart = &uart_addr[info->line]; local 612 m68328_uart *uart = &uart_addr[info->line]; local 661 m68328_uart *uart = &uart_addr[info->line]; local 880 m68328_uart *uart = &uart_addr[info->line]; local 900 m68328_uart *uart = &uart_addr[info->line]; local 991 m68328_uart *uart = &uart_addr[info->line]; local [all...] |
H A D | m32r_sio.h | 34 unsigned int uart; member in struct:old_serial_port
|
H A D | serial_txx9.c | 494 * Console polling routines for writing and reading from the uart while 956 * Check whether an invalid uart number has been specified, and 1036 struct uart_txx9_port *uart; local 1041 uart = &serial_txx9_ports[i]; 1042 if (uart_match_port(&uart->port, port)) { 1043 uart_remove_one_port(&serial_txx9_reg, &uart->port); 1050 uart = &serial_txx9_ports[i]; 1051 if (!(uart->port.iobase || uart->port.mapbase)) 1056 uart 1083 struct uart_txx9_port *uart = &serial_txx9_ports[line]; local [all...] |
H A D | ioc3_serial.c | 125 /* uart ports are allocated here */ 314 struct ioc3_uartregs __iomem *uart; local 339 uart = port->ip_uart_regs; 340 lcr = readb(&uart->iu_lcr); 342 writeb(lcr | UART_LCR_DLAB, &uart->iu_lcr); 343 writeb((unsigned char)divisor, &uart->iu_dll); 344 writeb((unsigned char)(divisor >> 8), &uart->iu_dlm); 345 writeb((unsigned char)prediv, &uart->iu_scr); 346 writeb((unsigned char)lcr, &uart->iu_lcr); 352 * get_ioc3_port - given a uart por 384 struct ioc3_uartregs __iomem *uart; local [all...] |
H A D | atmel_serial.c | 138 struct uart_port uart; /* uart */ member in struct:atmel_uart_port 139 struct clk *clk; /* uart clock */ 179 to_atmel_uart_port(struct uart_port *uart) argument 181 return container_of(uart, struct atmel_uart_port, uart); 1464 struct uart_port *port = &atmel_port->uart; 1548 struct uart_port *port = &atmel_ports[co->index].uart; 1621 struct uart_port *port = &atmel_ports[co->index].uart; 1672 port->uart [all...] |
H A D | ioc4_serial.c | 171 uart 0 mode select */ 173 uart 1 mode select */ 175 uart 2 mode select */ 177 uart 3 mode select */ 409 /* uart ports are allocated here - 1 for rs232, 1 for rs422 */ 642 * @uart_port: uart port to test for 713 struct ioc4_uartregs __iomem *uart; local 728 uart = port->ip_uart_regs; 729 lcr = readb(&uart->i4u_lcr); 730 writeb(lcr | UART_LCR_DLAB, &uart 831 struct ioc4_uartregs __iomem *uart; local [all...] |
H A D | Makefile | 81 obj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
|
H A D | msm_serial.c | 43 struct uart_port uart; member in struct:msm_port 727 .uart = { 736 .uart = { 745 .uart = { 759 return &msm_uart_ports[line].uart; 930 { .compatible = "qcom,msm-uart" },
|
/drivers/firmware/ |
H A D | pcdp.c | 23 setup_serial_console(struct pcdp_uart *uart) argument 30 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY); 32 mmio ? "mmio" : "io", uart->addr.address); 33 if (uart->baud) { 34 p += sprintf(p, ",%llu", uart->baud); 35 if (uart->bits) { 36 switch (uart->parity) { 41 p += sprintf(p, "%c%d", parity, uart->bits); 45 add_preferred_console("uart", 8250, &options[9]); 90 struct pcdp_uart *uart; local [all...] |
H A D | pcdp.h | 109 struct pcdp_uart uart[0]; /* actual size is num_uarts */ member in struct:pcdp
|
/drivers/misc/ibmasm/ |
H A D | Makefile | 14 ibmasm-$(CONFIG_SERIAL_8250) += uart.o
|
/drivers/staging/speakup/ |
H A D | serialio.h | 16 unsigned int uart; /* unused */ member in struct:old_serial_port
|
/drivers/char/mwave/ |
H A D | mwavedd.c | 433 struct uart_port uart; local 465 memset(&uart, 0, sizeof(struct uart_port)); 467 uart.uartclk = 1843200; 468 uart.iobase = port; 469 uart.irq = irq; 470 uart.iotype = UPIO_PORT; 471 uart.flags = UPF_SHARE_IRQ; 472 return serial8250_register_port(&uart); 662 /* uart is registered */
|
/drivers/mtd/nand/ |
H A D | nand_bcm_umi.c | 19 #include <uart.h>
|
/drivers/tty/serial/8250/ |
H A D | 8250.h | 43 unsigned int uart; member in struct:old_serial_port
|
H A D | 8250.c | 596 * We set the port uart clock rate if we succeed. 1875 * Console polling routines for writing and reading from the uart while 2863 * Check whether an invalid uart number has been specified, and 3171 struct uart_8250_port *uart; local 3179 uart = serial8250_find_match_or_unused(port); 3180 if (uart) { 3181 uart_remove_one_port(&serial8250_reg, &uart->port); 3183 uart->port.iobase = port->iobase; 3184 uart->port.membase = port->membase; 3185 uart 3237 struct uart_8250_port *uart = &serial8250_ports[line]; local [all...] |
/drivers/net/hamradio/ |
H A 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) 383 enum uart u; 384 enum uart uart_tab[] = 416 enum uart u; 472 printk(KERN_INFO "%s: ser_fdx at iobase 0x%lx irq %u baud %u uart %s\n",
|
H A 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) 442 enum uart u; 443 enum uart uart_tab[] = 475 enum uart u; 508 printk(KERN_INFO "%s: ser12 at iobase 0x%lx irq %u uart %s\n",
|
H A D | yam.c | 243 #define ENABLE_RXINT IER_RX /* enable uart rx interrupt during rx */ 244 #define ENABLE_TXINT IER_MSR /* enable uart ms interrupt during tx */ 501 enum uart { enum 509 static enum uart yam_check_uart(unsigned int iobase) 512 enum uart u; 513 enum uart uart_tab[] = 863 enum uart u; 881 printk(KERN_ERR "%s: cannot find uart type\n", dev->name); 911 printk(KERN_INFO "%s at iobase 0x%lx irq %u uart %s\n", dev->name, dev->base_addr, dev->irq,
|
/drivers/usb/serial/ |
H A D | ssu100.c | 116 unsigned short uart, 122 uart, data, sizeof(*data), 300); 128 unsigned short uart, 135 QT_SET_GET_REGISTER, 0x40, value, uart, 281 dbg("%s - set uart failed", __func__); 341 dbg("%s - set uart failed", __func__); 115 ssu100_getregister(struct usb_device *dev, unsigned short uart, unsigned short reg, u8 *data) argument 127 ssu100_setregister(struct usb_device *dev, unsigned short uart, unsigned short reg, u16 data) argument
|
/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 1146 static void __devinit ioc3_8250_register(struct ioc3_uartregs __iomem *uart) argument 1157 .membase = (unsigned char __iomem *) uart, 1158 .mapbase = (unsigned long) uart, 1162 lcr = uart->iu_lcr; 1163 uart->iu_lcr = lcr | UART_LCR_DLAB; 1164 uart->iu_scr = COSMISC_CONSTANT, 1165 uart->iu_lcr = lcr; 1166 uart->iu_lcr;
|
/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 121 extern int efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart,
|