Searched refs:xd_dma_buffer (Results 1 – 1 of 1) sorted by relevance
96 static char *xd_dma_buffer = 0; variable169 if (!xd_dma_buffer) in xd_init()170 xd_dma_buffer = (char *)xd_dma_mem_alloc(xd_maxsectors * 0x200); in xd_init()171 if (!xd_dma_buffer) in xd_init()347 if (nodma && xd_dma_buffer) { in xd_ioctl()348 xd_dma_mem_free((unsigned long)xd_dma_buffer, xd_maxsectors * 0x200); in xd_ioctl()349 xd_dma_buffer = 0; in xd_ioctl()350 } else if (!nodma && !xd_dma_buffer) { in xd_ioctl()351 xd_dma_buffer = (char *)xd_dma_mem_alloc(xd_maxsectors * 0x200); in xd_ioctl()352 if (!xd_dma_buffer) in xd_ioctl()[all …]