Lines Matching refs:slave
48 if (s->u.slave->master) in v4l2_int_device_try_attach_all()
52 if (s->u.slave->attach_to[0] != 0 in v4l2_int_device_try_attach_all()
53 && strncmp(m->name, s->u.slave->attach_to, in v4l2_int_device_try_attach_all()
60 s->u.slave->master = m; in v4l2_int_device_try_attach_all()
62 s->u.slave->master = NULL; in v4l2_int_device_try_attach_all()
87 sort(d->u.slave->ioctls, d->u.slave->num_ioctls, in v4l2_int_device_register()
104 && d->u.slave->master != NULL) { in v4l2_int_device_unregister()
105 d->u.slave->master->u.master->detach(d); in v4l2_int_device_unregister()
106 module_put(d->u.slave->master->module); in v4l2_int_device_unregister()
107 d->u.slave->master = NULL; in v4l2_int_device_unregister()
114 static v4l2_int_ioctl_func *find_ioctl(struct v4l2_int_slave *slave, int cmd, in find_ioctl() argument
117 const struct v4l2_int_ioctl_desc *first = slave->ioctls; in find_ioctl()
119 first + slave->num_ioctls - 1; in find_ioctl()
145 find_ioctl(d->u.slave, cmd, in v4l2_int_ioctl_0()
158 find_ioctl(d->u.slave, cmd, in v4l2_int_ioctl_1()