Lines Matching refs:dmasize
154 int dmasize; /* 16 or 64 */ member
409 if (lp->dmasize == 64) in dma_busctl()
445 bp -= lp->dmasize * 1024; in dma_rx()
460 bp -= lp->dmasize*1024; in dma_rx()
478 get_order(lp->dmasize * 1024)); in release_dma_buff()
888 get_order(lp->dmasize * 1024)); in net_open()
891 dev->name, lp->dmasize); 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()
912 lp->end_dma_buff = lp->dma_buff + lp->dmasize * 1024; in net_open()
918 set_dma_count(dev->dma, lp->dmasize * 1024); in net_open()
1329 lp->dmasize = 16; /* Could make this an option... */ in cs89x0_probe1()
1703 static int dmasize = 16; /* or 64 */ variable
1711 module_param(dmasize , int, 0);
1725 MODULE_PARM_DESC(dmasize , "cs89x0 DMA size in kB (16,64); ignored if use_dma=0");
1729 MODULE_PARM_DESC(dmasize , "(ignored)");
1782 lp->dmasize = dmasize; in cs89x0_isa_init_module()
1812 if (use_dma && dmasize != 16 && dmasize != 64) { in cs89x0_isa_init_module()
1814 dmasize); in cs89x0_isa_init_module()