Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-mpc512x-psc.c159 size_t fifosz; in mpc512x_psc_spi_transfer_rxtx() local
167 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx()
168 txcount = min(fifosz, tx_len); in mpc512x_psc_spi_transfer_rxtx()
169 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx()
170 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx()
171 txcount = min(fifosz, txcount); in mpc512x_psc_spi_transfer_rxtx()
210 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx()
211 rxcount = min(fifosz, rx_len); in mpc512x_psc_spi_transfer_rxtx()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_dma.c154 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_rx() argument
176 csr6 = dwmac1000_configure_fc(csr6, fifosz); in dwmac1000_dma_operation_mode_rx()
183 u32 channel, int fifosz, u8 qmode) in dwmac1000_dma_operation_mode_tx() argument
H A Ddwxgmac2_dma.c147 int mode, u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_rx_mode() argument
150 unsigned int rqs = fifosz / 256 - 1; in dwxgmac2_dma_rx_mode()
169 if ((fifosz >= 4096) && (qmode != MTL_QUEUE_AVB)) { in dwxgmac2_dma_rx_mode()
181 switch (fifosz) { in dwxgmac2_dma_rx_mode()
213 int mode, u32 channel, int fifosz, u8 qmode) in dwxgmac2_dma_tx_mode() argument
216 unsigned int tqs = fifosz / 256 - 1; in dwxgmac2_dma_tx_mode()
H A Ddwmac4_dma.c263 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_rx_chan_op_mode() argument
266 unsigned int rqs = fifosz / 256 - 1; in dwmac4_dma_rx_chan_op_mode()
294 if ((fifosz >= 4096) && (qmode != MTL_QUEUE_AVB)) { in dwmac4_dma_rx_chan_op_mode()
305 switch (fifosz) { in dwmac4_dma_rx_chan_op_mode()
332 u32 channel, int fifosz, u8 qmode) in dwmac4_dma_tx_chan_op_mode() argument
337 unsigned int tqs = fifosz / 256 - 1; in dwmac4_dma_tx_chan_op_mode()
H A Ddwmac100_dma.c55 u32 channel, int fifosz, u8 qmode) in dwmac100_dma_operation_mode_tx() argument
H A Ddwmac-sun8i.c513 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_rx() argument
537 u32 channel, int fifosz, u8 qmode) in sun8i_dwmac_dma_operation_mode_tx() argument
H A Dhwif.h187 int fifosz, u8 qmode);
189 int mode, u32 channel, int fifosz, u8 qmode);
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_core.c51 writeb(idx, &musbr->dir##fifosz); \
/openbmc/linux/drivers/comedi/drivers/
H A Drtd520.c355 unsigned int fifosz; member
639 if (ai_read_n(dev, s, devpriv->fifosz / 2) < 0) in rtd_interrupt()
861 writel((devpriv->fifosz / 2 - 1) & 0xffff, dev->mmio + LAS0_ACNT); in rtd_ai_cmd()
890 if (devpriv->xfer_count >= (devpriv->fifosz / 2)) { in rtd_ai_cmd()
1305 devpriv->fifosz = ret; in rtd_auto_attach()