Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/hsi/
Dcs-protocol.h58 __u32 rx_bufs; /* number of RX buffer slots */ member
81 __u32 rx_bufs; /* # of RX buffers */ member
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/apple/
Dbmac.c69 struct sk_buff *rx_bufs[N_RX_RING]; member
486 if (bp->rx_bufs[i] != NULL) { in bmac_suspend()
487 dev_kfree_skb(bp->rx_bufs[i]); in bmac_suspend()
488 bp->rx_bufs[i] = NULL; in bmac_suspend()
612 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_init_rx_ring()
613 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_init_rx_ring()
703 skb = bp->rx_bufs[i]; in bmac_rxdma_intr()
704 bp->rx_bufs[i] = NULL; in bmac_rxdma_intr()
716 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_rxdma_intr()
717 bp->rx_bufs[i] = skb = netdev_alloc_skb(dev, RX_BUFLEN + 2); in bmac_rxdma_intr()
[all …]
Dmace.c52 struct sk_buff *rx_bufs[N_RX_RING]; member
419 if (mp->rx_bufs[i] != NULL) { in mace_clean_rings()
420 dev_kfree_skb(mp->rx_bufs[i]); in mace_clean_rings()
421 mp->rx_bufs[i] = NULL; in mace_clean_rings()
457 mp->rx_bufs[i] = skb; in mace_open()
464 mp->rx_bufs[i] = NULL; in mace_open()
909 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
936 mp->rx_bufs[i] = NULL; in mace_rxdma_intr()
958 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
963 mp->rx_bufs[i] = skb; in mace_rxdma_intr()
/linux-6.12.1/drivers/net/ethernet/renesas/
Drswitch.c246 if (gq->rx_bufs[index]) in rswitch_gwca_queue_alloc_rx_buf()
248 gq->rx_bufs[index] = netdev_alloc_frag(RSWITCH_BUF_SIZE); in rswitch_gwca_queue_alloc_rx_buf()
249 if (!gq->rx_bufs[index]) in rswitch_gwca_queue_alloc_rx_buf()
258 skb_free_frag(gq->rx_bufs[index]); in rswitch_gwca_queue_alloc_rx_buf()
259 gq->rx_bufs[index] = NULL; in rswitch_gwca_queue_alloc_rx_buf()
277 skb_free_frag(gq->rx_bufs[i]); in rswitch_gwca_queue_free()
278 kfree(gq->rx_bufs); in rswitch_gwca_queue_free()
279 gq->rx_bufs = NULL; in rswitch_gwca_queue_free()
314 gq->rx_bufs = kcalloc(gq->ring_size, sizeof(*gq->rx_bufs), GFP_KERNEL); in rswitch_gwca_queue_alloc()
315 if (!gq->rx_bufs) in rswitch_gwca_queue_alloc()
[all …]
Drswitch.h968 void **rx_bufs; member
/linux-6.12.1/drivers/tty/serial/8250/
D8250_bcm7271.c220 void *rx_bufs; member
473 priv->rx_bufs + (index * RX_BUF_SIZE), in brcmuart_rx_buf_done_isr()
894 if (priv->rx_bufs) in brcmuart_free_bufs()
895 dma_free_coherent(dev, priv->rx_size, priv->rx_bufs, in brcmuart_free_bufs()
1070 priv->rx_bufs = dma_alloc_coherent(dev, in brcmuart_probe()
1073 if (!priv->rx_bufs) { in brcmuart_probe()
/linux-6.12.1/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()
274 greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
276 if (greth->rx_bufs[i] == NULL) { in greth_init_rings()
283 greth->rx_bufs[i], in greth_init_rings()
/linux-6.12.1/drivers/net/ethernet/fungible/funeth/
Dfuneth_txrx.h135 u64 rx_bufs; /* total # of Rx buffers provided to device */ member
Dfuneth_rx.c525 q->stats.rx_bufs += q->rq_cons - q->rq_cons_db; in fun_rxq_napi_poll()
658 q->stats.rx_bufs = q->rq_mask; in fun_rxq_create_sw()
Dfuneth_ethtool.c826 ADD_STAT(rxs.rx_bufs); in fun_get_ethtool_stats()
/linux-6.12.1/drivers/s390/net/
Dqeth_ethtool.c50 QETH_CARD_STAT("rx0 IO buffers", rx_bufs),
Dqeth_core.h442 u64 rx_bufs; member
Dqeth_core_main.c2986 unsigned int rx_bufs = card->qdio.in_buf_pool.buf_count; in qeth_init_qdio_queues() local
2998 for (i = 0; i < rx_bufs; i++) { in qeth_init_qdio_queues()
3004 card->qdio.in_q->next_buf_to_init = QDIO_BUFNR(rx_bufs); in qeth_init_qdio_queues()
3005 rc = qdio_add_bufs_to_input_queue(CARD_DDEV(card), 0, 0, rx_bufs); in qeth_init_qdio_queues()
5806 QETH_CARD_STAT_INC(card, rx_bufs); in qeth_rx_poll()