Searched refs:uart (Results 1 - 25 of 33) sorted by relevance

12

/drivers/tty/serial/
H A Dbfin_uart.c15 #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 Dtimbuart.c67 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 Dvt8500_serial.c80 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 D68328serial.c179 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 Dm32r_sio.h34 unsigned int uart; member in struct:old_serial_port
H A Dserial_txx9.c494 * 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 Dioc3_serial.c125 /* 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 Datmel_serial.c138 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 Dioc4_serial.c171 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 DMakefile81 obj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
H A Dmsm_serial.c43 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 Dpcdp.c23 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 Dpcdp.h109 struct pcdp_uart uart[0]; /* actual size is num_uarts */ member in struct:pcdp
/drivers/misc/ibmasm/
H A DMakefile14 ibmasm-$(CONFIG_SERIAL_8250) += uart.o
/drivers/staging/speakup/
H A Dserialio.h16 unsigned int uart; /* unused */ member in struct:old_serial_port
/drivers/char/mwave/
H A Dmwavedd.c433 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 Dnand_bcm_umi.c19 #include <uart.h>
/drivers/tty/serial/8250/
H A D8250.h43 unsigned int uart; member in struct:old_serial_port
H A D8250.c596 * 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 Dbaycom_ser_fdx.c374 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 Dbaycom_ser_hdx.c433 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 Dyam.c243 #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 Dssu100.c116 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 Dioc3-eth.c1146 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 Dmcdi.h121 extern int efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart,

Completed in 1043 milliseconds

12