Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/arc/
Demac_main.c183 struct buffer_state *rx_buff = &priv->rx_buff[*last_rx_bd]; in arc_emac_rx() local
241 dma_unmap_single(&ndev->dev, dma_unmap_addr(rx_buff, addr), in arc_emac_rx()
242 dma_unmap_len(rx_buff, len), DMA_FROM_DEVICE); in arc_emac_rx()
247 skb_put(rx_buff->skb, pktlen); in arc_emac_rx()
248 rx_buff->skb->dev = ndev; in arc_emac_rx()
249 rx_buff->skb->protocol = eth_type_trans(rx_buff->skb, ndev); in arc_emac_rx()
251 netif_receive_skb(rx_buff->skb); in arc_emac_rx()
253 rx_buff->skb = skb; in arc_emac_rx()
254 dma_unmap_addr_set(rx_buff, addr, addr); in arc_emac_rx()
255 dma_unmap_len_set(rx_buff, len, EMAC_BUFFER_SIZE); in arc_emac_rx()
[all …]
Demac.h152 struct buffer_state rx_buff[RX_BD_NUM]; member
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/ibm/
Dibmvnic.c276 if (pool->rx_buff[index].skb) in replenish_rx_pool()
284 pool->rx_buff[index].data = dst; in replenish_rx_pool()
287 pool->rx_buff[index].dma = dma_addr; in replenish_rx_pool()
288 pool->rx_buff[index].skb = skb; in replenish_rx_pool()
289 pool->rx_buff[index].pool_index = pool->index; in replenish_rx_pool()
290 pool->rx_buff[index].size = pool->buff_size; in replenish_rx_pool()
295 cpu_to_be64((u64)&pool->rx_buff[index]); in replenish_rx_pool()
325 pool->rx_buff[index].skb = NULL; in replenish_rx_pool()
446 memset(rx_pool->rx_buff, 0, in reset_rx_pools()
474 if (!rx_pool->rx_buff) in release_rx_pools()
[all …]
Dibmvnic.h919 struct ibmvnic_rx_buff *rx_buff; member
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dscc.h75 struct sk_buff *rx_buff; /* pointer to frame currently received */ member
/Linux-v5.4/drivers/s390/net/
Dnetiucv.c177 struct sk_buff *rx_buff; member
692 conn->rx_buff->data = conn->rx_buff->head; in conn_action_rx()
693 skb_reset_tail_pointer(conn->rx_buff); in conn_action_rx()
694 conn->rx_buff->len = 0; in conn_action_rx()
695 rc = iucv_message_receive(conn->path, msg, 0, conn->rx_buff->data, in conn_action_rx()
702 netiucv_unpack_skb(conn, conn->rx_buff); in conn_action_rx()
1859 conn->rx_buff = alloc_skb(conn->max_buffsize, GFP_KERNEL | GFP_DMA); in netiucv_new_connection()
1860 if (!conn->rx_buff) in netiucv_new_connection()
1890 kfree_skb(conn->rx_buff); in netiucv_new_connection()
1917 kfree_skb(conn->rx_buff); in netiucv_remove_connection()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.c173 struct wil_rx_buff *rx_buff; in wil_ring_alloc_skb_edma() local
204 rx_buff = list_first_entry(free, struct wil_rx_buff, list); in wil_ring_alloc_skb_edma()
205 buff_id = rx_buff->id; in wil_ring_alloc_skb_edma()
208 list_move(&rx_buff->list, active); in wil_ring_alloc_skb_edma()
287 struct wil_rx_buff *rx_buff = in wil_move_all_rx_buff_to_free_list() local
289 struct sk_buff *skb = rx_buff->skb; in wil_move_all_rx_buff_to_free_list()
292 wil_err(wil, "No Rx skb at buff_id %d\n", rx_buff->id); in wil_move_all_rx_buff_to_free_list()
294 rx_buff->skb = NULL; in wil_move_all_rx_buff_to_free_list()
302 list_move(&rx_buff->list, &wil->rx_buff_mgmt.free); in wil_move_all_rx_buff_to_free_list()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar.c1125 struct gfar_rx_buff *rxb = &rx_queue->rx_buff[i]; in free_skb_rx_queue()
1141 kfree(rx_queue->rx_buff); in free_skb_rx_queue()
1142 rx_queue->rx_buff = NULL; in free_skb_rx_queue()
1167 if (rx_queue->rx_buff) in free_skb_resources()
1276 rxb = &rx_queue->rx_buff[i]; in gfar_alloc_rx_buffs()
1298 rxb = rx_queue->rx_buff; in gfar_alloc_rx_buffs()
1422 rx_queue->rx_buff = kcalloc(rx_queue->rx_ring_size, in gfar_alloc_skb_resources()
1423 sizeof(*rx_queue->rx_buff), in gfar_alloc_skb_resources()
1425 if (!rx_queue->rx_buff) in gfar_alloc_skb_resources()
2416 new_rxb = &rxq->rx_buff[nta]; in gfar_reuse_rx_page()
[all …]
Dgianfar.h1008 struct gfar_rx_buff *rx_buff __aligned(SMP_CACHE_BYTES);
/Linux-v5.4/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()
/Linux-v5.4/arch/mips/include/asm/ip32/
Dmace.h106 volatile unsigned long rx_buff; member