Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/sound/
Ddmabuf.c280 struct dma_buffparms *dmap_out = NULL; in DMAbuf_open() local
285 adev->dmap_in = adev->dmap_out; in DMAbuf_open()
290 dmap_out = adev->dmap_out; in DMAbuf_open()
292 if (dmap_in == dmap_out) in DMAbuf_open()
296 if ((retval = open_dmap(adev, mode, dmap_out)) < 0) { in DMAbuf_open()
307 close_dmap(adev, dmap_out); in DMAbuf_open()
317 if (adev->dmap_out->dma_mode == DMODE_OUTPUT) in DMAbuf_open()
318 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, in DMAbuf_open()
319 adev->dmap_out->bytes_in_use); in DMAbuf_open()
336 struct dma_buffparms *dmap = adev->dmap_out; in dma_reset_output()
[all …]
Daudio.c138 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; in sync_output()
191 audio_devs[dev]->dmap_out->closing = 1; in audio_release()
271 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) in audio_write()
273 …%d)\n", (long) dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs[dev]->dmap_… in audio_write()
276 if (dma_buf < audio_devs[dev]->dmap_out->raw_buf) in audio_write()
278 …R "audio: Buffer error 13 (%lx<%lx)\n", (long) dma_buf, (long) audio_devs[dev]->dmap_out->raw_buf); in audio_write()
399 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()
409 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()
411 audio_devs[dev]->dmap_out->flags |= DMA_POST | DMA_DIRTY; in audio_ioctl()
503 audio_devs[dev]->dmap_out->applic_profile = val; in audio_ioctl()
[all …]
Dsb_audio.c107 dmap_temp = audio_devs[dev]->dmap_out; in sb_audio_close()
108 audio_devs[dev]->dmap_out = audio_devs[dev]->dmap_in; in sb_audio_close()
111 audio_devs[dev]->dmap_out->dma = devc->dma8; in sb_audio_close()
181 if (audio_devs[dev]->dmap_out->dma > 3) in sb1_audio_output_block()
211 if (audio_devs[dev]->dmap_out->dma > 3) in sb1_audio_start_input()
347 if (audio_devs[dev]->dmap_out->dma > 3) in sb20_audio_output_block()
386 if (audio_devs[dev]->dmap_out->dma > 3) in sb20_audio_start_input()
475 audio_devs[dev]->dmap_out->dma = audio_devs[dev]->dmap_in->dma = in sbpro_audio_prepare_for_input()
504 …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()
[all …]
Dpas2_pcm.c260 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_output_block()
276 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_output_block()
308 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_start_input()
321 if (audio_devs[dev]->dmap_out->dma > 3) in pas_audio_start_input()
Dgus_wave.c1819 blk_sz = audio_devs[gus_devnum]->dmap_out->bytes_in_use; in guswave_load_patch()
1858 if (audio_devs[gus_devnum]->dmap_out->raw_buf == NULL) in guswave_load_patch()
1867 …copy_from_user(audio_devs[gus_devnum]->dmap_out->raw_buf, &(addr)[sizeof_patch + src_offs], blk_sz… in guswave_load_patch()
1873 DMAbuf_start_dma(gus_devnum, audio_devs[gus_devnum]->dmap_out->raw_buf_phys, in guswave_load_patch()
1900 if (audio_devs[gus_devnum]->dmap_out->dma > 3) in guswave_load_patch()
1919 if (audio_devs[gus_devnum]->dmap_out->dma > 3) in guswave_load_patch()
2441 if (audio_devs[dev]->dmap_out->dma > 3) in gus_transfer_output_block()
2457 if (audio_devs[dev]->dmap_out->dma > 3) in gus_transfer_output_block()
2519 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; in gus_audio_output_block()
2585 audio_devs[dev]->dmap_out->flags |= DMA_NODMA | DMA_NOTIMEOUT; in gus_audio_prepare_for_output()
[all …]
Dvidc.c291 struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; in vidc_audio_output_block()
326 adev->dmap_out->flags |= DMA_NODMA; in vidc_audio_prepare_for_output()
Dsscape.c446 if (audio_devs[devc->codec_audiodev]->dmap_out->raw_buf == NULL) in sscape_download_boot()
451 memcpy(audio_devs[devc->codec_audiodev]->dmap_out->raw_buf, block, size); in sscape_download_boot()
459 audio_devs[devc->codec_audiodev]->dmap_out->raw_buf_phys, in sscape_download_boot()
Dsb_ess.c523 , audio_devs[dev]->dmap_out->dma, audio_devs[dev]->dmap_in->dma); in ess_audio_prepare_for_output()
578 if (audio_devs[dev]->dmap_out->dma > 3) in ess_audio_output_block_audio1()
598 if (audio_devs[dev]->dmap_out->dma > 3) count >>= 1; in ess_audio_output_block_audio2()
Ddev_table.h209 struct dma_buffparms *dmap_in, *dmap_out; member
Dad1816.c189 disable_dma(audio_devs[dev]->dmap_out->dma); in ad1816_halt_output()
199 enable_dma(audio_devs[dev]->dmap_out->dma); in ad1816_halt_output()
Dnm256_audio.c1513 struct dma_buffparms *dmap = adev->dmap_out; in nm256_getDMAbuffer()
1610 audio_devs[dev]->dmap_out->flags |= DMA_NODMA; in nm256_audio_prepare_for_output()
Dsoundcard.c443 dmap = audio_devs[dev]->dmap_out; in sound_mmap()
Dad1848.c1392 disable_dma(audio_devs[dev]->dmap_out->dma); in ad1848_halt_output()
1400 enable_dma(audio_devs[dev]->dmap_out->dma); in ad1848_halt_output()