Searched refs:OPEN_READ (Results 1 – 16 of 16) sorted by relevance
109 #define OPEN_READ PCM_ENABLE_INPUT macro111 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)115 if (OPEN_READ == (__force int)FMODE_READ && in translate_mode()119 return ((file->f_mode & FMODE_READ) ? OPEN_READ : 0) | in translate_mode()
313 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_read()422 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_ioctl()496 if (audio_devs[dev]->open_mode & OPEN_READ) in audio_ioctl()762 audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()771 if (cmd == SNDCTL_DSP_GETISPACE && !(audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()886 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()951 reorganize_buffers(dev, dmap_out, (audio_devs[dev]->open_mode == OPEN_READ)); in dma_ioctl()952 if (audio_devs[dev]->open_mode == OPEN_READ || in dma_ioctl()954 audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()955 reorganize_buffers(dev, dmap_in, (audio_devs[dev]->open_mode == OPEN_READ)); in dma_ioctl()[all …]
44 if (devc->caps & SB_NO_RECORDING && mode & OPEN_READ) in sb_audio_open()46 if (mode == OPEN_READ) in sb_audio_open()69 ((mode & OPEN_READ) && (mode & OPEN_WRITE)); in sb_audio_open()87 if (mode & OPEN_READ) in sb_audio_open()104 && (devc->opened & OPEN_READ) && (devc->opened & OPEN_WRITE)) in sb_audio_close()116 if ((devc->submodel == SUBMDL_ALS007) && (devc->opened & OPEN_READ)) in sb_audio_close()287 if (devc->opened & OPEN_READ) in sb1_audio_set_speed()449 if (devc->opened & OPEN_READ && speed > 15000) in sb201_audio_set_speed()
219 if (mode == OPEN_READ) in sequencer_write()966 if (mode == OPEN_READ) in sequencer_open()1059 if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) in sequencer_open()1131 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) in sequencer_release()1141 if (mode != OPEN_READ) in sequencer_release()1146 if (mode != OPEN_READ) in sequencer_release()1357 if (mode == OPEN_READ) in sequencer_ioctl()1387 if (mode == OPEN_READ) in sequencer_ioctl()1507 if (mode == OPEN_READ) in sequencer_ioctl()
96 if (uart6850_opened & OPEN_READ) in uart6850_input_loop()123 if (!(uart6850_opened & OPEN_READ)) in poll_uart6850()
307 if (mode == OPEN_READ || (mode != OPEN_WRITE && (adev->flags & DMA_DUPLEX))) { in DMAbuf_open()332 if (audio_devs[dev]->open_mode & OPEN_READ) in DMAbuf_reset()490 if (adev->open_mode & OPEN_READ){ in DMAbuf_release()508 if (adev->open_mode == OPEN_READ || in DMAbuf_release()522 if (!(adev->open_mode & OPEN_READ)) in DMAbuf_activate_recording()561 if (!(adev->open_mode & OPEN_READ)) in DMAbuf_getrdbuffer()1201 if (!(adev->open_mode & OPEN_READ)) in poll_input()
69 if (mode == OPEN_READ || mode == OPEN_READWRITE) in pas_midi_open()
63 if (mode & OPEN_READ) in sb_midi_open()
65 if (mode & OPEN_READ) in v_midi_open()
232 #define AM_READ OPEN_READ
431 else if (devc->opened & OPEN_READ && devc->inputintr != NULL) in mpu401_input_loop()448 if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) in mpuintr()845 if (mode & OPEN_READ) in mpu_synth_open()
228 if (mode != OPEN_READ) in MIDIbuf_release()
278 if (mode == OPEN_READ) in vidc_audio_open()
92 else if (devc->opened & OPEN_READ && devc->midi_input_intr) in uart401_input_loop()
396 if (mode & OPEN_READ) in waveartist_open()681 if (portc->open_mode & OPEN_READ) in waveartist_halt()763 if (portc->open_mode & OPEN_READ && in waveartist_trigger()
997 if (mode & OPEN_READ) in ad1848_open()1316 if (bits & 0x02 && (portc->open_mode & OPEN_READ)) in ad1848_halt()1405 if (portc->open_mode & OPEN_READ) in ad1848_trigger()2243 if ((devc->open_mode & OPEN_READ) && (devc->audio_mode & PCM_ENABLE_INPUT) && (alt_stat & 0x20)) in adintr()