Searched refs:fifosz (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-mpc512x-psc.c169 size_t fifosz; mpc512x_psc_spi_transfer_rxtx() local
177 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); mpc512x_psc_spi_transfer_rxtx()
178 txcount = min(fifosz, tx_len); mpc512x_psc_spi_transfer_rxtx()
179 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); mpc512x_psc_spi_transfer_rxtx()
180 fifosz -= in_be32(&fifo->rxcnt) + 1; mpc512x_psc_spi_transfer_rxtx()
181 txcount = min(fifosz, txcount); mpc512x_psc_spi_transfer_rxtx()
220 fifosz = in_be32(&fifo->rxcnt); mpc512x_psc_spi_transfer_rxtx()
221 rxcount = min(fifosz, rx_len); mpc512x_psc_spi_transfer_rxtx()
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Drtd520.c365 unsigned fifosz; member in struct:rtd_private
649 if (ai_read_n(dev, s, devpriv->fifosz / 2) < 0) rtd_interrupt()
872 writel((devpriv->fifosz / 2 - 1) & 0xffff, dev->mmio + LAS0_ACNT); rtd_ai_cmd()
902 if (devpriv->xfer_count >= (devpriv->fifosz / 2)) { rtd_ai_cmd()
1317 devpriv->fifosz = ret; rtd_auto_attach()

Completed in 295 milliseconds