Lines Matching refs:FMODE_READ

819         out64((s->ena & FMODE_READ) ? M_SYNCSER_DMA_RX_EN : 0,  in stop_dac()
860 s->ena &= ~FMODE_READ; in stop_adc()
881 if (!(s->ena & FMODE_READ) && in start_adc()
911 s->ena |= FMODE_READ; in start_adc()
940 if ((s->ena & FMODE_READ) || (status & (M_SYNCSER_RX_EOP_COUNT))) { in cs4297a_update_ptr()
945 if (s->ena & FMODE_READ) { in cs4297a_update_ptr()
1920 if (file->f_mode & FMODE_READ) { in cs4297a_poll()
1944 } else if (file->f_mode & FMODE_READ) { in cs4297a_poll()
1987 ((file->f_mode & FMODE_READ) && s->dma_adc.mapped); in cs4297a_ioctl()
2024 if (file->f_mode & FMODE_READ) { in cs4297a_ioctl()
2048 if (file->f_mode & FMODE_READ) { in cs4297a_ioctl()
2067 if (file->f_mode & FMODE_READ) { in cs4297a_ioctl()
2087 else if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2107 if (file->f_mode & FMODE_READ) { in cs4297a_ioctl()
2130 else if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2145 if (file->f_mode & s->ena & FMODE_READ) in cs4297a_ioctl()
2154 if (file->f_mode & FMODE_READ) { in cs4297a_ioctl()
2198 if (!(file->f_mode & FMODE_READ)) in cs4297a_ioctl()
2237 if (!(file->f_mode & FMODE_READ)) in cs4297a_ioctl()
2313 if ((file->f_mode & FMODE_READ && s->dma_adc.subdivision) in cs4297a_ioctl()
2320 if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2327 if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2333 if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2339 if (file->f_mode & FMODE_READ) in cs4297a_ioctl()
2381 if (file->f_mode & FMODE_READ) { in cs4297a_release()
2386 s->open_mode &= ~FMODE_READ; in cs4297a_release()
2424 if (!(file->f_mode & (FMODE_WRITE | FMODE_READ))) { in cs4297a_open()
2452 if (file->f_mode & FMODE_READ) { in cs4297a_open()
2454 while (s->open_mode & FMODE_READ) { in cs4297a_open()
2469 s->open_mode |= file->f_mode & (FMODE_READ | FMODE_WRITE); in cs4297a_open()
2470 if (file->f_mode & FMODE_READ) { in cs4297a_open()
2476 s->ena &= ~FMODE_READ; in cs4297a_open()