Lines Matching refs:dmap_in
192 audio_devs[dev]->dmap_in->closing = 1; in audio_release()
505 audio_devs[dev]->dmap_in->applic_profile = val; in audio_ioctl()
752 struct dma_buffparms *dmap_in = audio_devs[dev]->dmap_in; in dma_ioctl() local
772 ret = dma_subdivide(dev, dmap_in, fact); in dma_ioctl()
785 dmap = dmap_in; in dma_ioctl()
844 reorganize_buffers(dev, dmap_in, 1); in dma_ioctl()
846 dmap_in->fragment_size, dmap_in->nbufs)) < 0) { in dma_ioctl()
850 dmap_in->dma_mode = DMODE_INPUT; in dma_ioctl()
852 DMAbuf_activate_recording(dev, dmap_in); in dma_ioctl()
889 cinfo.bytes = dmap_in->byte_counter; in dma_ioctl()
890 cinfo.ptr = DMAbuf_get_buffer_pointer(dev, dmap_in, DMODE_INPUT) & ~3; in dma_ioctl()
891 if (cinfo.ptr < dmap_in->fragment_size && dmap_in->qtail != 0) in dma_ioctl()
892 cinfo.bytes += dmap_in->bytes_in_use; /* Pointer wrap not handled yet */ in dma_ioctl()
893 cinfo.blocks = dmap_in->qlen; in dma_ioctl()
895 if (dmap_in->mapping_flags & DMA_MAP_MAPPED) in dma_ioctl()
896 dmap_in->qlen = 0; /* Reset interrupt counter */ in dma_ioctl()
957 reorganize_buffers(dev, dmap_in, (audio_devs[dev]->open_mode == OPEN_READ)); in dma_ioctl()
959 dmap = dmap_in; in dma_ioctl()
974 ret = dma_set_fragment(dev, dmap_in, fact); in dma_ioctl()