Home
last modified time | relevance | path

Searched refs:fifosz (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/spi/
Dspi-mpc512x-psc.c169 size_t fifosz; in mpc512x_psc_spi_transfer_rxtx() local
177 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx()
178 txcount = min(fifosz, tx_len); in mpc512x_psc_spi_transfer_rxtx()
179 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx()
180 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx()
181 txcount = min(fifosz, txcount); in mpc512x_psc_spi_transfer_rxtx()
220 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx()
221 rxcount = min(fifosz, rx_len); in mpc512x_psc_spi_transfer_rxtx()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_dma.c197 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_rx_chan_op_mode() argument
199 unsigned int rqs = fifosz / 256 - 1; in dwmac4_dma_rx_chan_op_mode()
227 if ((fifosz >= 4096) && (qmode != MTL_QUEUE_AVB)) { in dwmac4_dma_rx_chan_op_mode()
238 switch (fifosz) { in dwmac4_dma_rx_chan_op_mode()
279 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_tx_chan_op_mode() argument
282 unsigned int tqs = fifosz / 256 - 1; in dwmac4_dma_tx_chan_op_mode()
Ddwmac1000_dma.c161 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_rx() argument
183 csr6 = dwmac1000_configure_fc(csr6, fifosz); in dwmac1000_dma_operation_mode_rx()
189 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_tx() argument
Ddwxgmac2_dma.c128 u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_rx_mode() argument
131 unsigned int rqs = fifosz / 256 - 1; in dwxgmac2_dma_rx_mode()
158 u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_tx_mode() argument
161 unsigned int tqs = fifosz / 256 - 1; in dwxgmac2_dma_tx_mode()
Ddwmac100_dma.c64 u32 channel, int fifosz, u8 qmode) in dwmac100_dma_operation_mode_tx() argument
Dhwif.h161 int fifosz, u8 qmode);
163 int fifosz, u8 qmode);
Ddwmac-sun8i.c452 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_rx() argument
475 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_tx() argument
/Linux-v4.19/drivers/staging/comedi/drivers/
Drtd520.c356 unsigned int fifosz; member
640 if (ai_read_n(dev, s, devpriv->fifosz / 2) < 0) in rtd_interrupt()
863 writel((devpriv->fifosz / 2 - 1) & 0xffff, dev->mmio + LAS0_ACNT); in rtd_ai_cmd()
892 if (devpriv->xfer_count >= (devpriv->fifosz / 2)) { in rtd_ai_cmd()
1307 devpriv->fifosz = ret; in rtd_auto_attach()