Lines Matching refs:dmap_in

281 	struct dma_buffparms *dmap_in = NULL;  in DMAbuf_open()  local
287 adev->dmap_in = adev->dmap_out; in DMAbuf_open()
293 dmap_in = adev->dmap_in; in DMAbuf_open()
294 if (dmap_in == dmap_out) in DMAbuf_open()
306 if ((retval = open_dmap(adev, mode, dmap_in)) < 0) { in DMAbuf_open()
383 struct dma_buffparms *dmap = adev->dmap_in; in dma_reset_input()
390 adev->dmap_in->flags &= ~DMA_STARTED; in dma_reset_input()
394 reorganize_buffers(dev, adev->dmap_in, 1); in dma_reset_input()
490 adev->dmap_in->closing = 1; in DMAbuf_release()
491 dmap = adev->dmap_in; in DMAbuf_release()
510 close_dmap(adev, adev->dmap_in); in DMAbuf_release()
558 struct dma_buffparms *dmap = adev->dmap_in; in DMAbuf_getrdbuffer()
566 if (adev->dmap_in->mapping_flags & DMA_MAP_MAPPED) { in DMAbuf_getrdbuffer()
614 struct dma_buffparms *dmap = adev->dmap_in; in DMAbuf_rmchars()
919 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; in DMAbuf_start_dma()
935 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; in local_start_dma()
1067 struct dma_buffparms *dmap = adev->dmap_in; in do_inputintr()
1133 struct dma_buffparms *dmap = adev->dmap_in; in DMAbuf_inputintr()
1178 adev->dmap_in = audio_devs[parent]->dmap_in; in DMAbuf_init()
1180 adev->dmap_out = adev->dmap_in = &adev->dmaps[0]; in DMAbuf_init()
1183 adev->dmap_in = &adev->dmaps[1]; in DMAbuf_init()
1184 adev->dmap_in->dma = dma2; in DMAbuf_init()
1189 if (adev->dmap_in->raw_buf == NULL) in DMAbuf_init()
1190 sound_alloc_dmap(adev->dmap_in); in DMAbuf_init()
1201 struct dma_buffparms *dmap = adev->dmap_in; in poll_input()
1266 sound_free_dmap(adev->dmap_in); in DMAbuf_deinit()