Searched refs:s_new (Results 1 – 1 of 1) sorted by relevance
1967 struct comedi_subdevice *s_old, *s_new; in do_setrsubd_ioctl() local1972 s_new = &dev->subdevices[arg]; in do_setrsubd_ioctl()1974 if (s_old == s_new) in do_setrsubd_ioctl()1977 if (!(s_new->subdev_flags & SDF_CMD_READ)) in do_setrsubd_ioctl()1988 ACCESS_ONCE(cfp->read_subdev) = s_new; in do_setrsubd_ioctl()2009 struct comedi_subdevice *s_old, *s_new; in do_setwsubd_ioctl() local2014 s_new = &dev->subdevices[arg]; in do_setwsubd_ioctl()2016 if (s_old == s_new) in do_setwsubd_ioctl()2019 if (!(s_new->subdev_flags & SDF_CMD_WRITE)) in do_setwsubd_ioctl()2030 ACCESS_ONCE(cfp->write_subdev) = s_new; in do_setwsubd_ioctl()