• Home
  • Raw
  • Download

Lines Matching refs:dma_mode

39 …nt local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode);
151 …ic int sound_start_dma(struct dma_buffparms *dmap, unsigned long physaddr, int count, int dma_mode) in sound_start_dma() argument
161 set_dma_mode(chan, dma_mode); in sound_start_dma()
177 dmap->dma_mode = DMODE_NONE; in dma_init_buffers()
230 dmap->dma_mode = DMODE_NONE; in close_dmap()
321 if (adev->dmap_out->dma_mode == DMODE_OUTPUT) in DMAbuf_open()
405 dmap->dma_mode = DMODE_OUTPUT; in DMAbuf_launch_output()
418 dmap->dma_mode = DMODE_OUTPUT; in DMAbuf_launch_output()
437 if (adev->dmap_out->dma_mode == DMODE_OUTPUT) { in DMAbuf_sync()
476 adev->dmap_out->dma_mode = DMODE_NONE; in DMAbuf_sync()
496 if (!signal_pending(current) && (adev->dmap_out->dma_mode == DMODE_OUTPUT)) in DMAbuf_release()
498 if (adev->dmap_out->dma_mode == DMODE_OUTPUT) in DMAbuf_release()
526 if (dmap->dma_mode == DMODE_OUTPUT) { /* Direction change */ in DMAbuf_activate_recording()
532 dmap->dma_mode = DMODE_NONE; in DMAbuf_activate_recording()
534 if (!dmap->dma_mode) { in DMAbuf_activate_recording()
539 dmap->dma_mode = DMODE_INPUT; in DMAbuf_activate_recording()
840 if (dmap->dma_mode == DMODE_INPUT) { /* Direction change */ in DMAbuf_getwrbuffer()
845 dmap->dma_mode = DMODE_OUTPUT; in DMAbuf_getwrbuffer()
914 int DMAbuf_start_dma(int dev, unsigned long physaddr, int count, int dma_mode) in DMAbuf_start_dma() argument
917 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; in DMAbuf_start_dma()
926 sound_start_dma(dmap, physaddr, count, dma_mode); in DMAbuf_start_dma()
931 …int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode) in local_start_dma() argument
933 struct dma_buffparms *dmap = (dma_mode == DMA_MODE_WRITE) ? adev->dmap_out : adev->dmap_in; in local_start_dma()
944 sound_start_dma(dmap, dmap->raw_buf_phys, dmap->bytes_in_use, dma_mode | DMA_AUTOINIT); in local_start_dma()
1208 if (dmap->dma_mode != DMODE_INPUT) { in poll_input()
1209 if (dmap->dma_mode == DMODE_NONE && in poll_input()
1237 if (dmap->dma_mode == DMODE_INPUT) in poll_output()
1239 if (dmap->dma_mode == DMODE_NONE) in poll_output()