Home
last modified time | relevance | path

Searched refs:PCM_ENABLE_INPUT (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.4.37.9/drivers/sound/emu10k1/
Daudio.c105 && (wave_dev->enablebits & PCM_ENABLE_INPUT)) in emu10k1_audio_read()
128 || (!(wave_dev->enablebits & PCM_ENABLE_INPUT))) in emu10k1_audio_read()
277 wave_dev->enablebits = PCM_ENABLE_OUTPUT | PCM_ENABLE_INPUT;
644 if (file->f_mode & FMODE_READ && (wave_dev->enablebits & PCM_ENABLE_INPUT))
645 val |= PCM_ENABLE_INPUT;
674 if (val & PCM_ENABLE_INPUT) {
675 wave_dev->enablebits |= PCM_ENABLE_INPUT;
679 wave_dev->enablebits &= ~PCM_ENABLE_INPUT;
1130 wave_dev->enablebits = PCM_ENABLE_OUTPUT | PCM_ENABLE_INPUT; /* Default */
/linux-2.4.37.9/drivers/sound/
Dsound_config.h110 #define OPEN_READ PCM_ENABLE_INPUT
Dwaveartist.c494 if (devc->audio_mode & PCM_ENABLE_INPUT && in waveartist_start_input()
498 devc->audio_mode |= PCM_ENABLE_INPUT; in waveartist_start_input()
512 devc->audio_mode |= PCM_ENABLE_INPUT; in waveartist_start_input()
696 devc->audio_mode &= ~PCM_ENABLE_INPUT; in waveartist_halt_input()
743 if (state & PCM_ENABLE_INPUT) in waveartist_trigger()
755 state & PCM_ENABLE_INPUT) in waveartist_trigger()
863 if ((status & DMA1) && (devc->audio_mode & PCM_ENABLE_INPUT)) { in waveartist_intr()
Dsb.h22 #define IMODE_INPUT PCM_ENABLE_INPUT
Dad1816.c170 devc->audio_mode &= ~PCM_ENABLE_INPUT; in ad1816_halt_input()
248 devc->audio_mode |= PCM_ENABLE_INPUT; in ad1816_start_input()
361 if (state & PCM_ENABLE_INPUT) { in ad1816_trigger()
592 if (devc->opened && (devc->audio_mode & PCM_ENABLE_INPUT) && (status&64)) in ad1816_interrupt()
Di810_audio.c821 (dmabuf->trigger & PCM_ENABLE_INPUT)) { in __start_adc()
1076 trigger = PCM_ENABLE_INPUT; in __i810_update_lvi()
1509 dmabuf->trigger = PCM_ENABLE_INPUT; in i810_read()
1730 dmabuf->trigger & PCM_ENABLE_INPUT) { in i810_poll()
2161 if (dmabuf->mapped && (dmabuf->trigger & PCM_ENABLE_INPUT)) { in i810_ioctl()
2204 val &= ~PCM_ENABLE_INPUT; in i810_ioctl()
2207 if((file->f_mode & FMODE_READ) && !(val & PCM_ENABLE_INPUT) && dmabuf->enable == ADC_RUNNING) { in i810_ioctl()
2235 if((val & PCM_ENABLE_INPUT) && !(dmabuf->enable & ADC_RUNNING)) { in i810_ioctl()
2502 dmabuf->trigger |= PCM_ENABLE_INPUT; in i810_open()
2556 if(dmabuf->trigger & PCM_ENABLE_INPUT) { in i810_release()
Dad1848.c1107 if ((devc->audio_mode & PCM_ENABLE_INPUT) && (audio_devs[dev]->flags & DMA_AUTOMODE) && in ad1848_start_input()
1111 devc->audio_mode |= PCM_ENABLE_INPUT; in ad1848_start_input()
1134 devc->audio_mode |= PCM_ENABLE_INPUT; in ad1848_start_input()
1365 devc->audio_mode &= ~PCM_ENABLE_INPUT; in ad1848_halt_input()
1371 devc->audio_mode &= ~PCM_ENABLE_INPUT; in ad1848_halt_input()
1428 if (state & PCM_ENABLE_INPUT) in ad1848_trigger()
2269 if ((devc->open_mode & OPEN_READ) && (devc->audio_mode & PCM_ENABLE_INPUT) && (alt_stat & 0x20)) in adintr()
Dpas2_pcm.c355 else if (state & PCM_ENABLE_INPUT) in pas_audio_trigger()
Ddev_table.h73 #define DMODE_INPUT PCM_ENABLE_INPUT
Dali5455.c779 && !dmabuf->enable && (dmabuf->trigger & PCM_ENABLE_INPUT)) { in __start_adc()
1100 if (rec && dmabuf->count < dmabuf->dmasize && (dmabuf->trigger & PCM_ENABLE_INPUT)) { in __ali_update_lvi()
1644 dmabuf->trigger = PCM_ENABLE_INPUT; in ali_read()
2427 if (dmabuf->mapped && (dmabuf->trigger & PCM_ENABLE_INPUT)) { in ali_ioctl()
2462 if (!(val & PCM_ENABLE_INPUT) && dmabuf->enable == ADC_RUNNING) { in ali_ioctl()
2540 if (val & PCM_ENABLE_INPUT && !(dmabuf->enable & ADC_RUNNING)) { in ali_ioctl()
2809 dmabuf->trigger |= PCM_ENABLE_INPUT; in ali_open()
2895 if (dmabuf->trigger & PCM_ENABLE_INPUT) in ali_release()
Ddmabuf.c515 if (!(adev->enable_bits & PCM_ENABLE_INPUT)) in DMAbuf_activate_recording()
562 if (!(adev->enable_bits & PCM_ENABLE_INPUT) || !adev->go) { in DMAbuf_getrdbuffer()
1239 adev->enable_bits & PCM_ENABLE_INPUT && in poll_input()
Daudio.c836 if (!(audio_devs[dev]->flags & DMA_DUPLEX) && (bits & PCM_ENABLE_INPUT) && in dma_ioctl()
842 if ((changed & bits) & PCM_ENABLE_INPUT && audio_devs[dev]->go) in dma_ioctl()
Dvwsnd.c2805 ival |= PCM_ENABLE_INPUT; in vwsnd_audio_do_ioctl()
2829 if (((rport && !(ival & PCM_ENABLE_INPUT)) || in vwsnd_audio_do_ioctl()
2839 if (ival & PCM_ENABLE_INPUT) in vwsnd_audio_do_ioctl()
2845 if (hwstate != HW_RUNNING && ival & PCM_ENABLE_INPUT) { in vwsnd_audio_do_ioctl()
Drme96xx.c1258 val |= PCM_ENABLE_INPUT; in rme96xx_ioctl()
1269 if (val & PCM_ENABLE_INPUT) { in rme96xx_ioctl()
Dau1550_i2s.c1337 val |= PCM_ENABLE_INPUT; in au1550_ioctl()
1347 if (val & PCM_ENABLE_INPUT) in au1550_ioctl()
Dau1550_psc.c1593 val |= PCM_ENABLE_INPUT; in au1550_ioctl()
1603 if (val & PCM_ENABLE_INPUT) in au1550_ioctl()
Dite8172.c1559 val |= PCM_ENABLE_INPUT; in it8172_ioctl()
1569 if (val & PCM_ENABLE_INPUT) in it8172_ioctl()
Dau1000.c1635 val |= PCM_ENABLE_INPUT; in au1000_ioctl()
1645 if (val & PCM_ENABLE_INPUT) in au1000_ioctl()
Dswarm_cs4297a.c2146 val |= PCM_ENABLE_INPUT; in cs4297a_ioctl()
2155 if (val & PCM_ENABLE_INPUT) { in cs4297a_ioctl()
Desssolo1.c1377 val |= PCM_ENABLE_INPUT; in solo1_ioctl()
1386 if (val & PCM_ENABLE_INPUT) { in solo1_ioctl()
Dvia82cxxx_audio.c2852 enable = (val & PCM_ENABLE_INPUT); in via_dsp_ioctl_trigger()
3179 val |= PCM_ENABLE_INPUT; in via_dsp_ioctl()
Dmaestro3.c1735 val |= PCM_ENABLE_INPUT; in m3_ioctl()
1743 if (val & PCM_ENABLE_INPUT) { in m3_ioctl()
Dsonicvibes.c1707 val |= PCM_ENABLE_INPUT; in sv_ioctl()
1716 if (val & PCM_ENABLE_INPUT) { in sv_ioctl()
/linux-2.4.37.9/include/linux/
Dsoundcard.h601 # define PCM_ENABLE_INPUT 0x00000001 macro
/linux-2.4.37.9/drivers/sbus/audio/
Daudio.c770 if ((arg & PCM_ENABLE_INPUT) && drv->ops->get_input_pause && in sparcaudio_ioctl()
791 j = PCM_ENABLE_INPUT; in sparcaudio_ioctl()

12