Lines Matching refs:subdevs
76 p->subdevs[i] = NULL; in fimc_pipeline_prepare()
101 p->subdevs[IDX_SENSOR] = sd; in fimc_pipeline_prepare()
104 p->subdevs[IDX_CSIS] = sd; in fimc_pipeline_prepare()
107 p->subdevs[IDX_FLITE] = sd; in fimc_pipeline_prepare()
110 p->subdevs[IDX_FIMC] = sd; in fimc_pipeline_prepare()
113 p->subdevs[IDX_IS_ISP] = sd; in fimc_pipeline_prepare()
123 if (sensor && p->subdevs[IDX_FIMC]) in fimc_pipeline_prepare()
124 __setup_sensor_notification(fmd, sensor, p->subdevs[IDX_FIMC]); in fimc_pipeline_prepare()
168 if (p->subdevs[IDX_SENSOR] == NULL) in fimc_pipeline_s_power()
174 ret = __subdev_set_power(p->subdevs[idx], on); in fimc_pipeline_s_power()
184 __subdev_set_power(p->subdevs[idx], !on); in fimc_pipeline_s_power()
211 sd = p->subdevs[IDX_SENSOR]; in __fimc_pipeline_open()
216 if (!IS_ERR(fmd->wbclk[CLK_IDX_WB_B]) && p->subdevs[IDX_IS_ISP]) { in __fimc_pipeline_open()
226 if (!IS_ERR(fmd->wbclk[CLK_IDX_WB_B]) && p->subdevs[IDX_IS_ISP]) in __fimc_pipeline_open()
241 struct v4l2_subdev *sd = p ? p->subdevs[IDX_SENSOR] : NULL; in __fimc_pipeline_close()
255 if (!IS_ERR(fmd->wbclk[CLK_IDX_WB_B]) && p->subdevs[IDX_IS_ISP]) in __fimc_pipeline_close()
275 if (p->subdevs[IDX_SENSOR] == NULL) in __fimc_pipeline_s_stream()
281 ret = v4l2_subdev_call(p->subdevs[idx], video, s_stream, on); in __fimc_pipeline_s_stream()
290 v4l2_subdev_call(p->subdevs[idx], video, s_stream, !on); in __fimc_pipeline_s_stream()
1037 if (!enable && p->subdevs[IDX_SENSOR] == NULL) in __fimc_md_modify_pipeline()
1046 memset(p->subdevs, 0, sizeof(p->subdevs)); in __fimc_md_modify_pipeline()
1408 fmd->subdev_notifier.subdevs = fmd->async_subdevs; in fimc_md_probe()