Home
last modified time | relevance | path

Searched refs:consume (Results 1 – 13 of 13) sorted by relevance

/drivers/spi/
Dspi-tegra210-quad.c374 unsigned int i, count, consume, write_bytes; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf() local
380 consume = tqspi->curr_dma_words * tqspi->bytes_per_word; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
381 if (consume > t->len - tqspi->cur_pos) in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
382 consume = t->len - tqspi->cur_pos; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
383 write_bytes = consume; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
387 for (i = 0; consume && (i < tqspi->bytes_per_word); i++, consume--) in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
410 unsigned int i, count, consume, read_bytes; in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf() local
417 consume = tqspi->curr_dma_words * tqspi->bytes_per_word; in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
418 if (consume > t->len - tqspi->cur_pos) in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
419 consume = t->len - tqspi->cur_pos; in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
[all …]
Dspi-tegra114.c404 unsigned consume = tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_copy_client_txbuf_to_spi_txbuf() local
407 if (consume > t->len - tspi->cur_pos) in tegra_spi_copy_client_txbuf_to_spi_txbuf()
408 consume = t->len - tspi->cur_pos; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
409 write_bytes = consume; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
413 for (i = 0; consume && (i < tspi->bytes_per_word); in tegra_spi_copy_client_txbuf_to_spi_txbuf()
414 i++, consume--) in tegra_spi_copy_client_txbuf_to_spi_txbuf()
444 unsigned consume = tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() local
447 if (consume > t->len - tspi->cur_pos) in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
448 consume = t->len - tspi->cur_pos; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
449 read_bytes = consume; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
[all …]
Dspi-tegra20-slink.c375 unsigned consume = tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_copy_client_txbuf_to_spi_txbuf() local
379 for (i = 0; consume && (i < tspi->bytes_per_word); in tegra_slink_copy_client_txbuf_to_spi_txbuf()
380 i++, consume--) in tegra_slink_copy_client_txbuf_to_spi_txbuf()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c713 int consume; in qtnf_pcie_pearl_rx_poll() local
730 consume = 1; in qtnf_pcie_pearl_rx_poll()
734 consume = 0; in qtnf_pcie_pearl_rx_poll()
739 consume = 0; in qtnf_pcie_pearl_rx_poll()
745 consume = 0; in qtnf_pcie_pearl_rx_poll()
755 if (consume) { in qtnf_pcie_pearl_rx_poll()
Dtopaz_pcie.c617 int consume; in qtnf_topaz_rx_poll() local
636 consume = 1; in qtnf_topaz_rx_poll()
640 consume = 0; in qtnf_topaz_rx_poll()
645 consume = 0; in qtnf_topaz_rx_poll()
651 consume = 0; in qtnf_topaz_rx_poll()
660 if (consume) { in qtnf_topaz_rx_poll()
/drivers/net/wireless/ath/ath10k/
Dhtc.c98 bool consume) in ath10k_htc_consume_credit() argument
114 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit()
119 if (consume) { in ath10k_htc_consume_credit()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h429 void (*consume)(struct dpaa2_eth_priv *priv, member
Ddpaa2-eth.c634 fq->consume(priv, ch, fd, fq); in dpaa2_eth_consume_frames()
2904 priv->fq[priv->num_fqs].consume = dpaa2_eth_tx_conf; in dpaa2_eth_setup_fqs()
2911 priv->fq[priv->num_fqs].consume = dpaa2_eth_rx; in dpaa2_eth_setup_fqs()
2919 priv->fq[priv->num_fqs++].consume = dpaa2_eth_rx_err; in dpaa2_eth_setup_fqs()
/drivers/net/
Dmacvlan.c424 bool consume = false; in macvlan_forward_source() local
429 consume = true; in macvlan_forward_source()
434 return consume; in macvlan_forward_source()
/drivers/net/ethernet/mellanox/mlx4/
Deq.c160 goto consume; in mlx4_gen_slave_eqe()
163 goto consume; in mlx4_gen_slave_eqe()
188 consume: in mlx4_gen_slave_eqe()
/drivers/scsi/aic7xxx/
Daic7xxx.seq65 * automatically consume the entries.
Daic79xx.seq169 * Since this status did not consume a FIFO, we have to
/drivers/video/fbdev/
DKconfig2059 buffer device, while it does consume precious memory. The main use