Lines Matching refs:FMODE_READ
147 #define FMODE_MIDI_READ (FMODE_READ << FMODE_MIDI_SHIFT)
373 s->ena &= ~FMODE_READ; in stop_adc()
383 …if (!(s->ena & FMODE_READ) && (s->dma_adc.mapped || s->dma_adc.count < (signed)(s->dma_adc.dmasize… in start_adc()
385 s->ena |= FMODE_READ; in start_adc()
554 if (s->ena & FMODE_READ) { in solo1_update_ptr()
569 s->ena &= ~FMODE_READ; in solo1_update_ptr()
1193 if (file->f_mode & FMODE_READ) { in solo1_poll()
1200 if (file->f_mode & FMODE_READ) { in solo1_poll()
1270 ((file->f_mode & FMODE_READ) && s->dma_adc.mapped); in solo1_ioctl()
1292 if (file->f_mode & FMODE_READ) { in solo1_ioctl()
1376 if (file->f_mode & s->ena & FMODE_READ) in solo1_ioctl()
1385 if (file->f_mode & FMODE_READ) { in solo1_ioctl()
1429 if (!(file->f_mode & FMODE_READ)) in solo1_ioctl()
1460 if (!(file->f_mode & FMODE_READ)) in solo1_ioctl()
1511 if (file->f_mode & FMODE_READ) { in solo1_ioctl()
1534 if ((file->f_mode & FMODE_READ && s->dma_adc.subdivision) || in solo1_ioctl()
1541 if (file->f_mode & FMODE_READ) in solo1_ioctl()
1579 if (file->f_mode & FMODE_READ) { in solo1_release()
1585 s->open_mode &= ~(FMODE_READ | FMODE_WRITE); in solo1_release()
1617 while (s->open_mode & (FMODE_READ | FMODE_WRITE)) { in solo1_open()
1641 s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); in solo1_open()
1866 if (file->f_flags & FMODE_READ) in solo1_midi_poll()
1869 if (file->f_flags & FMODE_READ) { in solo1_midi_poll()
1938 if (file->f_mode & FMODE_READ) { in solo1_midi_open()