Home
last modified time | relevance | path

Searched refs:OPEN_READ (Results 1 – 16 of 16) sorted by relevance

/sound/oss/
Dsound_config.h109 #define OPEN_READ PCM_ENABLE_INPUT macro
111 #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()
Daudio.c313 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 …]
Dsb_audio.c44 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()
Dsequencer.c219 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()
Duart6850.c96 if (uart6850_opened & OPEN_READ) in uart6850_input_loop()
123 if (!(uart6850_opened & OPEN_READ)) in poll_uart6850()
Ddmabuf.c307 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()
Dpas2_midi.c69 if (mode == OPEN_READ || mode == OPEN_READWRITE) in pas_midi_open()
Dsb_midi.c63 if (mode & OPEN_READ) in sb_midi_open()
Dv_midi.c65 if (mode & OPEN_READ) in v_midi_open()
Ddev_table.h232 #define AM_READ OPEN_READ
Dmpu401.c431 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()
Dmidibuf.c228 if (mode != OPEN_READ) in MIDIbuf_release()
Dvidc.c278 if (mode == OPEN_READ) in vidc_audio_open()
Duart401.c92 else if (devc->opened & OPEN_READ && devc->midi_input_intr) in uart401_input_loop()
Dwaveartist.c396 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()
Dad1848.c997 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()