Searched refs:dma_buff (Results 1 – 1 of 1) sorted by relevance
210 unsigned char *dma_buff; /* points to the beginning of the buffer */ member852 memcpy(skb_put(skb,length - semi_cnt), lp->dma_buff, in dma_rx()1173 lp->dma_buff = (unsigned char *)__get_dma_pages(GFP_KERNEL, in net_open()1176 if (!lp->dma_buff) { in net_open()1183 (unsigned long)lp->dma_buff, in net_open()1184 (unsigned long)virt_to_bus(lp->dma_buff)); in net_open()1186 if ((unsigned long) lp->dma_buff >= MAX_DMA_ADDRESS || in net_open()1187 !dma_page_eq(lp->dma_buff, lp->dma_buff+lp->dmasize*1024-1)) { in net_open()1191 memset(lp->dma_buff, 0, lp->dmasize * 1024); /* Why? */ in net_open()1197 lp->rx_dma_ptr = lp->dma_buff; in net_open()[all …]