Home
last modified time | relevance | path

Searched refs:dmap_out (Results 1 – 9 of 9) sorted by relevance

/sound/oss/
Daudio.c139 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; in sync_output()
192 audio_devs[dev]->dmap_out->closing = 1; in audio_release()
269 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) in audio_write()
271 …%d)\n", (long) dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs[dev]->dmap_… in audio_write()
274 if (dma_buf < audio_devs[dev]->dmap_out->raw_buf) in audio_write()
276 …R "audio: Buffer error 13 (%lx<%lx)\n", (long) dma_buf, (long) audio_devs[dev]->dmap_out->raw_buf); in audio_write()
389 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()
399 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()
401 audio_devs[dev]->dmap_out->flags |= DMA_POST | DMA_DIRTY; in audio_ioctl()
495 audio_devs[dev]->dmap_out->applic_profile = val; in audio_ioctl()
[all …]
Ddmabuf.c284 struct dma_buffparms *dmap_out = NULL; in DMAbuf_open() local
289 adev->dmap_in = adev->dmap_out; in DMAbuf_open()
294 dmap_out = adev->dmap_out; in DMAbuf_open()
296 if (dmap_in == dmap_out) in DMAbuf_open()
300 if ((retval = open_dmap(adev, mode, dmap_out)) < 0) { in DMAbuf_open()
311 close_dmap(adev, dmap_out); in DMAbuf_open()
321 if (adev->dmap_out->dma_mode == DMODE_OUTPUT) in DMAbuf_open()
322 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, in DMAbuf_open()
323 adev->dmap_out->bytes_in_use); in DMAbuf_open()
340 struct dma_buffparms *dmap = adev->dmap_out; in dma_reset_output()
[all …]
Dsb_audio.c105 swap(audio_devs[dev]->dmap_out, audio_devs[dev]->dmap_in); in sb_audio_close()
107 audio_devs[dev]->dmap_out->dma = devc->dma8; in sb_audio_close()
177 if (audio_devs[dev]->dmap_out->dma > 3) in sb1_audio_output_block()
207 if (audio_devs[dev]->dmap_out->dma > 3) in sb1_audio_start_input()
343 if (audio_devs[dev]->dmap_out->dma > 3) in sb20_audio_output_block()
382 if (audio_devs[dev]->dmap_out->dma > 3) in sb20_audio_start_input()
472 audio_devs[dev]->dmap_out->dma = audio_devs[dev]->dmap_in->dma = in sbpro_audio_prepare_for_input()
501 …audio_devs[dev]->dmap_out->dma = audio_devs[dev]->dmap_in->dma = devc->bits == 16 ? devc->dma16 : … in sbpro_audio_prepare_for_output()
637 audio_devs[dev]->dmap_out->dma = in sb16_audio_prepare_for_input()
644 audio_devs[dev]->dmap_out->dma = devc->dma8; in sb16_audio_prepare_for_input()
[all …]
Dpas2_pcm.c248 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_output_block()
263 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_output_block()
293 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_start_input()
305 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_start_input()
Dvidc.c307 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; in vidc_audio_output_block()
343 adev->dmap_out->flags |= DMA_NODMA; in vidc_audio_prepare_for_output()
366 if (!(adev->dmap_out->flags & DMA_ACTIVE)) { in vidc_audio_trigger()
372 adev->dmap_out->flags |= DMA_ACTIVE; in vidc_audio_trigger()
Ddev_table.h212 struct dma_buffparms *dmap_in, *dmap_out; member
Dsb_ess.c524 , audio_devs[dev]->dmap_out->dma, audio_devs[dev]->dmap_in->dma); in ess_audio_prepare_for_output()
579 if (audio_devs[dev]->dmap_out->dma > 3) in ess_audio_output_block_audio1()
599 if (audio_devs[dev]->dmap_out->dma > 3) count >>= 1; in ess_audio_output_block_audio2()
Dsoundcard.c439 dmap = audio_devs[dev]->dmap_out; in sound_mmap()
Dad1848.c1372 disable_dma(audio_devs[dev]->dmap_out->dma); in ad1848_halt_output()
1380 enable_dma(audio_devs[dev]->dmap_out->dma); in ad1848_halt_output()