Searched refs:hwlen (Results 1 – 1 of 1) sorted by relevance
760 size_t hwlen = nelem * hwsize + stat_size; in alloc_ring() local761 void *hwring = dma_alloc_coherent(dev, hwlen, busaddrp, GFP_KERNEL); in alloc_ring()775 dma_free_coherent(dev, hwlen, hwring, *busaddrp); in alloc_ring()785 memset(hwring, 0, hwlen); in alloc_ring()