/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
H A D | dev.h | 390 struct rkcif_luma_node vnode;
member 492 struct rkcif_vdev_node vnode;
member 573 static inline struct rkcif_stream *to_rkcif_stream(struct rkcif_vdev_node *vnode)
in to_rkcif_stream() argument 575 return container_of(vnode, struct rkcif_stream, vnode);
in to_rkcif_stream() 585 struct rkcif_vdev_node *vnode = video_drvdata(file);
in to_vb2_queue() local 587 return &vnode->buf_queue;
in to_vb2_queue() 661 struct rkcif_vdev_node vnode;
member 681 static inline struct rkcif_scale_vdev *to_rkcif_scale_vdev(struct rkcif_vdev_node *vnode)
in to_rkcif_scale_vdev() argument 683 return container_of(vnode, struc in to_rkcif_scale_vdev() [all...] |
H A D | cif-luma.c | 89 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkcif_luma_fh_open() 105 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release() 206 q->lock = &luma_vdev->vnode.vlock; in rkcif_luma_init_vb2_queue() 228 v4l2_warn(vdev->vnode.vdev.v4l2_dev, "no luma buffer available\n"); in rkcif_stats_send_luma() 234 v4l2_err(vdev->vnode.vdev.v4l2_dev, "cur_stat_buf is NULL\n"); in rkcif_stats_send_luma() 362 v4l2_err(luma_vdev->vnode.vdev.v4l2_dev, "stats kfifo is full\n"); in rkcif_luma_isr() 428 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_register_luma_vdev() 486 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_unregister_luma_vdev()
|
H A D | cif-scale.c | 219 if (vb2_is_busy(&scale_vdev->vnode.buf_queue)) {
in rkcif_scale_s_fmt_vid_cap_mplane() 397 struct rkcif_vdev_node *vnode = vdev_to_node(vdev);
in rkcif_scale_fh_open() local 398 struct rkcif_scale_vdev *scale_vdev = to_rkcif_scale_vdev(vnode);
in rkcif_scale_fh_open() 423 ret = v4l2_pipeline_pm_get(&vnode->vdev.entity);
in rkcif_scale_fh_open() 435 struct rkcif_vdev_node *vnode = vdev_to_node(vdev);
in rkcif_scale_fop_release() local 436 struct rkcif_scale_vdev *scale_vdev = to_rkcif_scale_vdev(vnode);
in rkcif_scale_fop_release() 442 v4l2_pipeline_pm_put(&vnode->vdev.entity);
in rkcif_scale_fop_release() 872 q->lock = &scale_vdev->vnode.vlock;
in rkcif_scale_init_vb2_queue() 1034 struct video_device *vdev = &scale_vdev->vnode.vdev;
in rkcif_register_scale_vdev() 1096 struct rkcif_vdev_node *node = &scale_vdev->vnode;
in rkcif_unregister_scale_vdev() [all...] |
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | isp_mipi_luma.c | 84 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkisp_luma_fh_open() 100 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkisp_luma_fop_release() 224 v4l2_warn(vdev->vnode.vdev.v4l2_dev, "no luma buffer available\n"); in rkisp_stats_send_luma() 230 v4l2_err(vdev->vnode.vdev.v4l2_dev, "cur_stat_buf is NULL\n"); in rkisp_stats_send_luma() 309 v4l2_dbg(1, rkisp_debug, luma_vdev->vnode.vdev.v4l2_dev, "missing raw0 y state isr, %d\n", in rkisp_luma_isr() 316 v4l2_dbg(1, rkisp_debug, luma_vdev->vnode.vdev.v4l2_dev, "missing raw1 y state isr, %d\n", in rkisp_luma_isr() 323 v4l2_dbg(1, rkisp_debug, luma_vdev->vnode.vdev.v4l2_dev, "missing raw2 y state isr, %d\n", in rkisp_luma_isr() 394 v4l2_err(luma_vdev->vnode.vdev.v4l2_dev, "stats kfifo is full\n"); in rkisp_luma_isr() 420 struct rkisp_vdev_node *node = &luma_vdev->vnode; in rkisp_register_luma_vdev() 460 sink = &luma_vdev->vnode in rkisp_register_luma_vdev() [all...] |
H A D | isp_params.c | 231 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkisp_params_fh_open() 252 v4l2_pipeline_pm_put(¶ms->vnode.vdev.entity); in rkisp_params_fop_release() 383 struct rkisp_vdev_node *node = ¶ms_vdev->vnode; in rkisp_register_params_vdev() 423 source = ¶ms_vdev->vnode.vdev.entity; in rkisp_register_params_vdev() 444 struct rkisp_vdev_node *node = ¶ms_vdev->vnode; in rkisp_unregister_params_vdev()
|
H A D | isp_stats.c | 86 ret = v4l2_pipeline_pm_get(&stats->vnode.vdev.entity); in rkisp_stats_fh_open() 102 v4l2_pipeline_pm_put(&stats->vnode.vdev.entity); in rkisp_stats_fop_release() 282 struct rkisp_vdev_node *node = &stats_vdev->vnode; in rkisp_register_stats_vdev() 318 sink = &stats_vdev->vnode.vdev.entity; in rkisp_register_stats_vdev() 347 struct rkisp_vdev_node *node = &stats_vdev->vnode; in rkisp_unregister_stats_vdev()
|
H A D | dmarx.c | 532 v4l2_dbg(1, rkisp_debug, &dev->v4l2_dev, "%s %s count %d, size %d\n", stream->vnode.vdev.name, in rkisp_queue_setup() 609 v4l2_dbg(1, rkisp_debug, v4l2_dev, "%s %s id:%d\n", __func__, stream->vnode.vdev.name, stream->id); in dmarx_stop_streaming() 631 v4l2_dbg(1, rkisp_debug, v4l2_dev, "%s %s id:%d\n", __func__, stream->vnode.vdev.name, stream->id); in dmarx_start_streaming() 638 v4l2_err(v4l2_dev, "check %s link\n", stream->vnode.vdev.name); in dmarx_start_streaming() 644 v4l2_err(v4l2_dev, "start %s failed\n", stream->vnode.vdev.name); in dmarx_start_streaming() 795 struct video_device *vdev = &stream->vnode.vdev; in rkisp_s_fmt_vid_out_mplane() 887 media_entity_cleanup(&stream->vnode.vdev.entity); in rkisp_unregister_dmarx_video() 888 video_unregister_device(&stream->vnode.vdev); in rkisp_unregister_dmarx_video() 895 struct video_device *vdev = &stream->vnode.vdev; in rkisp_register_dmarx_video() 991 vdev = &stream->vnode in dmarx_init() [all...] |
H A D | isp_mipi_luma.h | 43 struct rkisp_vdev_node vnode; member
|
H A D | isp_stats_v1x.c | 241 v4l2_warn(stats_vdev->vnode.vdev.v4l2_dev, "Measurement late(%d, %d)\n", cur_frame_id, meas_work->frame_id); in rkisp1_stats_send_meas_v1x() 308 v4l2_err(stats_vdev->vnode.vdev.v4l2_dev, "isp icr 3A info err: 0x%x 0x%x\n", isp_mis_tmp, isp_ris); in rkisp1_stats_isr_v1x() 324 v4l2_err(stats_vdev->vnode.vdev.v4l2_dev, "stats kfifo is full\n"); in rkisp1_stats_isr_v1x() 337 v4l2_info(stats_vdev->vnode.vdev.v4l2_dev, "isp_isr time %d %d\n", diff_us, g_longest_isr_time); in rkisp1_stats_isr_v1x()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
H A D | dev.h | 451 struct rkcif_vdev_node vnode; member 534 struct rkcif_stream *to_rkcif_stream(struct rkcif_vdev_node *vnode) in to_rkcif_stream() argument 536 return container_of(vnode, struct rkcif_stream, vnode); in to_rkcif_stream() 546 struct rkcif_vdev_node *vnode = video_drvdata(file); in to_vb2_queue() local 548 return &vnode->buf_queue; in to_vb2_queue() 622 struct rkcif_vdev_node vnode; member 643 struct rkcif_scale_vdev *to_rkcif_scale_vdev(struct rkcif_vdev_node *vnode) in to_rkcif_scale_vdev() argument 645 return container_of(vnode, struct rkcif_scale_vdev, vnode); in to_rkcif_scale_vdev() [all...] |
H A D | cif-luma.c | 94 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkcif_luma_fh_open() 109 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release() 217 q->lock = &luma_vdev->vnode.vlock; in rkcif_luma_init_vb2_queue() 242 v4l2_warn(vdev->vnode.vdev.v4l2_dev, in rkcif_stats_send_luma() 250 v4l2_err(vdev->vnode.vdev.v4l2_dev, in rkcif_stats_send_luma() 379 v4l2_err(luma_vdev->vnode.vdev.v4l2_dev, in rkcif_luma_isr() 448 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_register_luma_vdev() 512 struct rkcif_luma_node *node = &luma_vdev->vnode; in rkcif_unregister_luma_vdev()
|
H A D | cif-scale.c | 232 if (vb2_is_busy(&scale_vdev->vnode.buf_queue)) { in rkcif_scale_s_fmt_vid_cap_mplane() 414 struct rkcif_vdev_node *vnode = vdev_to_node(vdev); in rkcif_scale_fh_open() local 415 struct rkcif_scale_vdev *scale_vdev = to_rkcif_scale_vdev(vnode); in rkcif_scale_fh_open() 441 ret = v4l2_pipeline_pm_get(&vnode->vdev.entity); in rkcif_scale_fh_open() 452 struct rkcif_vdev_node *vnode = vdev_to_node(vdev); in rkcif_scale_fop_release() local 453 struct rkcif_scale_vdev *scale_vdev = to_rkcif_scale_vdev(vnode); in rkcif_scale_fop_release() 459 v4l2_pipeline_pm_put(&vnode->vdev.entity); in rkcif_scale_fop_release() 924 q->lock = &scale_vdev->vnode.vlock; in rkcif_scale_init_vb2_queue() 1094 struct video_device *vdev = &scale_vdev->vnode.vdev; in rkcif_register_scale_vdev() 1159 struct rkcif_vdev_node *node = &scale_vdev->vnode; in rkcif_unregister_scale_vdev() [all...] |
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
H A D | dev.c | 138 source = &stream->vnode.vdev.entity; in rkispp_create_links() 146 source = &ispp_dev->params_vdev.vnode.vdev.entity; in rkispp_create_links() 156 sink = &ispp_dev->stats_vdev.vnode.vdev.entity; in rkispp_create_links() 165 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 173 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 181 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 194 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 202 sink = &stream->vnode.vdev.entity; in rkispp_create_links()
|
H A D | common.h | 107 struct rkispp_vdev_node *vnode = video_drvdata(file); in to_vb2_queue() local 109 return &vnode->buf_queue; in to_vb2_queue()
|
H A D | stats.h | 35 struct rkispp_vdev_node vnode; member
|
H A D | params.c | 259 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkispp_param_fh_open() 285 v4l2_pipeline_pm_put(¶ms->vnode.vdev.entity); in rkispp_param_fh_release() 342 struct rkispp_vdev_node *node = ¶ms_vdev->vnode; in rkispp_register_params_vdev() 403 struct rkispp_vdev_node *node = ¶ms_vdev->vnode; in rkispp_unregister_params_vdev()
|
H A D | stats.c | 134 ret = v4l2_pipeline_pm_get(&stats->vnode.vdev.entity); in rkispp_stats_fh_open() 150 v4l2_pipeline_pm_put(&stats->vnode.vdev.entity); in rkispp_stats_fh_release() 320 struct rkispp_vdev_node *node = &stats_vdev->vnode; in rkispp_register_stats_vdev() 366 struct rkispp_vdev_node *node = &stats_vdev->vnode; in rkispp_unregister_stats_vdev()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
H A D | dev.c | 134 source = &stream->vnode.vdev.entity; in rkispp_create_links() 141 source = &ispp_dev->params_vdev.vnode.vdev.entity; in rkispp_create_links() 150 sink = &ispp_dev->stats_vdev.vnode.vdev.entity; in rkispp_create_links() 158 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 165 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 172 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 184 sink = &stream->vnode.vdev.entity; in rkispp_create_links() 191 sink = &stream->vnode.vdev.entity; in rkispp_create_links()
|
H A D | common.h | 107 struct rkispp_vdev_node *vnode = video_drvdata(file); in to_vb2_queue() local 109 return &vnode->buf_queue; in to_vb2_queue()
|
H A D | stats.h | 36 struct rkispp_vdev_node vnode; member
|
H A D | params.c | 274 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkispp_param_fh_open() 301 v4l2_pipeline_pm_put(¶ms->vnode.vdev.entity); in rkispp_param_fh_release() 361 struct rkispp_vdev_node *node = ¶ms_vdev->vnode; in rkispp_register_params_vdev() 420 struct rkispp_vdev_node *node = ¶ms_vdev->vnode; in rkispp_unregister_params_vdev()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | isp_params.c | 242 ret = v4l2_pipeline_pm_get(¶ms->vnode.vdev.entity); in rkisp_params_fh_open() 261 v4l2_pipeline_pm_put(¶ms->vnode.vdev.entity); in rkisp_params_fop_release() 391 struct rkisp_vdev_node *node = ¶ms_vdev->vnode; in rkisp_register_params_vdev() 430 source = ¶ms_vdev->vnode.vdev.entity; in rkisp_register_params_vdev() 451 struct rkisp_vdev_node *node = ¶ms_vdev->vnode; in rkisp_unregister_params_vdev()
|
H A D | isp_stats.c | 91 ret = v4l2_pipeline_pm_get(&stats->vnode.vdev.entity); in rkisp_stats_fh_open() 106 v4l2_pipeline_pm_put(&stats->vnode.vdev.entity); in rkisp_stats_fop_release() 292 struct rkisp_vdev_node *node = &stats_vdev->vnode; in rkisp_register_stats_vdev() 328 sink = &stats_vdev->vnode.vdev.entity; in rkisp_register_stats_vdev() 363 struct rkisp_vdev_node *node = &stats_vdev->vnode; in rkisp_unregister_stats_vdev()
|
H A D | dmarx.c | 524 stream->vnode.vdev.name, v4l2_type_names[queue->type], *num_buffers, sizes[0]); in rkisp_queue_setup() 611 __func__, stream->vnode.vdev.name, stream->id); in dmarx_stop_streaming() 633 __func__, stream->vnode.vdev.name, stream->id); in dmarx_start_streaming() 639 v4l2_err(v4l2_dev, "check %s link\n", stream->vnode.vdev.name); in dmarx_start_streaming() 645 v4l2_err(v4l2_dev, "start %s failed\n", stream->vnode.vdev.name); in dmarx_start_streaming() 811 struct video_device *vdev = &stream->vnode.vdev; in rkisp_s_fmt_vid_out_mplane() 910 media_entity_cleanup(&stream->vnode.vdev.entity); in rkisp_unregister_dmarx_video() 911 video_unregister_device(&stream->vnode.vdev); in rkisp_unregister_dmarx_video() 918 struct video_device *vdev = &stream->vnode.vdev; in rkisp_register_dmarx_video() 1015 vdev = &stream->vnode in dmarx_init() [all...] |
H A D | isp_mipi_luma.h | 44 struct rkisp_vdev_node vnode; member
|