Searched refs:bouncebuf (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/wan/
H A Dcosa.c160 char *bouncebuf; member in struct:cosa_data
423 kfree(cosa->bouncebuf); cosa_exit()
554 cosa->bouncebuf = kmalloc(COSA_MTU, GFP_KERNEL|GFP_DMA); cosa_probe()
555 if (!cosa->bouncebuf) { cosa_probe()
614 kfree(cosa->bouncebuf); cosa_probe()
734 * the cosa->bouncebuf pre-allocated. cosa_net_setup_rx()
1724 memcpy(cosa->bouncebuf, cosa->chan[cosa->txchan].txbuf, tx_interrupt()
1726 cosa->txbuf = cosa->bouncebuf; tx_interrupt()
1873 cosa->rxbuf = cosa->bouncebuf; rx_interrupt()
1884 set_dma_addr(cosa->dma, virt_to_bus(cosa->bouncebuf)); rx_interrupt()
1926 if (cosa->rxbuf == cosa->bouncebuf) eot_interrupt()
1929 memcpy(cosa->rxbuf, cosa->bouncebuf, cosa->rxsize); eot_interrupt()

Completed in 59 milliseconds