Home
last modified time | relevance | path

Searched refs:rx_bufs (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/include/uapi/linux/hsi/
Dcs-protocol.h72 __u32 rx_bufs; /* number of RX buffer slots */ member
95 __u32 rx_bufs; /* # of RX buffers */ member
/Linux-v5.10/drivers/hsi/clients/
Dcmt_speech.c100 unsigned int rx_bufs; member
596 cs_notify_data(payload, hi->rx_bufs); in cs_hsi_read_on_data_complete()
623 hi->rx_offsets[hi->rx_slot % hi->rx_bufs]); in cs_hsi_peek_on_data_complete()
788 static void set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) in set_buffer_sizes() argument
790 hi->rx_bufs = rx_bufs; in set_buffer_sizes()
792 hi->mmap_cfg->rx_bufs = rx_bufs; in set_buffer_sizes()
803 hi->rx_ptr_boundary = (rx_bufs << RX_PTR_BOUNDARY_SHIFT); in set_buffer_sizes()
806 hi->rx_ptr_boundary = hi->rx_bufs; in set_buffer_sizes()
814 (buf_cfg->rx_bufs + buf_cfg->tx_bufs); in check_buf_params()
818 if (buf_cfg->rx_bufs > CS_MAX_BUFFERS || in check_buf_params()
[all …]
/Linux-v5.10/drivers/net/ethernet/apple/
Dbmac.c70 struct sk_buff *rx_bufs[N_RX_RING]; member
487 if (bp->rx_bufs[i] != NULL) { in bmac_suspend()
488 dev_kfree_skb(bp->rx_bufs[i]); in bmac_suspend()
489 bp->rx_bufs[i] = NULL; in bmac_suspend()
616 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_init_rx_ring()
617 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_init_rx_ring()
707 skb = bp->rx_bufs[i]; in bmac_rxdma_intr()
708 bp->rx_bufs[i] = NULL; in bmac_rxdma_intr()
720 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_rxdma_intr()
721 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_rxdma_intr()
[all …]
Dmace.c53 struct sk_buff *rx_bufs[N_RX_RING]; member
416 if (mp->rx_bufs[i] != NULL) { in mace_clean_rings()
417 dev_kfree_skb(mp->rx_bufs[i]); in mace_clean_rings()
418 mp->rx_bufs[i] = NULL; in mace_clean_rings()
454 mp->rx_bufs[i] = skb; in mace_open()
461 mp->rx_bufs[i] = NULL; in mace_open()
906 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
933 mp->rx_bufs[i] = NULL; in mace_rxdma_intr()
955 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
960 mp->rx_bufs[i] = skb; in mace_rxdma_intr()
/Linux-v5.10/drivers/net/ethernet/aurora/
Dnb8800.c191 struct nb8800_rx_buf *rxb = &priv->rx_bufs[i]; in nb8800_alloc_rx()
225 struct page *page = priv->rx_bufs[i].page; in nb8800_receive()
226 int offset = priv->rx_bufs[i].offset; in nb8800_receive()
751 if (priv->rx_bufs) { in nb8800_dma_free()
753 if (priv->rx_bufs[i].page) in nb8800_dma_free()
754 put_page(priv->rx_bufs[i].page); in nb8800_dma_free()
756 kfree(priv->rx_bufs); in nb8800_dma_free()
757 priv->rx_bufs = NULL; in nb8800_dma_free()
838 priv->rx_bufs = kcalloc(n_rx, sizeof(*priv->rx_bufs), GFP_KERNEL); in nb8800_dma_init()
839 if (!priv->rx_bufs) in nb8800_dma_init()
Dnb8800.h248 struct nb8800_rx_buf *rx_bufs; member
/Linux-v5.10/drivers/net/ethernet/aeroflex/
Dgreth.h106 unsigned char *rx_bufs[GRETH_RXBD_NUM]; member
Dgreth.c216 kfree(greth->rx_bufs[i]); in greth_clean_rings()
273 greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
275 if (greth->rx_bufs[i] == NULL) { in greth_init_rings()
282 greth->rx_bufs[i], in greth_init_rings()
/Linux-v5.10/drivers/s390/net/
Dqeth_ethtool.c49 QETH_CARD_STAT("rx0 IO buffers", rx_bufs),
Dqeth_core.h453 u64 rx_bufs; member
Dqeth_core_main.c3020 unsigned int rx_bufs = card->qdio.in_buf_pool.buf_count; in qeth_init_qdio_queues() local
3032 for (i = 0; i < rx_bufs; i++) { in qeth_init_qdio_queues()
3038 card->qdio.in_q->next_buf_to_init = QDIO_BUFNR(rx_bufs); in qeth_init_qdio_queues()
3039 rc = do_QDIO(CARD_DDEV(card), QDIO_FLAG_SYNC_INPUT, 0, 0, rx_bufs); in qeth_init_qdio_queues()
5797 QETH_CARD_STAT_INC(card, rx_bufs); in qeth_rx_poll()
/Linux-v5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c859 char *rx_bufs; /* rx bufs on alpha, sparc, ... */ member
1200 lp->rx_bufs = (char *)(((long)(lp->rx_ring + NUM_RX_DESC in de4x5_hw_init()
3631 skb_put_data(p, lp->rx_bufs + lp->rx_old * RX_BUFF_SZ, tlen); in de4x5_alloc_rx_buff()
3632 skb_put_data(p, lp->rx_bufs, len - tlen); in de4x5_alloc_rx_buff()
3634 skb_put_data(p, lp->rx_bufs + lp->rx_old * RX_BUFF_SZ, len); in de4x5_alloc_rx_buff()