Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/spi/
Dspi-mpc512x-psc.c165 size_t fifosz; in mpc512x_psc_spi_transfer_rxtx() local
173 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx()
174 txcount = min(fifosz, tx_len); in mpc512x_psc_spi_transfer_rxtx()
175 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx()
176 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx()
177 txcount = min(fifosz, txcount); in mpc512x_psc_spi_transfer_rxtx()
216 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx()
217 rxcount = min(fifosz, rx_len); in mpc512x_psc_spi_transfer_rxtx()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_dma.c205 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_rx_chan_op_mode() argument
207 unsigned int rqs = fifosz / 256 - 1; in dwmac4_dma_rx_chan_op_mode()
235 if ((fifosz >= 4096) && (qmode != MTL_QUEUE_AVB)) { in dwmac4_dma_rx_chan_op_mode()
246 switch (fifosz) { in dwmac4_dma_rx_chan_op_mode()
277 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_tx_chan_op_mode() argument
280 unsigned int tqs = fifosz / 256 - 1; in dwmac4_dma_tx_chan_op_mode()
Ddwmac1000_dma.c151 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_rx() argument
173 csr6 = dwmac1000_configure_fc(csr6, fifosz); in dwmac1000_dma_operation_mode_rx()
179 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_tx() argument
Ddwxgmac2_dma.c143 u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_rx_mode() argument
146 unsigned int rqs = fifosz / 256 - 1; in dwxgmac2_dma_rx_mode()
165 if ((fifosz >= 4096) && (qmode != MTL_QUEUE_AVB)) { in dwxgmac2_dma_rx_mode()
177 switch (fifosz) { in dwxgmac2_dma_rx_mode()
209 u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_tx_mode() argument
212 unsigned int tqs = fifosz / 256 - 1; in dwxgmac2_dma_tx_mode()
Ddwmac100_dma.c54 u32 channel, int fifosz, u8 qmode) in dwmac100_dma_operation_mode_tx() argument
Ddwmac-sun8i.c473 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_rx() argument
496 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_tx() argument
Dhwif.h187 int fifosz, u8 qmode);
189 int fifosz, u8 qmode);
/Linux-v5.10/drivers/staging/comedi/drivers/
Drtd520.c356 unsigned int fifosz; member
640 if (ai_read_n(dev, s, devpriv->fifosz / 2) < 0) in rtd_interrupt()
862 writel((devpriv->fifosz / 2 - 1) & 0xffff, dev->mmio + LAS0_ACNT); in rtd_ai_cmd()
891 if (devpriv->xfer_count >= (devpriv->fifosz / 2)) { in rtd_ai_cmd()
1306 devpriv->fifosz = ret; in rtd_auto_attach()