Searched refs:s_new (Results 1 – 1 of 1) sorted by relevance
1975 struct comedi_subdevice *s_old, *s_new; in do_setrsubd_ioctl() local1980 s_new = &dev->subdevices[arg]; in do_setrsubd_ioctl()1982 if (s_old == s_new) in do_setrsubd_ioctl()1985 if (!(s_new->subdev_flags & SDF_CMD_READ)) in do_setrsubd_ioctl()1996 WRITE_ONCE(cfp->read_subdev, s_new); in do_setrsubd_ioctl()2017 struct comedi_subdevice *s_old, *s_new; in do_setwsubd_ioctl() local2022 s_new = &dev->subdevices[arg]; in do_setwsubd_ioctl()2024 if (s_old == s_new) in do_setwsubd_ioctl()2027 if (!(s_new->subdev_flags & SDF_CMD_WRITE)) in do_setwsubd_ioctl()2038 WRITE_ONCE(cfp->write_subdev, s_new); in do_setwsubd_ioctl()