Lines Matching refs:dma_buff
155 unsigned char *dma_buff; /* points to the beginning of the buffer */ member
454 skb_put_data(skb, lp->dma_buff, length - semi_cnt); in dma_rx()
476 if (lp->dma_buff) { in release_dma_buff()
477 free_pages((unsigned long)(lp->dma_buff), in release_dma_buff()
479 lp->dma_buff = NULL; in release_dma_buff()
887 lp->dma_buff = (unsigned char *)__get_dma_pages(GFP_KERNEL, in net_open()
889 if (!lp->dma_buff) { in net_open()
896 (unsigned long)lp->dma_buff, in net_open()
897 (unsigned long)isa_virt_to_bus(lp->dma_buff)); in net_open()
898 if ((unsigned long)lp->dma_buff >= MAX_DMA_ADDRESS || in net_open()
899 !dma_page_eq(lp->dma_buff, in net_open()
900 lp->dma_buff + lp->dmasize * 1024 - 1)) { in net_open()
904 memset(lp->dma_buff, 0, lp->dmasize * 1024); /* Why? */ in net_open()
911 lp->rx_dma_ptr = lp->dma_buff; in net_open()
912 lp->end_dma_buff = lp->dma_buff + lp->dmasize * 1024; in net_open()
917 set_dma_addr(dev->dma, isa_virt_to_bus(lp->dma_buff)); in net_open()