/linux/drivers/net/ethernet/arc/ |
A D | emac_main.c | 182 struct buffer_state *rx_buff = &priv->rx_buff[*last_rx_bd]; in arc_emac_rx() local 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() 252 rx_buff->skb = skb; in arc_emac_rx() 441 struct buffer_state *rx_buff = &priv->rx_buff[*last_rx_bd]; in arc_emac_open() local 445 if (unlikely(!rx_buff->skb)) in arc_emac_open() 452 dev_kfree_skb(rx_buff->skb); in arc_emac_open() 586 struct buffer_state *rx_buff = &priv->rx_buff[i]; in arc_free_rx_queue() local 588 if (rx_buff->skb) { in arc_free_rx_queue() [all …]
|
A D | emac.h | 151 struct buffer_state rx_buff[RX_BD_NUM]; member
|
/linux/drivers/mailbox/ |
A D | ti-msgmgr.c | 115 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/drivers/net/ethernet/ibm/ |
A D | ibmvnic.c | 467 index = (int)(rx_buff - pool->rx_buff); in replenish_rx_pool() 580 if (!rx_pool->rx_buff) in release_rx_pools() 734 rx_buff = &rx_pool->rx_buff[j]; in init_rx_pools() 735 rx_buff->dma = 0; in init_rx_pools() 736 rx_buff->data = 0; in init_rx_pools() 737 rx_buff->size = 0; in init_rx_pools() 1515 rx_buff = &rx_pool->rx_buff[j]; in clean_rx_pools() 1516 if (rx_buff && rx_buff->skb) { in clean_rx_pools() 2809 rx_buff->skb = NULL; in remove_buff_from_pool() 2811 pool->free_map[pool->next_alloc] = (int)(rx_buff - pool->rx_buff); in remove_buff_from_pool() [all …]
|
A D | ibmvnic.h | 829 struct ibmvnic_rx_buff *rx_buff; member
|
/linux/drivers/net/ethernet/amd/ |
A D | ariadne.c | 91 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()
|
A D | lance.c | 873 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()
|
/linux/drivers/spi/ |
A D | spi-tle62x0.c | 33 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/drivers/isdn/mISDN/ |
A D | dsp_cmx.c | 247 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;
|
A D | dsp.h | 205 u8 rx_buff[CMX_BUFF_SIZE]; member
|
A D | dsp_core.c | 842 memset(dsp->rx_buff, 0, sizeof(dsp->rx_buff)); in dsp_function()
|
/linux/drivers/s390/net/ |
A D | netiucv.c | 142 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() 1767 conn->rx_buff = alloc_skb(conn->max_buffsize, GFP_KERNEL | GFP_DMA); in netiucv_new_connection() 1768 if (!conn->rx_buff) in netiucv_new_connection() 1798 kfree_skb(conn->rx_buff); in netiucv_new_connection() 1825 kfree_skb(conn->rx_buff); in netiucv_remove_connection()
|
/linux/drivers/net/hamradio/ |
A D | scc.c | 349 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()
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | txrx_edma.c | 160 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()
|
/linux/include/linux/ |
A D | scc.h | 75 struct sk_buff *rx_buff; /* pointer to frame currently received */ member
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar.c | 1101 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 …]
|
A D | gianfar.h | 1054 struct gfar_rx_buff *rx_buff __aligned(SMP_CACHE_BYTES);
|
/linux/drivers/ntb/ |
A D | ntb_transport.c | 167 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() 1488 void *offset = qp->rx_buff + qp->rx_max_frame * in ntb_rx_copy_callback() 1620 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc()
|
/linux/arch/mips/include/asm/ip32/ |
A D | mace.h | 106 volatile unsigned long rx_buff; member
|