Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/tty/serial/
Dapbuart.c74 unsigned int max_chars = port->fifosize; in apbuart_rx_chars()
143 count = port->fifosize >> 1; in apbuart_tx_chars()
350 int fifosize; in apbuart_scan_fifo_size() local
376 fifosize = 1; in apbuart_scan_fifo_size()
386 while (((status >> 20) & 0x3F) == fifosize) { in apbuart_scan_fifo_size()
387 fifosize++; in apbuart_scan_fifo_size()
392 fifosize--; in apbuart_scan_fifo_size()
397 if (fifosize == 0) in apbuart_scan_fifo_size()
398 fifosize = 1; in apbuart_scan_fifo_size()
400 return fifosize; in apbuart_scan_fifo_size()
[all …]
Dsirfsoc_uart.h112 full_bit = ilog2(port->fifosize); in uart_usp_ff_full_mask()
120 empty_bit = ilog2(port->fifosize) + 1; in uart_usp_ff_empty_mask()
337 #define SIRFUART_FIFO_THD(port) (port->fifosize >> 1)
445 #define SIRFUART_FIFOLEVEL_MASK(port) ((port->fifosize - 1) & 0xFFF)
446 #define SIRFUART_FIFOFULL_MASK(port) (port->fifosize & 0xFFF)
447 #define SIRFUART_FIFOEMPTY_MASK(port) ((port->fifosize & 0xFFF) << 1)
Dstm32-usart.h30 int fifosize; member
58 .fifosize = 1,
79 .fifosize = 1,
102 .fifosize = 16,
Dsamsung_tty.c62 unsigned int fifosize; member
82 unsigned int fifosize[CONFIG_SERIAL_SAMSUNG_UARTS]; member
560 return ourport->port.fifosize; in s3c24xx_serial_rx_fifocnt()
722 int max_count = port->fifosize; in s3c24xx_serial_rx_drain_fifo()
866 if (count > port->fifosize) { in s3c24xx_serial_tx_chars()
867 count = port->fifosize; in s3c24xx_serial_tx_chars()
1653 .fifosize = 16,
1664 .fifosize = 16,
1676 .fifosize = 16,
1689 .fifosize = 16,
[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,
991 s->port[i].fifosize = s->chip->fifosize; in sccnxp_probe()
Dsh-sci.c108 unsigned int fifosize; member
187 .fifosize = 1,
209 .fifosize = 1,
233 .fifosize = 64,
258 .fifosize = 256,
283 .fifosize = 16,
310 .fifosize = 16,
332 .fifosize = 16,
356 .fifosize = 16,
383 .fifosize = 16,
[all …]
Damba-pl011.c264 unsigned int fifosize; /* vendor-specific */ member
408 .dst_maxburst = uap->fifosize >> 1, in pl011_dma_probe()
464 .src_maxburst = uap->fifosize >> 2, in pl011_dma_probe()
612 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()
1389 int count = uap->fifosize >> 1; in pl011_tx_chars()
1733 for (i = 0; i < uap->fifosize * 2; ++i) { in pl011_enable_interrupts()
1993 if (uap->fifosize > 1) in pl011_set_termios()
2587 uap->port.fifosize = uap->fifosize; in pl011_setup_port()
[all …]
Dmsm_serial.c922 if (pio_count > port->fifosize) in msm_handle_tx()
923 pio_count = port->fifosize; in msm_handle_tx()
1153 watermark = (port->fifosize * 3) / 4; in msm_set_baud_rate()
1200 if (likely(port->fifosize > 12)) in msm_startup()
1201 rfr_level = port->fifosize - 12; in msm_startup()
1203 rfr_level = port->fifosize; in msm_startup()
1561 .fifosize = 64,
1570 .fifosize = 64,
1579 .fifosize = 64,
Dbcm63xx_uart.c329 max_count = port->fifosize - val; in bcm_uart_do_tx()
452 val |= (port->fifosize / 2) << UART_MCTL_RXFIFOTHRESH_SHIFT; in bcm_uart_startup()
453 val |= (port->fifosize / 2) << UART_MCTL_TXFIFOTHRESH_SHIFT; in bcm_uart_startup()
854 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.c683 dma_free_coherent(port->dev, port->fifosize, priv->rx_buf_virt, in pch_free_dma()
750 priv->rx_buf_virt = dma_alloc_coherent(port->dev, port->fifosize, in pch_request_dma()
1735 int fifosize; in pch_uart_init_port() local
1755 fifosize = 256; /* EG20T/ML7213: UART0 */ in pch_uart_init_port()
1758 fifosize = 64; /* EG20T:UART1~3 ML7213: UART1~2*/ in pch_uart_init_port()
1779 priv->fifo_size = fifosize; in pch_uart_init_port()
1790 priv->port.fifosize = fifosize; in pch_uart_init_port()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_ingenic.c27 int fifosize; member
247 uart.port.fifosize = cdata->fifosize; in ingenic_uart_probe()
313 .fifosize = 16,
318 .fifosize = 32,
323 .fifosize = 64,
328 .fifosize = 64,
D8250_of.c131 port->fifosize = prop; in of_platform_serial_setup()
220 if (port8250.port.fifosize) in of_platform_serial_probe()
226 (tx_threshold < port8250.port.fifosize)) in of_platform_serial_probe()
227 port8250.tx_loadsz = port8250.port.fifosize - tx_threshold; in of_platform_serial_probe()
D8250_core.c729 p->fifosize = port->fifosize; in early_serial_setup()
1005 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_dwlib.c116 p->fifosize = DW_UART_CPR_FIFO_SIZE(reg); in dw8250_setup_port()
D8250_dw.c578 if (p->fifosize) { in dw8250_probe()
579 data->data.dma.rxconf.src_maxburst = p->fifosize / 4; in dw8250_probe()
580 data->data.dma.txconf.dst_maxburst = p->fifosize / 4; in dw8250_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dsirf-uart.txt8 - fifosize : Should define hardware rx/tx fifo size
23 fifosize = <128>;
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-jz4780.c135 int fifosize; member
479 if (rd_left <= i2c->cdata->fifosize) in jz4780_i2c_irq()
486 int max_send = (i2c->cdata->fifosize - 1) in jz4780_i2c_irq()
493 i2c->cdata->fifosize in jz4780_i2c_irq()
585 if (len <= i2c->cdata->fifosize) in jz4780_i2c_xfer_read()
741 .fifosize = JZ4780_I2C_FIFO_LEN,
749 .fifosize = X1000_I2C_FIFO_LEN,
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmci.c54 .fifosize = 16 * 4,
73 .fifosize = 128 * 4,
91 .fifosize = 128 * 4,
110 .fifosize = 16 * 4,
135 .fifosize = 16 * 4,
161 .fifosize = 30 * 4,
195 .fifosize = 30 * 4,
230 .fifosize = 32 * 4,
254 .fifosize = 16 * 4,
280 .fifosize = 16 * 4,
[all …]
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_core.c506 u32 fifosize; in get_ep_fifo_config() local
509 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
512 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
515 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNRXFFSZ); in get_ep_fifo_config()
518 rx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
522 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
525 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dprima2.dtsi233 fifosize = <128>;
244 fifosize = <32>;
253 fifosize = <128>;
264 fifosize = <128>;
275 fifosize = <128>;
286 fifosize = <128>;
Datlas6.dtsi227 fifosize = <128>;
238 fifosize = <32>;
248 fifosize = <128>;
259 fifosize = <128>;
270 fifosize = <128>;
Datlas7.dtsi1277 fifosize = <128>;
1288 fifosize = <32>;
1297 fifosize = <128>;
1308 fifosize = <128>;
1319 fifosize = <128>;
1330 fifosize = <128>;
1750 fifosize = <512>;
1814 fifosize = <128>;
1825 fifosize = <512>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dcsr,atlas7-car.txt46 fifosize = <32>;
/kernel/linux/linux-5.10/arch/arm/mach-cns3xxx/
Dcns3420vb.c102 .fifosize = 16, in cns3420_early_serial_setup()

1234