Lines Matching defs:on
126 * @on: 1 to enable power or 0 to disable
131 static int __subdev_set_power(struct v4l2_subdev *sd, int on)
140 if (on && (*use_count)++ > 0)
142 else if (!on && (*use_count == 0 || --(*use_count) > 0))
144 ret = v4l2_subdev_call(sd, core, s_power, on);
152 * @on: true to power on, false to power off
156 static int fimc_pipeline_s_power(struct fimc_pipeline *p, bool on)
168 unsigned int idx = seq[on][i];
170 ret = __subdev_set_power(p->subdevs[idx], on);
179 unsigned int idx = seq[on][i];
180 __subdev_set_power(p->subdevs[idx], !on);
281 * __fimc_pipeline_s_stream - call s_stream() on pipeline subdevs
283 * @on: passed as the s_stream() callback argument
285 static int __fimc_pipeline_s_stream(struct exynos_media_pipeline *ep, bool on)
346 unsigned int idx = seq[on][i];
348 ret = v4l2_subdev_call(p->subdevs[idx], video, s_stream, on);
356 fimc_pipeline_s_power(p, !on);
358 unsigned int idx = seq[on][i];
359 v4l2_subdev_call(p->subdevs[idx], video, s_stream, !on);
448 * directly or through MIPI-CSIS, depending on the external media bus
1172 * through active links. This is needed as we cannot power on/off the