Lines Matching refs:current_dma
296 if (adapter->dmaing && time_after(jiffies, adapter->current_dma.start_time + 10)) {
299 adapter->current_dma.direction ? "download" : "upload",
384 if (adapter->dmaing && adapter->current_dma.direction == 0)
593 adapter->current_dma.target = NULL;
600 adapter->current_dma.target = target;
603 adapter->current_dma.target = NULL;
609 dev->name, adapter->current_dma.direction);
611 adapter->current_dma.direction = 0;
612 adapter->current_dma.length = rlen;
613 adapter->current_dma.skb = skb;
614 adapter->current_dma.start_time = jiffies;
665 adapter->current_dma.direction ? "tx" : "rx",
669 if (adapter->current_dma.direction) {
670 dev_kfree_skb_irq(adapter->current_dma.skb);
672 struct sk_buff *skb = adapter->current_dma.skb;
674 if (adapter->current_dma.target) {
676 memcpy(adapter->current_dma.target, adapter->dma_buffer, adapter->current_dma.length);
1013 pr_debug("%s: tx: DMA %d in progress\n", dev->name, adapter->current_dma.direction);
1015 adapter->current_dma.direction = 1;
1016 adapter->current_dma.start_time = jiffies;
1026 adapter->current_dma.skb = skb;