Home
last modified time | relevance | path

Searched refs:fifosize (Results 1 – 25 of 76) sorted by relevance

1234

/drivers/tty/serial/
Dapbuart.c77 unsigned int max_chars = port->fifosize; in apbuart_rx_chars()
146 count = port->fifosize >> 1; in apbuart_tx_chars()
353 int fifosize; in apbuart_scan_fifo_size() local
379 fifosize = 1; in apbuart_scan_fifo_size()
389 while (((status >> 20) & 0x3F) == fifosize) { in apbuart_scan_fifo_size()
390 fifosize++; in apbuart_scan_fifo_size()
395 fifosize--; in apbuart_scan_fifo_size()
400 if (fifosize == 0) in apbuart_scan_fifo_size()
401 fifosize = 1; in apbuart_scan_fifo_size()
403 return fifosize; in apbuart_scan_fifo_size()
[all …]
Dsamsung.c224 return ourport->port.fifosize; in s3c24xx_serial_rx_fifocnt()
982 .fifosize = 16,
993 .fifosize = 16,
1006 .fifosize = 16,
1019 .fifosize = 16,
1307 "samsung,uart-fifosize", &ourport->port.fifosize); in s3c24xx_serial_probe()
1309 if (!ourport->port.fifosize) { in s3c24xx_serial_probe()
1310 ourport->port.fifosize = (ourport->info->fifosize) ? in s3c24xx_serial_probe()
1311 ourport->info->fifosize : in s3c24xx_serial_probe()
1312 ourport->drv_data->fifosize[index]; in s3c24xx_serial_probe()
[all …]
Dsccnxp.c108 unsigned int fifosize; member
142 .fifosize = 3,
152 .fifosize = 3,
162 .fifosize = 3,
172 .fifosize = 16,
182 .fifosize = 16,
192 .fifosize = 256,
202 .fifosize = 3,
212 .fifosize = 3,
947 s->port[i].fifosize = s->chip->fifosize; in sccnxp_probe()
Dsamsung.h18 unsigned int fifosize; member
41 unsigned int fifosize[CONFIG_SERIAL_SAMSUNG_UARTS]; member
Dmsm_serial.c229 port->fifosize); in handle_tx()
418 watermark = (port->fifosize * 3) / 4; in msm_set_baud_rate()
458 if (likely(port->fifosize > 12)) in msm_startup()
459 rfr_level = port->fifosize - 12; in msm_startup()
461 rfr_level = port->fifosize; in msm_startup()
816 .fifosize = 64,
825 .fifosize = 64,
834 .fifosize = 64,
Dnwpserial.c382 up->port.fifosize = port->fifosize; in nwpserial_register_port()
394 up->port.fifosize = 16; in nwpserial_register_port()
462 up->port.fifosize = 16; in nwpserial_console_init()
Dof_serial.c102 port->fifosize = prop; in of_platform_serial_setup()
179 if (port.fifosize) in of_platform_serial_probe()
Damba-pl011.c155 unsigned int fifosize; /* vendor-specific */ member
271 .dst_maxburst = uap->fifosize >> 1, in pl011_dma_probe_initcall()
321 .src_maxburst = uap->fifosize >> 2, in pl011_dma_probe_initcall()
485 if (count < (uap->fifosize >> 1)) { in pl011_dma_tx_refill()
994 uap->port.fifosize = uap->fifosize; in pl011_dma_startup()
1001 uap->port.fifosize = PL011_DMA_BUFFER_SIZE; in pl011_dma_startup()
1261 count = uap->fifosize >> 1; in pl011_tx_chars()
1748 if (uap->fifosize > 1) in pl011_set_termios()
2173 uap->fifosize = vendor->get_fifosize(dev); in pl011_probe()
2179 uap->port.fifosize = uap->fifosize; in pl011_probe()
Dbcm63xx_uart.c336 max_count = port->fifosize - val; in bcm_uart_do_tx()
459 val |= (port->fifosize / 2) << UART_MCTL_RXFIFOTHRESH_SHIFT; in bcm_uart_startup()
460 val |= (port->fifosize / 2) << UART_MCTL_TXFIFOTHRESH_SHIFT; in bcm_uart_startup()
839 port->fifosize = 16; in bcm_uart_probe()
Dsh-sci.c548 return serial_port_in(port, SCTFDR) & ((port->fifosize << 1) - 1); in sci_txfill()
559 return port->fifosize - sci_txfill(port); in sci_txroom()
568 return serial_port_in(port, SCRFDR) & ((port->fifosize << 1) - 1); in sci_rxfill()
572 return serial_port_in(port, SCFDR) & ((port->fifosize << 1) - 1); in sci_rxfill()
1679 s->buf_len_rx = 2 * max(16, (int)port->fifosize); in sci_request_dma()
1973 port->fifosize / 2; in sci_set_termios()
2182 port->fifosize = 256; in sci_init_single()
2187 port->fifosize = 128; in sci_init_single()
2192 port->fifosize = 64; in sci_init_single()
2197 port->fifosize = 16; in sci_init_single()
[all …]
Dmux.c206 count = (port->fifosize) - UART_GET_FIFO_CNT(port); in mux_write()
491 port->fifosize = MUX_FIFO_SIZE; in mux_probe()
Dpch_uart.c706 dma_free_coherent(port->dev, port->fifosize, priv->rx_buf_virt, in pch_free_dma()
773 priv->rx_buf_virt = dma_alloc_coherent(port->dev, port->fifosize, in pch_request_dma()
1760 int fifosize; in pch_uart_init_port() local
1780 fifosize = 256; /* EG20T/ML7213: UART0 */ in pch_uart_init_port()
1783 fifosize = 64; /* EG20T:UART1~3 ML7213: UART1~2*/ in pch_uart_init_port()
1804 priv->fifo_size = fifosize; in pch_uart_init_port()
1815 priv->port.fifosize = fifosize; in pch_uart_init_port()
D21285.c257 if (port->fifosize) in serial21285_set_termios()
359 .fifosize = 16,
Dnetx-serial.c493 .fifosize = 16,
506 .fifosize = 16,
519 .fifosize = 16,
Damba-pl010.c186 count = uap->port.fifosize >> 1; in pl010_tx_chars()
409 if (uap->port.fifosize > 1) in pl010_set_termios()
712 uap->port.fifosize = 16; in pl010_probe()
Dmax310x.c593 if (unlikely(rxlen >= port->fifosize)) { in max310x_handle_rx()
599 rxlen = port->fifosize; in max310x_handle_rx()
667 txlen = port->fifosize - txlen; in max310x_handle_tx()
1215 s->p[i].port.fifosize = MAX310X_FIFO_SIZE; in max310x_probe()
Dserial_ks8695.c427 if (port->fifosize > 1) in ks8695uart_set_termios()
555 .fifosize = 16,
Dmeson_uart.c262 val = (AML_UART_RECV_IRQ(1) | AML_UART_XMIT_IRQ(port->fifosize / 2)); in meson_uart_startup()
568 port->fifosize = 64; in meson_uart_probe()
Dxilinx_uartps.c272 numbytes = port->fifosize; in cdns_uart_isr()
506 unsigned int status, numbytes = port->fifosize; in cdns_uart_start_tx()
1025 port->fifosize = CDNS_UART_FIFO_SIZE; in cdns_uart_get_port()
Dmxs-auart.c553 s->port.fifosize = UART_XMIT_SIZE; in mxs_auart_dma_init()
752 u->fifosize = MXS_AUART_FIFO_SIZE; in mxs_auart_startup()
1065 s->port.fifosize = MXS_AUART_FIFO_SIZE; in mxs_auart_probe()
Dar933x_uart.c342 count = up->port.fifosize; in ar933x_uart_tx_chars()
687 port->fifosize = AR933X_UART_FIFO_SIZE; in ar933x_uart_probe()
/drivers/mmc/host/
Dmmci.c88 unsigned int fifosize; member
110 .fifosize = 16 * 4,
119 .fifosize = 128 * 4,
127 .fifosize = 128 * 4,
136 .fifosize = 16 * 4,
151 .fifosize = 16 * 4,
166 .fifosize = 30 * 4,
185 .fifosize = 30 * 4,
206 .fifosize = 16 * 4,
607 if (data->blksz * data->blocks <= variant->fifosize) in __mmci_dma_prep_data()
[all …]
/drivers/tty/serial/8250/
D8250_dw.c251 p->fifosize = DW_UART_CPR_FIFO_SIZE(reg); in dw8250_setup_port()
252 up->tx_loadsz = p->fifosize; in dw8250_setup_port()
340 up->dma->rxconf.src_maxburst = p->fifosize / 4; in dw8250_probe_acpi()
341 up->dma->txconf.dst_maxburst = p->fifosize / 4; in dw8250_probe_acpi()
D8250_core.c1230 port->fifosize = uart_config[up->port.type].fifo_size; in autoconfig()
2044 if (!port->fifosize) in serial8250_do_startup()
2045 port->fifosize = uart_config[port->type].fifo_size; in serial8250_do_startup()
2432 if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) { in serial8250_do_set_termios()
2448 if (up->capabilities & UART_CAP_AFE && port->fifosize >= 32) { in serial8250_do_set_termios()
2802 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig()
2840 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1 || in do_set_rxtrig()
3137 if (!up->port.fifosize) in serial8250_init_fixed_type_port()
3138 up->port.fifosize = uart_config[type].fifo_size; in serial8250_init_fixed_type_port()
3329 p->fifosize = port->fifosize; in early_serial_setup()
[all …]
/drivers/isdn/hisax/
Dhfc_2bs0.c62 return (bcs->cs->hw.hfc.fifosize); in GetFreeFifoBytes()
65 s += bcs->cs->hw.hfc.fifosize; in GetFreeFifoBytes()
66 s = bcs->cs->hw.hfc.fifosize - s; in GetFreeFifoBytes()
111 rcnt += cs->hw.hfc.fifosize; in hfc_clear_fifo()
282 count += cs->hw.hfc.fifosize; in hfc_fill_fifo()
361 rcnt += cs->hw.hfc.fifosize; in main_irq_hfc()

1234