Lines Matching refs:OPEN_READ
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()
956 if (audio_devs[dev]->open_mode == OPEN_READ) in dma_ioctl()
969 if (audio_devs[dev]->open_mode == OPEN_READ || in dma_ioctl()
971 audio_devs[dev]->open_mode & OPEN_READ)) in dma_ioctl()