Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wan/
Dz85230.c892 c->rx_buf[0]=(void *)get_free_page(GFP_KERNEL|GFP_DMA); in z8530_sync_dma_open()
893 if(c->rx_buf[0]==NULL) in z8530_sync_dma_open()
895 c->rx_buf[1]=c->rx_buf[0]+PAGE_SIZE/2; in z8530_sync_dma_open()
900 free_page((unsigned long)c->rx_buf[0]); in z8530_sync_dma_open()
901 c->rx_buf[0]=NULL; in z8530_sync_dma_open()
952 set_dma_addr(c->rxdma, virt_to_bus(c->rx_buf[0])); in z8530_sync_dma_open()
1031 if(c->rx_buf[0]) in z8530_sync_dma_close()
1033 free_page((unsigned long)c->rx_buf[0]); in z8530_sync_dma_close()
1034 c->rx_buf[0]=NULL; in z8530_sync_dma_close()
1603 unsigned char *rxb=c->rx_buf[c->dma_num]; in z8530_rx_done()
[all …]
Dz85230.h302 u8 *rx_buf[2]; /* The flip buffers */ member
/linux-2.4.37.9/drivers/char/
Dn_r3964.c636 memcpy(pBlock->data, pInfo->rx_buf, length); in on_receive_block()
780 pInfo->rx_buf[pInfo->rx_position++] = c; in receive_char()
1117 pInfo->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in r3964_open()
1118 TRACE_M("r3964_open - rx_buf kmalloc %x",(int)pInfo->rx_buf); in r3964_open()
1120 if(!pInfo->rx_buf) in r3964_open()
1134 kfree(pInfo->rx_buf); in r3964_open()
1135 TRACE_M("r3964_open - rx_buf kfree %x",(int)pInfo->rx_buf); in r3964_open()
1232 kfree(pInfo->rx_buf); in r3964_close()
1233 TRACE_M("r3964_close - rx_buf kfree %x",(int)pInfo->rx_buf); in r3964_close()
/linux-2.4.37.9/include/linux/
Dn_r3964.h191 unsigned char *rx_buf; /* ring buffer */ member
/linux-2.4.37.9/drivers/net/
D7990.h94 volatile char rx_buf [RX_RING_SIZE][RX_BUFF_SIZE]; member
Da2065.c106 char rx_buf [RX_RING_SIZE][RX_BUFF_SIZE]; member
221 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
337 (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), in lance_rx()
Dsunlance.c228 u8 rx_buf [RX_RING_SIZE][RX_BUFF_SIZE]; member
354 leptr = LANCE_ADDR(aib + libbuff_offset(rx_buf, i)); in lance_init_ring_dvma()
412 leptr = libbuff_offset(rx_buf, i); in lance_init_ring_pio()
552 (unsigned char *)&(ib->rx_buf [entry][0]), in lance_rx_dvma()
725 lance_piocopy_to_skb(skb, &(ib->rx_buf[entry][0]), len); in lance_rx_pio()
Dsunqe.h327 u8 rx_buf[RX_RING_SIZE][PKT_BUF_SZ]; member
D7990.c161 leptr = LANCE_ADDR(&aib->rx_buf[i][0]); in lance_init_ring()
304 (unsigned char *)&(ib->rx_buf [lp->rx_new][0]), in lance_rx()
Dsunqe.c128 qb->qe_rxd[i].rx_addr = qbufs_dvma + qebuf_offset(rx_buf, i); in qe_init_rings()
417 &qbufs->rx_buf[elem & (RX_RING_SIZE - 1)][0]; in qe_rx()
419 qebuf_offset(rx_buf, (elem & (RX_RING_SIZE - 1))); in qe_rx()
/linux-2.4.37.9/drivers/usb/
Dkaweth.c234 __u8 rx_buf[KAWETH_BUF_SIZE]; member
507 kaweth->rx_buf, in kaweth_resubmit_rx_urb()
538 __u16 pkt_len = le16_to_cpup((u16 *)kaweth->rx_buf); in kaweth_usb_receive()
581 eth_copy_and_sum(skb, kaweth->rx_buf + 2, pkt_len, 0); in kaweth_usb_receive()
Dcatc.c174 u8 rx_buf[RX_MAX_BURST * (PKT_SZ + 2)]; member
834 catc->rx_buf, pktsz, catc_rx_done, catc); in catc_probe()
/linux-2.4.37.9/drivers/net/wireless/
Datmel.c557 u8 rx_buf[MAX_WIRELESS_BODY]; member
926 memcpy(&priv->rx_buf[6], source, 6); in frag_rx_path()
927 memcpy(priv->rx_buf, header->addr1, 6); in frag_rx_path()
929 atmel_copy_to_host(priv->dev, &priv->rx_buf[12], rx_packet_loc, msdu_size); in frag_rx_path()
933 crc = crc32_le(crc, &priv->rx_buf[12], msdu_size); in frag_rx_path()
945 atmel_copy_to_host(priv->dev, &priv->rx_buf[12 + priv->frag_len], in frag_rx_path()
950 &priv->rx_buf[12 + priv->frag_len], in frag_rx_path()
970 priv->rx_buf, in frag_rx_path()
1060 atmel_copy_to_host(priv->dev, (unsigned char *)&priv->rx_buf, rx_packet_loc + 24, msdu_size); in rx_done_irq()
1068 crc = crc32_le(crc, (unsigned char *)&priv->rx_buf, msdu_size); in rx_done_irq()
[all …]
/linux-2.4.37.9/drivers/net/hamradio/
Ddmascc.c226 char rx_buf[NUM_RX_BUF][BUF_SIZE]; member
1032 priv->rx_buf[priv->rx_head][priv->rx_ptr++] = in rx_isr()
1094 set_dma_addr(priv->param.dma, (int) priv->rx_buf[priv->rx_head]); in special_condition()
1127 memcpy(&data[1], priv->rx_buf[i], cb); in rx_bh()
1216 set_dma_addr(priv->param.dma, (int) priv->rx_buf[priv->rx_head]); in rx_on()
Dyam.c153 unsigned char rx_buf[YAM_MAX_FRAME]; member
528 memcpy(cp, yp->rx_buf, pkt_len - 1); in yam_rx_flag()
547 yp->rx_buf[yp->rx_len++] = rxb; in yam_rx_byte()
/linux-2.4.37.9/drivers/char/pcmcia/
Dsynclink_cs.c182 unsigned char *rx_buf; /* memory allocated for all rx buffers */ member
1071 RXBUF *buf = (RXBUF*)(info->rx_buf + (info->rx_put * info->rx_buf_size)); in rx_ready_hdlc()
3161 info->rx_buf = kmalloc(info->rx_buf_total_size, GFP_KERNEL); in rx_alloc_buffers()
3162 if (info->rx_buf == NULL) in rx_alloc_buffers()
3171 if (info->rx_buf) in rx_free_buffers()
3172 kfree(info->rx_buf); in rx_free_buffers()
3173 info->rx_buf = NULL; in rx_free_buffers()
4136 buf = (RXBUF*)(info->rx_buf + (i * info->rx_buf_size)); in rx_reset_buffers()
4158 buf = (RXBUF*)(info->rx_buf + (info->rx_get * info->rx_buf_size)); in rx_get_frame()
/linux-2.4.37.9/Documentation/
DDMA-mapping.txt533 cp->rx_buf = buffer;
559 hp = (struct my_card_header *) cp->rx_buf;
563 pass_to_upper_layers(cp->rx_buf);