Searched refs:PCM_ENABLE_INPUT (Results 1 – 25 of 34) sorted by relevance
12
105 && (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 */
110 #define OPEN_READ PCM_ENABLE_INPUT
494 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()
22 #define IMODE_INPUT PCM_ENABLE_INPUT
170 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()
821 (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()
1107 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()
355 else if (state & PCM_ENABLE_INPUT) in pas_audio_trigger()
73 #define DMODE_INPUT PCM_ENABLE_INPUT
779 && !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()
515 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()
836 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()
2805 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()
1258 val |= PCM_ENABLE_INPUT; in rme96xx_ioctl()1269 if (val & PCM_ENABLE_INPUT) { in rme96xx_ioctl()
1337 val |= PCM_ENABLE_INPUT; in au1550_ioctl()1347 if (val & PCM_ENABLE_INPUT) in au1550_ioctl()
1593 val |= PCM_ENABLE_INPUT; in au1550_ioctl()1603 if (val & PCM_ENABLE_INPUT) in au1550_ioctl()
1559 val |= PCM_ENABLE_INPUT; in it8172_ioctl()1569 if (val & PCM_ENABLE_INPUT) in it8172_ioctl()
1635 val |= PCM_ENABLE_INPUT; in au1000_ioctl()1645 if (val & PCM_ENABLE_INPUT) in au1000_ioctl()
2146 val |= PCM_ENABLE_INPUT; in cs4297a_ioctl()2155 if (val & PCM_ENABLE_INPUT) { in cs4297a_ioctl()
1377 val |= PCM_ENABLE_INPUT; in solo1_ioctl()1386 if (val & PCM_ENABLE_INPUT) { in solo1_ioctl()
2852 enable = (val & PCM_ENABLE_INPUT); in via_dsp_ioctl_trigger()3179 val |= PCM_ENABLE_INPUT; in via_dsp_ioctl()
1735 val |= PCM_ENABLE_INPUT; in m3_ioctl()1743 if (val & PCM_ENABLE_INPUT) { in m3_ioctl()
1707 val |= PCM_ENABLE_INPUT; in sv_ioctl()1716 if (val & PCM_ENABLE_INPUT) { in sv_ioctl()
601 # define PCM_ENABLE_INPUT 0x00000001 macro
770 if ((arg & PCM_ENABLE_INPUT) && drv->ops->get_input_pause && in sparcaudio_ioctl()791 j = PCM_ENABLE_INPUT; in sparcaudio_ioctl()