Home
last modified time | relevance | path

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

/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
/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()
487 qinst->rx_buff = kzalloc(d->max_message_size, GFP_KERNEL); in ti_msgmgr_queue_startup()
488 if (!qinst->rx_buff) in ti_msgmgr_queue_startup()
493 kfree(qinst->rx_buff); in ti_msgmgr_queue_startup()
511 kfree(qinst->rx_buff); in ti_msgmgr_queue_shutdown()
/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.c873 void *rx_buff; in lance_init_ring() local
878 rx_buff = skb->data; in lance_init_ring()
880 rx_buff = kmalloc(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()
881 if (rx_buff == NULL) in lance_init_ring()
884 lp->rx_ring[i].base = (u32)isa_virt_to_bus(rx_buff) | 0x80000000; in lance_init_ring()
/drivers/net/ethernet/ibm/
Dibmvnic.c376 if (pool->rx_buff[index].skb) in replenish_rx_pool()
384 pool->rx_buff[index].data = dst; in replenish_rx_pool()
387 pool->rx_buff[index].dma = dma_addr; in replenish_rx_pool()
388 pool->rx_buff[index].skb = skb; in replenish_rx_pool()
389 pool->rx_buff[index].pool_index = pool->index; in replenish_rx_pool()
390 pool->rx_buff[index].size = pool->buff_size; in replenish_rx_pool()
396 cpu_to_be64((u64)&pool->rx_buff[index]); in replenish_rx_pool()
430 struct ibmvnic_rx_buff *rx_buff; in replenish_rx_pool() local
435 rx_buff = (struct ibmvnic_rx_buff *) in replenish_rx_pool()
437 index = (int)(rx_buff - pool->rx_buff); in replenish_rx_pool()
[all …]
Dibmvnic.h824 struct ibmvnic_rx_buff *rx_buff; member
/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()
/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()
/drivers/s390/net/
Dnetiucv.c142 struct sk_buff *rx_buff; member
656 conn->rx_buff->data = conn->rx_buff->head; in conn_action_rx()
657 skb_reset_tail_pointer(conn->rx_buff); in conn_action_rx()
658 conn->rx_buff->len = 0; in conn_action_rx()
659 rc = iucv_message_receive(conn->path, msg, 0, conn->rx_buff->data, in conn_action_rx()
666 netiucv_unpack_skb(conn, conn->rx_buff); in conn_action_rx()
1760 conn->rx_buff = alloc_skb(conn->max_buffsize, GFP_KERNEL | GFP_DMA); in netiucv_new_connection()
1761 if (!conn->rx_buff) in netiucv_new_connection()
1791 kfree_skb(conn->rx_buff); in netiucv_new_connection()
1818 kfree_skb(conn->rx_buff); in netiucv_remove_connection()
/drivers/net/hamradio/
Dscc.c349 if(scc->rx_buff != NULL) /* did we receive something? */ in flush_rx_FIFO()
352 dev_kfree_skb_irq(scc->rx_buff); in flush_rx_FIFO()
353 scc->rx_buff = NULL; in flush_rx_FIFO()
530 skb = scc->rx_buff; in scc_rxint()
544 scc->rx_buff = skb; in scc_rxint()
554 scc->rx_buff = NULL; in scc_rxint()
575 skb = scc->rx_buff; in scc_spint()
584 scc->rx_buff = skb = NULL; in scc_spint()
596 scc->rx_buff = NULL; in scc_spint()
600 scc->rx_buff = NULL; in scc_spint()
/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()
/drivers/net/ethernet/freescale/
Dgianfar.c1101 struct gfar_rx_buff *rxb = &rx_queue->rx_buff[i]; in free_skb_rx_queue()
1117 kfree(rx_queue->rx_buff); in free_skb_rx_queue()
1118 rx_queue->rx_buff = NULL; in free_skb_rx_queue()
1143 if (rx_queue->rx_buff) in free_skb_resources()
1252 rxb = &rx_queue->rx_buff[i]; in gfar_alloc_rx_buffs()
1274 rxb = rx_queue->rx_buff; in gfar_alloc_rx_buffs()
1398 rx_queue->rx_buff = kcalloc(rx_queue->rx_ring_size, in gfar_alloc_skb_resources()
1399 sizeof(*rx_queue->rx_buff), in gfar_alloc_skb_resources()
1401 if (!rx_queue->rx_buff) in gfar_alloc_skb_resources()
2392 new_rxb = &rxq->rx_buff[nta]; in gfar_reuse_rx_page()
[all …]
Dgianfar.h1054 struct gfar_rx_buff *rx_buff __aligned(SMP_CACHE_BYTES);
/drivers/ntb/
Dntb_transport.c167 void *rx_buff; member
501 "rx_buff - \t0x%p\n", qp->rx_buff); in debugfs_read()
640 qp->rx_buff = mw->virt_addr + rx_size * (qp_num / mw_count); in ntb_transport_setup_qp_mw()
643 qp->remote_rx_info = qp->rx_buff + rx_size; in ntb_transport_setup_qp_mw()
671 void *offset = (qp->rx_buff + qp->rx_max_frame * (i + 1) - in ntb_transport_setup_qp_mw()
1495 void *offset = qp->rx_buff + qp->rx_max_frame * in ntb_rx_copy_callback()
1627 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc()