/linux-master/sound/drivers/ |
H A D | serial-u16550.c | 157 static inline void snd_uart16550_add_timer(struct snd_uart16550 *uart) argument 159 if (!uart->timer_running) { 161 mod_timer(&uart->buffer_timer, jiffies + (HZ + 255) / 256); 162 uart->timer_running = 1; 166 static inline void snd_uart16550_del_timer(struct snd_uart16550 *uart) argument 168 if (uart->timer_running) { 169 del_timer(&uart->buffer_timer); 170 uart->timer_running = 0; 175 static inline void snd_uart16550_buffer_output(struct snd_uart16550 *uart) argument 177 unsigned short buff_out = uart 192 snd_uart16550_io_loop(struct snd_uart16550 * uart) argument 281 struct snd_uart16550 *uart; local 300 struct snd_uart16550 *uart; local 314 snd_uart16550_detect(struct snd_uart16550 *uart) argument 356 snd_uart16550_do_open(struct snd_uart16550 * uart) argument 448 snd_uart16550_do_close(struct snd_uart16550 * uart) argument 502 struct snd_uart16550 *uart = substream->rmidi->private_data; local 516 struct snd_uart16550 *uart = substream->rmidi->private_data; local 531 struct snd_uart16550 *uart = substream->rmidi->private_data; local 544 struct snd_uart16550 *uart = substream->rmidi->private_data; local 558 struct snd_uart16550 *uart = substream->rmidi->private_data; local 569 snd_uart16550_buffer_can_write(struct snd_uart16550 *uart, int Num) argument 578 snd_uart16550_write_buffer(struct snd_uart16550 *uart, unsigned char byte) argument 595 snd_uart16550_output_byte(struct snd_uart16550 *uart, struct snd_rawmidi_substream *substream, unsigned char midi_byte) argument 636 struct snd_uart16550 *uart = substream->rmidi->private_data; local 727 struct snd_uart16550 *uart = substream->rmidi->private_data; local 762 struct snd_uart16550 *uart; local 832 snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, int outs, int ins, struct snd_rawmidi **rmidi) argument 862 struct snd_uart16550 *uart; local [all...] |
/linux-master/drivers/misc/ibmasm/ |
H A D | uart.c | 22 struct uart_8250_port uart; local 27 /* read the uart scratch register to determine if the UART 36 memset(&uart, 0, sizeof(uart)); 37 uart.port.irq = sp->irq; 38 uart.port.uartclk = 3686400; 39 uart.port.flags = UPF_SHARE_IRQ; 40 uart.port.iotype = UPIO_MEM; 41 uart.port.membase = iomem_base; 43 sp->serial_line = serial8250_register_8250_port(&uart); [all...] |
H A D | Makefile | 15 ibmasm-$(CONFIG_SERIAL_8250) += uart.o
|
/linux-master/arch/x86/include/asm/ |
H A D | serial.h | 25 { .uart = 0, BASE_BAUD, 0x3F8, 4, STD_COMX_FLAGS }, /* ttyS0 */ \ 26 { .uart = 0, BASE_BAUD, 0x2F8, 3, STD_COMX_FLAGS }, /* ttyS1 */ \ 27 { .uart = 0, BASE_BAUD, 0x3E8, 4, STD_COMX_FLAGS }, /* ttyS2 */ \ 28 { .uart = 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */
|
/linux-master/arch/mips/sgi-ip30/ |
H A D | ip30-console.c | 18 struct ioc3_uartregs *uart = console_uart(); local 20 while ((readb(&uart->iu_lsr) & 0x20) == 0) 23 writeb(c, &uart->iu_thr);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_tegra.c | 46 struct tegra_uart *uart; local 51 uart = devm_kzalloc(&pdev->dev, sizeof(*uart), GFP_KERNEL); 52 if (!uart) 84 uart->rst = devm_reset_control_get_optional_shared(&pdev->dev, NULL); 85 if (IS_ERR(uart->rst)) 86 return PTR_ERR(uart->rst); 89 uart->clk = devm_clk_get(&pdev->dev, NULL); 90 if (IS_ERR(uart->clk)) { 95 ret = clk_prepare_enable(uart 125 struct tegra_uart *uart = platform_get_drvdata(pdev); local 135 struct tegra_uart *uart = dev_get_drvdata(dev); local 149 struct tegra_uart *uart = dev_get_drvdata(dev); local [all...] |
H A D | 8250_pnp.c | 436 struct uart_8250_port uart, *port; local 445 memset(&uart, 0, sizeof(uart)); 447 uart.port.irq = pnp_irq(dev, 0); 449 uart.port.iobase = pnp_port_start(dev, 2); 450 uart.port.iotype = UPIO_PORT; 452 uart.port.iobase = pnp_port_start(dev, 0); 453 uart.port.iotype = UPIO_PORT; 455 uart.port.mapbase = pnp_mem_start(dev, 0); 456 uart [all...] |
H A D | 8250_parisc.c | 25 struct uart_8250_port uart; local 52 memset(&uart, 0, sizeof(uart)); 53 uart.port.iotype = UPIO_MEM; 55 uart.port.uartclk = (dev->id.sversion != 0xad) ? 57 uart.port.mapbase = address; 58 uart.port.membase = ioremap(address, 16); 59 if (!uart.port.membase) { 63 uart.port.irq = dev->irq; 64 uart [all...] |
H A D | 8250_hp300.c | 160 struct uart_8250_port uart; local 169 memset(&uart, 0, sizeof(uart)); 172 uart.port.iotype = UPIO_MEM; 173 uart.port.flags = UPF_SKIP_TEST | UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF; 174 uart.port.irq = d->ipl; 175 uart.port.uartclk = HPDCA_BAUD_BASE * 16; 176 uart.port.mapbase = (d->resource.start + UART_OFFSET); 177 uart.port.membase = (char *)(uart 209 struct uart_8250_port uart; local [all...] |
H A D | 8250_acorn.c | 43 struct uart_8250_port uart; local 62 memset(&uart, 0, sizeof(struct uart_8250_port)); 63 uart.port.irq = ec->irq; 64 uart.port.flags = UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ; 65 uart.port.uartclk = type->uartclk; 66 uart.port.iotype = UPIO_MEM; 67 uart.port.regshift = 2; 68 uart.port.dev = &ec->dev; 71 uart.port.membase = info->vaddr + type->offset[i]; 72 uart [all...] |
H A D | 8250_dfl.c | 52 static int dfl_uart_get_params(struct dfl_device *dfl_dev, struct uart_8250_port *uart) argument 63 uart->port.uartclk = clk_freq; 71 uart->port.type = PORT_ALTR_16550_F32; 75 uart->port.type = PORT_ALTR_16550_F64; 79 uart->port.type = PORT_ALTR_16550_F128; 90 uart->port.regshift = FIELD_GET(DFHv1_PARAM_REG_LAYOUT_SHIFT, reg_layout); 94 uart->port.iotype = UPIO_MEM32; 98 uart->port.iotype = UPIO_MEM16; 112 struct uart_8250_port uart = { }; local 116 uart [all...] |
H A D | 8250_core.c | 610 * Check whether an invalid uart number has been specified, and 654 * console=uart[8250],io|mmio|mmio16|mmio32,<addr>[,<options>] 655 * console=uart[8250],0x<addr>[,<options>] 667 char match[] = "uart"; /* 8250-specific earlycon name */ 836 struct uart_8250_port uart; local 839 memset(&uart, 0, sizeof(uart)); 845 uart.port.iobase = p->iobase; 846 uart.port.membase = p->membase; 847 uart 1016 struct uart_8250_port *uart; local 1189 struct uart_8250_port *uart = &serial8250_ports[line]; local [all...] |
H A D | 8250_lpc18xx.c | 93 struct uart_8250_port uart; local 103 memset(&uart, 0, sizeof(uart)); 105 uart.port.membase = devm_ioremap(&pdev->dev, res->start, 107 if (!uart.port.membase) 116 dev_err(&pdev->dev, "uart clock not found\n"); 134 dev_err(&pdev->dev, "unable to enable uart clock\n"); 141 spin_lock_init(&uart.port.lock); 142 uart.port.dev = &pdev->dev; 143 uart [all...] |
H A D | 8250_pxa.c | 56 { .compatible = "mrvl,pxa-uart", }, 57 { .compatible = "mrvl,mmp-uart", }, 92 struct uart_8250_port uart = {}; local 113 uart.port.type = PORT_XSCALE; 114 uart.port.mapbase = mmres->start; 115 uart.port.flags = UPF_IOREMAP | UPF_SKIP_TEST | UPF_FIXED_TYPE; 116 uart.port.dev = &pdev->dev; 117 uart.port.uartclk = clk_get_rate(data->clk); 118 uart.port.pm = serial_pxa_pm; 119 uart [all...] |
H A D | 8250_pericom.c | 89 struct uart_8250_port uart; local 113 memset(&uart, 0, sizeof(uart)); 115 uart.port.dev = &pdev->dev; 116 uart.port.irq = pdev->irq; 117 uart.port.private_data = pericom; 118 uart.port.iotype = UPIO_PORT; 119 uart.port.uartclk = 921600 * 16; 120 uart.port.flags = UPF_SKIP_TEST | UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ; 121 uart [all...] |
/linux-master/drivers/tty/serial/ |
H A D | men_z135_uart.c | 132 * @uart: The UART port 136 static inline void men_z135_reg_set(struct men_z135_port *uart, argument 139 struct uart_port *port = &uart->port; 143 spin_lock_irqsave(&uart->lock, flags); 149 spin_unlock_irqrestore(&uart->lock, flags); 154 * @uart: The UART port 158 static void men_z135_reg_clr(struct men_z135_port *uart, argument 161 struct uart_port *port = &uart->port; 165 spin_lock_irqsave(&uart->lock, flags); 171 spin_unlock_irqrestore(&uart 181 men_z135_handle_modem_status(struct men_z135_port *uart) argument 195 men_z135_handle_lsr(struct men_z135_port *uart) argument 220 get_rx_fifo_content(struct men_z135_port *uart) argument 243 men_z135_handle_rx(struct men_z135_port *uart) argument 293 men_z135_handle_tx(struct men_z135_port *uart) argument 384 struct men_z135_port *uart = (struct men_z135_port *)data; local 433 men_z135_request_irq(struct men_z135_port *uart) argument 546 struct men_z135_port *uart = to_men_z135(port); local 559 struct men_z135_port *uart = to_men_z135(port); local 573 struct men_z135_port *uart = to_men_z135(port); local 589 struct men_z135_port *uart = to_men_z135(port); local 602 struct men_z135_port *uart = to_men_z135(port); local 609 struct men_z135_port *uart = to_men_z135(port); local 635 struct men_z135_port *uart = to_men_z135(port); local 649 struct men_z135_port *uart = to_men_z135(port); local 729 struct men_z135_port *uart = to_men_z135(port); local 739 struct men_z135_port *uart = to_men_z135(port); local 809 struct men_z135_port *uart; local 863 struct men_z135_port *uart = mcb_get_drvdata(mdev); local [all...] |
H A D | timbuart.c | 55 struct timbuart_port *uart = local 59 tasklet_schedule(&uart->tasklet); 118 struct timbuart_port *uart = local 137 *ier |= uart->last_ier & TXFLAGS; 174 struct timbuart_port *uart = from_tasklet(uart, t, tasklet); local 177 uart_port_lock(&uart->port); 179 isr = ioread32(uart->port.membase + TIMBUART_ISR); 180 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr); 182 if (!uart 239 struct timbuart_port *uart = local 256 struct timbuart_port *uart = local 348 struct timbuart_port *uart = (struct timbuart_port *)devid; local 413 struct timbuart_port *uart; local 478 struct timbuart_port *uart = platform_get_drvdata(dev); local [all...] |
H A D | liteuart.c | 73 struct liteuart_port *uart = to_liteuart_port(port); local 76 uart->irq_reg |= mask; 78 uart->irq_reg &= ~mask; 81 litex_write8(port->membase + OFF_EV_ENABLE, uart->irq_reg); 96 struct liteuart_port *uart = to_liteuart_port(port); local 99 del_timer(&uart->timer); 133 struct liteuart_port *uart = data; local 134 struct uart_port *port = &uart->port; 143 isr = litex_read8(port->membase + OFF_EV_PENDING) & uart->irq_reg; 155 struct liteuart_port *uart local 183 struct liteuart_port *uart = to_liteuart_port(port); local 213 struct liteuart_port *uart = to_liteuart_port(port); local 282 struct liteuart_port *uart; local 376 struct liteuart_port *uart; local 390 struct liteuart_port *uart; local [all...] |
H A D | arc_uart.c | 76 #define UART_SET_DATA(uart, val) UART_REG_SET(uart, R_DATA, val) 77 #define UART_GET_DATA(uart) UART_REG_GET(uart, R_DATA) 79 #define UART_SET_BAUDH(uart, val) UART_REG_SET(uart, R_BAUDH, val) 80 #define UART_SET_BAUDL(uart, val) UART_REG_SET(uart, R_BAUDL, val) 82 #define UART_CLR_STATUS(uart, val) UART_REG_CLR(uart, R_ST 352 struct arc_uart_port *uart = to_arc_port(port); local 573 struct arc_uart_port *uart; local [all...] |
/linux-master/sound/drivers/mpu401/ |
H A D | Makefile | 8 snd-mpu401-uart-objs := mpu401_uart.o 10 obj-$(CONFIG_SND_MPU401_UART) += snd-mpu401-uart.o
|
/linux-master/drivers/dma/mediatek/ |
H A D | Makefile | 2 obj-$(CONFIG_MTK_UART_APDMA) += mtk-uart-apdma.o
|
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-console.c | 37 struct ioc3_uartregs *uart = console_uart(); local 39 while ((readb(&uart->iu_lsr) & 0x20) == 0) 41 writeb(c, &uart->iu_thr);
|
/linux-master/drivers/acpi/ |
H A D | spcr.c | 90 char *uart; local 136 uart = "pl011"; 142 uart = "uart"; 195 uart = "qdf2400_e44"; 210 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, 213 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, 223 err = add_preferred_console(uart, 0, opts + strlen(uart) + 1);
|
/linux-master/drivers/nfc/pn533/ |
H A D | Makefile | 7 pn532_uart-objs = uart.o
|
/linux-master/drivers/nfc/s3fwrn5/ |
H A D | Makefile | 8 s3fwrn82_uart-objs = uart.o
|