Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/tty/serial/
Dapbuart.c74 unsigned int max_chars = port->fifosize; in apbuart_rx_chars()
141 count = port->fifosize >> 1; in apbuart_tx_chars()
348 int fifosize; in apbuart_scan_fifo_size() local
374 fifosize = 1; in apbuart_scan_fifo_size()
384 while (((status >> 20) & 0x3F) == fifosize) { in apbuart_scan_fifo_size()
385 fifosize++; in apbuart_scan_fifo_size()
390 fifosize--; in apbuart_scan_fifo_size()
395 if (fifosize == 0) in apbuart_scan_fifo_size()
396 fifosize = 1; in apbuart_scan_fifo_size()
398 return fifosize; in apbuart_scan_fifo_size()
[all …]
Dsamsung_tty.c75 unsigned int fifosize; member
96 const unsigned int fifosize[UART_NR]; member
605 return ourport->port.fifosize; in s3c24xx_serial_rx_fifocnt()
770 int max_count = port->fifosize; in s3c24xx_serial_rx_drain_fifo()
909 if (count > port->fifosize) { in s3c24xx_serial_tx_chars()
910 count = port->fifosize; in s3c24xx_serial_tx_chars()
1834 port->fifosize = 16; in s3c24xx_serial_init_port_default()
2182 "samsung,uart-fifosize", &ourport->port.fifosize); in s3c24xx_serial_probe()
2200 if (ourport->drv_data->fifosize[index]) in s3c24xx_serial_probe()
2201 ourport->port.fifosize = ourport->drv_data->fifosize[index]; in s3c24xx_serial_probe()
[all …]
Dsccnxp.c106 unsigned int fifosize; member
142 .fifosize = 3,
153 .fifosize = 3,
164 .fifosize = 3,
175 .fifosize = 16,
186 .fifosize = 16,
197 .fifosize = 256,
208 .fifosize = 3,
219 .fifosize = 3,
992 s->port[i].fifosize = s->chip->fifosize; in sccnxp_probe()
Dsh-sci.c109 unsigned int fifosize; member
188 .fifosize = 1,
210 .fifosize = 1,
234 .fifosize = 64,
259 .fifosize = 256,
284 .fifosize = 16,
312 .fifosize = 16,
334 .fifosize = 16,
358 .fifosize = 16,
385 .fifosize = 16,
[all …]
Damba-pl011.c260 unsigned int fifosize; /* vendor-specific */ member
407 .dst_maxburst = uap->fifosize >> 1, in pl011_dma_probe()
463 .src_maxburst = uap->fifosize >> 2, in pl011_dma_probe()
611 if (count < (uap->fifosize >> 1)) { in pl011_dma_tx_refill()
1122 uap->port.fifosize = uap->fifosize; in pl011_dma_startup()
1129 uap->port.fifosize = PL011_DMA_BUFFER_SIZE; in pl011_dma_startup()
1293 const int MAX_TX_DRAIN_ITERS = uap->port.fifosize * 2; in pl011_rs485_tx_stop()
1468 int count = uap->fifosize >> 1; in pl011_tx_chars()
1817 for (i = 0; i < uap->fifosize * 2; ++i) { in pl011_enable_interrupts()
2100 if (uap->fifosize > 1) in pl011_set_termios()
[all …]
Dmeson_uart.c301 val = (AML_UART_RECV_IRQ(1) | AML_UART_XMIT_IRQ(port->fifosize / 2)); in meson_uart_startup()
698 u32 fifosize = 64; /* Default is 64, 128 for EE UART_0 */ in meson_uart_probe() local
727 of_property_read_u32(pdev->dev.of_node, "fifo-size", &fifosize); in meson_uart_probe()
753 port->fifosize = fifosize; in meson_uart_probe()
Dmsm_serial.c931 if (pio_count > port->fifosize) in msm_handle_tx()
932 pio_count = port->fifosize; in msm_handle_tx()
1162 watermark = (port->fifosize * 3) / 4; in msm_set_baud_rate()
1209 if (likely(port->fifosize > 12)) in msm_startup()
1210 rfr_level = port->fifosize - 12; in msm_startup()
1212 rfr_level = port->fifosize; in msm_startup()
1569 .fifosize = 64,
1578 .fifosize = 64,
1587 .fifosize = 64,
Dbcm63xx_uart.c327 max_count = port->fifosize - val; in bcm_uart_do_tx()
450 val |= (port->fifosize / 2) << UART_MCTL_RXFIFOTHRESH_SHIFT; in bcm_uart_startup()
451 val |= (port->fifosize / 2) << UART_MCTL_TXFIFOTHRESH_SHIFT; in bcm_uart_startup()
851 port->fifosize = 16; in bcm_uart_probe()
Dmux.c198 count = (port->fifosize) - UART_GET_FIFO_CNT(port); in mux_write()
478 port->fifosize = MUX_FIFO_SIZE; in mux_probe()
Dpch_uart.c650 dma_free_coherent(port->dev, port->fifosize, priv->rx_buf_virt, in pch_free_dma()
719 priv->rx_buf_virt = dma_alloc_coherent(port->dev, port->fifosize, in pch_request_dma()
1680 int fifosize; in pch_uart_init_port() local
1698 fifosize = 256; /* EG20T/ML7213: UART0 */ in pch_uart_init_port()
1701 fifosize = 64; /* EG20T:UART1~3 ML7213: UART1~2*/ in pch_uart_init_port()
1722 priv->fifo_size = fifosize; in pch_uart_init_port()
1733 priv->port.fifosize = fifosize; in pch_uart_init_port()
D21285.c293 if (port->fifosize) in serial21285_set_termios()
395 .fifosize = 16,
Damba-pl010.c181 count = port->fifosize >> 1; in pl010_tx_chars()
406 if (port->fifosize > 1) in pl010_set_termios()
715 uap->port.fifosize = 16; in pl010_probe()
/linux-6.1.9/drivers/tty/serial/8250/
D8250_ingenic.c27 int fifosize; member
245 uart.port.fifosize = cdata->fifosize; in ingenic_uart_probe()
311 .fifosize = 16,
316 .fifosize = 32,
321 .fifosize = 64,
326 .fifosize = 64,
D8250_of.c131 port->fifosize = prop; in of_platform_serial_setup()
225 if (port8250.port.fifosize) in of_platform_serial_probe()
231 (tx_threshold < port8250.port.fifosize)) in of_platform_serial_probe()
232 port8250.tx_loadsz = port8250.port.fifosize - tx_threshold; in of_platform_serial_probe()
D8250_core.c726 p->fifosize = port->fifosize; in early_serial_setup()
1003 uart->port.fifosize = up->port.fifosize; in serial8250_register_8250_port()
1024 if (uart->port.fifosize && !uart->tx_loadsz) in serial8250_register_8250_port()
1025 uart->tx_loadsz = uart->port.fifosize; in serial8250_register_8250_port()
D8250_port.c1325 port->fifosize = uart_config[up->port.type].fifo_size; in autoconfig()
2186 if (!port->fifosize) in serial8250_do_startup()
2187 port->fifosize = uart_config[port->type].fifo_size; in serial8250_do_startup()
2291 (port->type == PORT_ALTR_16550_F128)) && (port->fifosize > 1)) { in serial8250_do_startup()
2293 if ((up->tx_loadsz < 2) || (up->tx_loadsz > port->fifosize)) { in serial8250_do_startup()
2299 port->fifosize - up->tx_loadsz); in serial8250_do_startup()
2780 if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) { in serial8250_do_set_termios()
3081 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1) in do_get_rxtrig()
3118 if (!(up->capabilities & UART_CAP_FIFO) || uport->fifosize <= 1 || in do_set_rxtrig()
3287 if (!up->port.fifosize) in serial8250_set_defaults()
[all …]
D8250_dw.c654 if (p->fifosize) { in dw8250_probe()
655 data->data.dma.rxconf.src_maxburst = p->fifosize / 4; in dw8250_probe()
656 data->data.dma.txconf.dst_maxburst = p->fifosize / 4; in dw8250_probe()
D8250_pxa.c126 uart.port.fifosize = 64; in serial_pxa_probe()
/linux-6.1.9/drivers/i2c/busses/
Di2c-jz4780.c135 int fifosize; member
478 if (rd_left <= i2c->cdata->fifosize) in jz4780_i2c_irq()
485 int max_send = (i2c->cdata->fifosize - 1) in jz4780_i2c_irq()
492 i2c->cdata->fifosize in jz4780_i2c_irq()
584 if (len <= i2c->cdata->fifosize) in jz4780_i2c_xfer_read()
740 .fifosize = JZ4780_I2C_FIFO_LEN,
748 .fifosize = X1000_I2C_FIFO_LEN,
/linux-6.1.9/drivers/mmc/host/
Dmmci.c55 .fifosize = 16 * 4,
74 .fifosize = 128 * 4,
92 .fifosize = 128 * 4,
111 .fifosize = 16 * 4,
136 .fifosize = 16 * 4,
162 .fifosize = 30 * 4,
196 .fifosize = 30 * 4,
231 .fifosize = 32 * 4,
255 .fifosize = 16 * 4,
281 .fifosize = 16 * 4,
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/serial/
Dsamsung_uart.yaml77 samsung,uart-fifosize:
144 samsung,uart-fifosize = <16>;
/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_core.c545 u32 fifosize; in get_ep_fifo_config() local
548 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
551 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
554 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNRXFFSZ); in get_ep_fifo_config()
557 rx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
561 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
564 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
/linux-6.1.9/arch/arm64/boot/dts/exynos/
Dexynosautov9.dtsi411 samsung,uart-fifosize = <256>;
502 samsung,uart-fifosize = <256>;
593 samsung,uart-fifosize = <64>;
684 samsung,uart-fifosize = <64>;
775 samsung,uart-fifosize = <64>;
866 samsung,uart-fifosize = <64>;
957 samsung,uart-fifosize = <256>;
1048 samsung,uart-fifosize = <64>;
1139 samsung,uart-fifosize = <64>;
1230 samsung,uart-fifosize = <64>;
[all …]
Dexynos7885.dtsi318 samsung,uart-fifosize = <64>;
331 samsung,uart-fifosize = <256>;
344 samsung,uart-fifosize = <256>;
/linux-6.1.9/arch/arm/mach-cns3xxx/
Dcns3420vb.c102 .fifosize = 16, in cns3420_early_serial_setup()

1234