Home
last modified time | relevance | path

Searched refs:rx_buff (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/arc/
Demac_main.c182 struct buffer_state *rx_buff = &priv->rx_buff[*last_rx_bd]; in arc_emac_rx() local
240 dma_unmap_single(&ndev->dev, dma_unmap_addr(rx_buff, addr), in arc_emac_rx()
241 dma_unmap_len(rx_buff, len), DMA_FROM_DEVICE); in arc_emac_rx()
246 skb_put(rx_buff->skb, pktlen); in arc_emac_rx()
247 rx_buff->skb->dev = ndev; in arc_emac_rx()
248 rx_buff->skb->protocol = eth_type_trans(rx_buff->skb, ndev); in arc_emac_rx()
250 netif_receive_skb(rx_buff->skb); in arc_emac_rx()
252 rx_buff->skb = skb; in arc_emac_rx()
253 dma_unmap_addr_set(rx_buff, addr, addr); in arc_emac_rx()
254 dma_unmap_len_set(rx_buff, len, EMAC_BUFFER_SIZE); in arc_emac_rx()
[all …]
Demac.h151 struct buffer_state rx_buff[RX_BD_NUM]; member
/kernel/linux/linux-5.10/drivers/mailbox/
Dti-msgmgr.c115 u32 *rx_buff; member
247 message.buf = (u8 *)qinst->rx_buff; in ti_msgmgr_queue_rx_interrupt()
263 for (data_reg = qinst->queue_buff_start, word_data = qinst->rx_buff, in ti_msgmgr_queue_rx_interrupt()
481 qinst->rx_buff = kzalloc(d->max_message_size, GFP_KERNEL); in ti_msgmgr_queue_startup()
482 if (!qinst->rx_buff) in ti_msgmgr_queue_startup()
487 kfree(qinst->rx_buff); in ti_msgmgr_queue_startup()
505 kfree(qinst->rx_buff); in ti_msgmgr_queue_shutdown()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dariadne.c91 volatile u_short *rx_buff[RX_RING_SIZE]; member
103 u_short rx_buff[RX_RING_SIZE][PKT_BUF_SIZE / sizeof(u_short)]; member
148 offsetof(struct lancedata, rx_buff[i])); in ariadne_init_ring()
150 offsetof(struct lancedata, rx_buff[i])) | in ariadne_init_ring()
155 priv->rx_buff[i] = lancedata->rx_buff[i]; in ariadne_init_ring()
157 i, &lancedata->rx_ring[i], lancedata->rx_buff[i]); in ariadne_init_ring()
213 (const void *)priv->rx_buff[entry], in ariadne_rx()
Dlance.c871 void *rx_buff; in lance_init_ring() local
876 rx_buff = skb->data; in lance_init_ring()
878 rx_buff = kmalloc(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()
879 if (rx_buff == NULL) in lance_init_ring()
882 lp->rx_ring[i].base = (u32)isa_virt_to_bus(rx_buff) | 0x80000000; in lance_init_ring()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-tle62x0.c33 unsigned char rx_buff[4]; member
62 .rx_buf = st->rx_buff, in tle62x0_read()
101 unsigned char *buff = st->rx_buff; in tle62x0_status_show()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmvnic.c342 if (pool->rx_buff[index].skb) in replenish_rx_pool()
350 pool->rx_buff[index].data = dst; in replenish_rx_pool()
353 pool->rx_buff[index].dma = dma_addr; in replenish_rx_pool()
354 pool->rx_buff[index].skb = skb; in replenish_rx_pool()
355 pool->rx_buff[index].pool_index = pool->index; in replenish_rx_pool()
356 pool->rx_buff[index].size = pool->buff_size; in replenish_rx_pool()
361 cpu_to_be64((u64)&pool->rx_buff[index]); in replenish_rx_pool()
390 pool->rx_buff[index].skb = NULL; in replenish_rx_pool()
513 memset(rx_pool->rx_buff, 0, in reset_rx_pools()
541 if (!rx_pool->rx_buff) in release_rx_pools()
[all …]
Dibmvnic.h915 struct ibmvnic_rx_buff *rx_buff; member
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp_cmx.c247 memset(dsp->rx_buff, dsp_silence, sizeof(dsp->rx_buff)); in dsp_cmx_add_conf_member()
1255 memset(dsp->rx_buff, dsp_silence, sizeof(dsp->rx_buff)); in dsp_cmx_receive()
1276 memset(dsp->rx_buff, dsp_silence, sizeof(dsp->rx_buff)); in dsp_cmx_receive()
1288 d = dsp->rx_buff; in dsp_cmx_receive()
1369 q = dsp->rx_buff; /* received data */
1465 o_q = other->rx_buff; /* received data */
1715 q = dsp->rx_buff;
1738 p = dsp->rx_buff;
Ddsp.h205 u8 rx_buff[CMX_BUFF_SIZE]; member
Ddsp_core.c842 memset(dsp->rx_buff, 0, sizeof(dsp->rx_buff)); in dsp_function()
/kernel/linux/linux-5.10/include/linux/
Dscc.h75 struct sk_buff *rx_buff; /* pointer to frame currently received */ member
/kernel/linux/linux-5.10/drivers/s390/net/
Dnetiucv.c160 struct sk_buff *rx_buff; member
674 conn->rx_buff->data = conn->rx_buff->head; in conn_action_rx()
675 skb_reset_tail_pointer(conn->rx_buff); in conn_action_rx()
676 conn->rx_buff->len = 0; in conn_action_rx()
677 rc = iucv_message_receive(conn->path, msg, 0, conn->rx_buff->data, in conn_action_rx()
684 netiucv_unpack_skb(conn, conn->rx_buff); in conn_action_rx()
1768 conn->rx_buff = alloc_skb(conn->max_buffsize, GFP_KERNEL | GFP_DMA); in netiucv_new_connection()
1769 if (!conn->rx_buff) in netiucv_new_connection()
1799 kfree_skb(conn->rx_buff); in netiucv_new_connection()
1826 kfree_skb(conn->rx_buff); in netiucv_remove_connection()
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dscc.c348 if(scc->rx_buff != NULL) /* did we receive something? */ in flush_rx_FIFO()
351 dev_kfree_skb_irq(scc->rx_buff); in flush_rx_FIFO()
352 scc->rx_buff = NULL; in flush_rx_FIFO()
529 skb = scc->rx_buff; in scc_rxint()
543 scc->rx_buff = skb; in scc_rxint()
553 scc->rx_buff = NULL; in scc_rxint()
574 skb = scc->rx_buff; in scc_spint()
583 scc->rx_buff = skb = NULL; in scc_spint()
595 scc->rx_buff = NULL; in scc_spint()
599 scc->rx_buff = NULL; in scc_spint()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.c160 struct wil_rx_buff *rx_buff; in wil_ring_alloc_skb_edma() local
191 rx_buff = list_first_entry(free, struct wil_rx_buff, list); in wil_ring_alloc_skb_edma()
192 buff_id = rx_buff->id; in wil_ring_alloc_skb_edma()
195 list_move(&rx_buff->list, active); in wil_ring_alloc_skb_edma()
274 struct wil_rx_buff *rx_buff = in wil_move_all_rx_buff_to_free_list() local
276 struct sk_buff *skb = rx_buff->skb; in wil_move_all_rx_buff_to_free_list()
279 wil_err(wil, "No Rx skb at buff_id %d\n", rx_buff->id); in wil_move_all_rx_buff_to_free_list()
281 rx_buff->skb = NULL; in wil_move_all_rx_buff_to_free_list()
289 list_move(&rx_buff->list, &wil->rx_buff_mgmt.free); in wil_move_all_rx_buff_to_free_list()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar.c1134 struct gfar_rx_buff *rxb = &rx_queue->rx_buff[i]; in free_skb_rx_queue()
1150 kfree(rx_queue->rx_buff); in free_skb_rx_queue()
1151 rx_queue->rx_buff = NULL; in free_skb_rx_queue()
1176 if (rx_queue->rx_buff) in free_skb_resources()
1285 rxb = &rx_queue->rx_buff[i]; in gfar_alloc_rx_buffs()
1307 rxb = rx_queue->rx_buff; in gfar_alloc_rx_buffs()
1431 rx_queue->rx_buff = kcalloc(rx_queue->rx_ring_size, in gfar_alloc_skb_resources()
1432 sizeof(*rx_queue->rx_buff), in gfar_alloc_skb_resources()
1434 if (!rx_queue->rx_buff) in gfar_alloc_skb_resources()
2425 new_rxb = &rxq->rx_buff[nta]; in gfar_reuse_rx_page()
[all …]
Dgianfar.h1007 struct gfar_rx_buff *rx_buff __aligned(SMP_CACHE_BYTES);
/kernel/linux/linux-5.10/drivers/ntb/
Dntb_transport.c167 void *rx_buff; member
503 "rx_buff - \t0x%p\n", qp->rx_buff); in debugfs_read()
642 qp->rx_buff = mw->virt_addr + rx_size * (qp_num / mw_count); in ntb_transport_setup_qp_mw()
645 qp->remote_rx_info = qp->rx_buff + rx_size; in ntb_transport_setup_qp_mw()
673 void *offset = (qp->rx_buff + qp->rx_max_frame * (i + 1) - in ntb_transport_setup_qp_mw()
1490 void *offset = qp->rx_buff + qp->rx_max_frame * in ntb_rx_copy_callback()
1622 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc()
/kernel/linux/linux-5.10/arch/mips/include/asm/ip32/
Dmace.h106 volatile unsigned long rx_buff; member