/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | dev.h | 111 * @num_subdevs: number of linked subdevs 120 struct v4l2_subdev *subdevs[RKISP_MAX_PIPELINE]; member 183 struct v4l2_subdev *subdevs[RKISP_SD_MAX]; member
|
H A D | dev.c | 135 memset(p->subdevs, 0, sizeof(p->subdevs)); in isp_pipeline_prepare() 166 p->subdevs[p->num_subdevs++] = sd; in isp_pipeline_prepare() 213 sd = p->subdevs[0]; in isp_pipeline_s_isp_clk() 215 sd = p->subdevs[i]; in isp_pipeline_s_isp_clk() 272 /* go through media graphic and get subdevs */ in rkisp_pipeline_open() 325 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkisp_pipeline_set_stream() 333 v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkisp_pipeline_set_stream() 346 v4l2_subdev_call(p->subdevs[i], video, s_stream, false); in rkisp_pipeline_set_stream()
|
H A D | rkisp.c | 1020 v4l2_subdev_call(p->subdevs[j], video, s_stream, 0);
in rkisp_restart_monitor() 1053 v4l2_subdev_call(p->subdevs[j], video, s_stream, 1);
in rkisp_restart_monitor()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | dev.h | 110 * @num_subdevs: number of linked subdevs 119 struct v4l2_subdev *subdevs[RKISP_MAX_PIPELINE]; member 183 struct v4l2_subdev *subdevs[RKISP_SD_MAX]; member
|
H A D | dev.c | 127 memset(p->subdevs, 0, sizeof(p->subdevs)); in __isp_pipeline_prepare() 151 p->subdevs[p->num_subdevs++] = sd; in __isp_pipeline_prepare() 191 sd = p->subdevs[0]; in __isp_pipeline_s_isp_clk() 193 sd = p->subdevs[i]; in __isp_pipeline_s_isp_clk() 246 /* go through media graphic and get subdevs */ in rkisp_pipeline_open() 294 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkisp_pipeline_set_stream() 301 v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkisp_pipeline_set_stream() 312 v4l2_subdev_call(p->subdevs[i], video, s_stream, false); in rkisp_pipeline_set_stream()
|
H A D | rkisp.c | 1021 v4l2_subdev_call(p->subdevs[j], video, s_stream, 0); in rkisp_restart_monitor() 1054 v4l2_subdev_call(p->subdevs[j], video, s_stream, 1); in rkisp_restart_monitor()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
H A D | dev.c | 688 memset(p->subdevs, 0, sizeof(p->subdevs));
in cif_pipeline_prepare() 713 p->subdevs[p->num_subdevs++] = sd;
in cif_pipeline_prepare() 740 /* go through media graphic and get subdevs */
in rkcif_pipeline_open() 859 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on);
in rkcif_pipeline_set_stream() 914 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on);
in rkcif_pipeline_set_stream() 934 v4l2_subdev_call(p->subdevs[i], video, s_stream, false);
in rkcif_pipeline_set_stream() 1110 list_for_each_entry(sd, &v4l2_dev->subdevs, list)
in subdev_notifier_complete()
|
H A D | dev.h | 147 * @num_subdevs: number of linked subdevs
156 struct v4l2_subdev *subdevs[RKCIF_MAX_PIPELINE];
member
|
H A D | capture.c | 6261 if (p->subdevs[i] == terminal_sensor->sd) {
in rkcif_do_reset_work() 6264 ret = v4l2_subdev_call(p->subdevs[i], core, ioctl, RKMODULE_SET_QUICK_STREAM, &on);
in rkcif_do_reset_work() 6266 v4l2_err(&cif_dev->v4l2_dev, "quick stream off subdev:%s failed\n", p->subdevs[i]->name);
in rkcif_do_reset_work() 6270 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on);
in rkcif_do_reset_work() 6275 p->subdevs[i]->name);
in rkcif_do_reset_work() 6326 if (p->subdevs[i] == terminal_sensor->sd) {
in rkcif_do_reset_work() 6330 ret = v4l2_subdev_call(p->subdevs[i], core, ioctl, RKMODULE_SET_QUICK_STREAM, &on);
in rkcif_do_reset_work() 6332 v4l2_err(&cif_dev->v4l2_dev, "quick stream on subdev:%s failed\n", p->subdevs[i]->name);
in rkcif_do_reset_work() 6336 if (p->subdevs[i] == terminal_sensor->sd) {
in rkcif_do_reset_work() 6340 ret = v4l2_subdev_call(p->subdevs[ in rkcif_do_reset_work() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
H A D | dev.c | 751 memset(p->subdevs, 0, sizeof(p->subdevs)); in __cif_pipeline_prepare() 771 p->subdevs[p->num_subdevs++] = sd; in __cif_pipeline_prepare() 796 /* go through media graphic and get subdevs */ in rkcif_pipeline_open() 919 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkcif_pipeline_set_stream() 971 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkcif_pipeline_set_stream() 989 v4l2_subdev_call(p->subdevs[i], video, s_stream, false); in rkcif_pipeline_set_stream() 1196 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in subdev_notifier_complete()
|
H A D | dev.h | 157 * @num_subdevs: number of linked subdevs 166 struct v4l2_subdev *subdevs[RKCIF_MAX_PIPELINE]; member
|
H A D | capture.c | 6505 if (p->subdevs[i] == terminal_sensor->sd) { in rkcif_do_reset_work() 6511 ret = v4l2_subdev_call(p->subdevs[i], core, ioctl, in rkcif_do_reset_work() 6515 p->subdevs[i]->name); in rkcif_do_reset_work() 6518 ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on); in rkcif_do_reset_work() 6523 __func__, on ? "on" : "off", p->subdevs[i]->name); in rkcif_do_reset_work() 6575 if (p->subdevs[i] == terminal_sensor->sd) { in rkcif_do_reset_work() 6582 ret = v4l2_subdev_call(p->subdevs[i], core, ioctl, in rkcif_do_reset_work() 6587 p->subdevs[i]->name); in rkcif_do_reset_work() 6590 if (p->subdevs[i] == terminal_sensor->sd) in rkcif_do_reset_work() 6593 ret = v4l2_subdev_call(p->subdevs[ in rkcif_do_reset_work() [all...] |