Lines Matching refs:CMDF_WRITE
1129 if (!(async->cmd.flags & CMDF_WRITE)) { in do_bufinfo_ioctl()
1690 cmd->flags &= ~CMDF_WRITE; in __comedi_get_user_cmd()
1693 cmd->flags |= CMDF_WRITE; in __comedi_get_user_cmd()
2061 !(s_old->async->cmd.flags & CMDF_WRITE)) in do_setrsubd_ioctl()
2104 (s_old->async->cmd.flags & CMDF_WRITE)) in do_setwsubd_ioctl()
2439 (s->async->cmd.flags & CMDF_WRITE) || in comedi_poll()
2451 !(s->async->cmd.flags & CMDF_WRITE) || in comedi_poll()
2494 if (s->busy != file || !(async->cmd.flags & CMDF_WRITE)) { in comedi_write()
2533 !(async->cmd.flags & CMDF_WRITE)) { in comedi_write()
2585 (async->cmd.flags & CMDF_WRITE) && in comedi_write()
2630 if (s->busy != file || (async->cmd.flags & CMDF_WRITE)) { in comedi_read()
2667 (async->cmd.flags & CMDF_WRITE)) { in comedi_read()
2721 !(async->cmd.flags & CMDF_WRITE) && in comedi_read()
3224 si_code = async->cmd.flags & CMDF_WRITE ? POLL_OUT : POLL_IN; in comedi_event()