Searched refs:OPEN_READ (Results 1 – 20 of 20) sorted by relevance
110 #define OPEN_READ PCM_ENABLE_INPUT macro112 #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE)114 #if OPEN_READ == FMODE_READ && OPEN_WRITE == FMODE_WRITE125 return ((file->f_mode & FMODE_READ) ? OPEN_READ : 0) | in translate_mode()
319 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_read()432 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in audio_ioctl()504 if (audio_devs[dev]->open_mode & OPEN_READ) in audio_ioctl()771 audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()780 if (cmd == SNDCTL_DSP_GETISPACE && !(audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()885 if (!(audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()953 reorganize_buffers(dev, dmap_out, (audio_devs[dev]->open_mode == OPEN_READ)); in dma_ioctl()954 if (audio_devs[dev]->open_mode == OPEN_READ || in dma_ioctl()956 audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()957 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()120 if ((devc->submodel == SUBMDL_ALS007) && (devc->opened & OPEN_READ)) in sb_audio_close()291 if (devc->opened & OPEN_READ) in sb1_audio_set_speed()453 if (devc->opened & OPEN_READ && speed > 15000) in sb201_audio_set_speed()
222 if (mode == OPEN_READ) in sequencer_write()968 if (mode == OPEN_READ) in sequencer_open()1065 if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) in sequencer_open()1141 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) in sequencer_release()1152 if (mode != OPEN_READ) in sequencer_release()1157 if (mode != OPEN_READ) in sequencer_release()1378 if (mode == OPEN_READ) in sequencer_ioctl()1408 if (mode == OPEN_READ) in sequencer_ioctl()1531 if (mode == OPEN_READ) in sequencer_ioctl()
96 if (uart6850_opened & OPEN_READ) in uart6850_input_loop()122 if (!(uart6850_opened & OPEN_READ)) in poll_uart6850()
303 if (mode == OPEN_READ || (mode != OPEN_WRITE && (adev->flags & DMA_DUPLEX))) { in DMAbuf_open()328 if (audio_devs[dev]->open_mode & OPEN_READ) in DMAbuf_reset()481 if (adev->open_mode & OPEN_READ) in DMAbuf_release()499 if (adev->open_mode == OPEN_READ || in DMAbuf_release()513 if (!(adev->open_mode & OPEN_READ)) in DMAbuf_activate_recording()550 if (!(adev->open_mode & OPEN_READ)) in DMAbuf_getrdbuffer()1230 if (!(adev->open_mode & OPEN_READ)) in poll_input()
67 if (mode == OPEN_READ || mode == OPEN_READWRITE) in pas_midi_open()
56 if (mode == OPEN_READ || mode == OPEN_READWRITE) in gus_midi_open()
62 if (mode & OPEN_READ) in sb_midi_open()
67 if (mode & OPEN_READ) in v_midi_open()
1321 if (! ((mode & OPEN_READ) || (mode & OPEN_WRITE))) in nm256_audio_open()1332 if ((mode & OPEN_WRITE) && (mode & OPEN_READ)) { in nm256_audio_open()1336 mode = OPEN_READ; in nm256_audio_open()1349 if (mode & OPEN_READ) { in nm256_audio_open()
229 #define AM_READ OPEN_READ
262 if (mode == OPEN_READ) in vidc_audio_open()
236 if (mode != OPEN_READ) in MIDIbuf_release()
431 else if (devc->opened & OPEN_READ && devc->inputintr != NULL) in mpu401_input_loop()456 if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) in mpuintr()856 if (mode & OPEN_READ) in mpu_synth_open()
90 else if (devc->opened & OPEN_READ && devc->midi_input_intr) in uart401_input_loop()
402 if (mode & OPEN_READ) in waveartist_open()676 if (portc->open_mode & OPEN_READ) in waveartist_halt()754 if (portc->open_mode & OPEN_READ && in waveartist_trigger()
1009 if (mode & OPEN_READ) in ad1848_open()1334 if (bits & 0x02 && (portc->open_mode & OPEN_READ)) in ad1848_halt()1426 if (portc->open_mode & OPEN_READ) in ad1848_trigger()2269 if ((devc->open_mode & OPEN_READ) && (devc->audio_mode & PCM_ENABLE_INPUT) && (alt_stat & 0x20)) in adintr()
399 } else if (input_dev->opened & OPEN_READ) { in wf_mpuintr()
2228 if (gus_pnp_flag && mode & OPEN_READ) in gus_audio_open()2253 if (mode & OPEN_READ) in gus_audio_open()2259 only_8_bits = mode & OPEN_READ; in gus_audio_open()