Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 25 of 102) sorted by relevance

12345

/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dstream_v10.c46 struct rkispp_stream_vdev *vdev = in rkispp_frame_done_early() local
48 struct rkispp_stream *stream = &vdev->stream[0]; in rkispp_frame_done_early()
51 bool is_fec_en = (vdev->module_ens & ISPP_MODULE_FEC); in rkispp_frame_done_early()
53 u32 threshold = vdev->wait_line / 128; in rkispp_frame_done_early()
64 t = vdev->fec.dbg.timestamp; in rkispp_frame_done_early()
65 seq = vdev->fec.dbg.id; in rkispp_frame_done_early()
71 t = vdev->nr.dbg.timestamp; in rkispp_frame_done_early()
72 seq = vdev->nr.dbg.id; in rkispp_frame_done_early()
80 vdev->is_done_early = false; in rkispp_frame_done_early()
94 __func__, seq, vdev->wait_line, ycnt * 128, time / 1000); in rkispp_frame_done_early()
[all …]
Dstream_v20.c60 struct rkispp_stream_vdev *vdev; in config_fec() local
69 vdev = &dev->stream_vdev; in config_fec()
70 vdev->fec.is_end = true; in config_fec()
71 if (!(vdev->module_ens & ISPP_MODULE_FEC)) in config_fec()
75 stream = &vdev->stream[STREAM_II]; in config_fec()
86 vdev->fec.uv_offset = addr_offs; in config_fec()
120 stream = &vdev->stream[STREAM_MB]; in config_fec()
131 stream = &vdev->stream[STREAM_MB]; in config_fec()
137 if (vdev->monitor.is_en) { in config_fec()
138 init_completion(&vdev->monitor.fec.cmpl); in config_fec()
[all …]
Dparams.c52 struct video_device *vdev = video_devdata(file); in rkispp_params_querycap() local
53 struct rkispp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkispp_params_querycap()
58 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_params_querycap()
67 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_subs_evt()
85 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_unsubs_evt()
274 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkispp_param_fh_open()
293 struct video_device *vdev = video_devdata(filp); in rkispp_param_fh_release() local
296 if (filp->private_data == vdev->queue->owner) in rkispp_param_fh_release()
301 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkispp_param_fh_release()
362 struct video_device *vdev = &node->vdev; in rkispp_register_params_vdev() local
[all …]
Dstats.c117 struct video_device *vdev = video_devdata(file); in rkispp_stats_querycap() local
118 struct rkispp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkispp_stats_querycap()
124 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_stats_querycap()
138 ret = v4l2_pipeline_pm_get(&stats->vnode.vdev.entity); in rkispp_stats_fh_open()
155 v4l2_pipeline_pm_put(&stats->vnode.vdev.entity); in rkispp_stats_fh_release()
336 struct video_device *vdev = &node->vdev; in rkispp_register_stats_vdev() local
343 strlcpy(vdev->name, "rkispp-stats", sizeof(vdev->name)); in rkispp_register_stats_vdev()
345 vdev->ioctl_ops = &rkispp_stats_ioctl; in rkispp_register_stats_vdev()
346 vdev->fops = &rkispp_stats_fops; in rkispp_register_stats_vdev()
347 vdev->release = video_device_release_empty; in rkispp_register_stats_vdev()
[all …]
Dstream.c342 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in rkispp_frame_end() local
436 vdev->stream_ops->update_mi(stream); in rkispp_frame_end()
488 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_start_3a_run() local
497 v4l2_event_queue(vdev, &ev); in rkispp_start_3a_run()
512 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_stop_3a_run() local
521 v4l2_event_queue(vdev, &ev); in rkispp_stop_3a_run()
535 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in start_ii() local
546 vdev->input[i].priv = buf; in start_ii()
547 vdev->input[i].index = dev->dev_id; in start_ii()
548 vdev->input[i].frame_timestamp = buf->vb.vb2_buf.timestamp; in start_ii()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dstream_v20.c60 struct rkispp_stream_vdev *vdev; in config_fec() local
69 vdev = &dev->stream_vdev; in config_fec()
70 vdev->fec.is_end = true; in config_fec()
71 if (!(vdev->module_ens & ISPP_MODULE_FEC)) in config_fec()
75 stream = &vdev->stream[STREAM_II]; in config_fec()
86 vdev->fec.uv_offset = addr_offs; in config_fec()
120 stream = &vdev->stream[STREAM_MB]; in config_fec()
131 stream = &vdev->stream[STREAM_MB]; in config_fec()
137 if (vdev->monitor.is_en) { in config_fec()
138 init_completion(&vdev->monitor.fec.cmpl); in config_fec()
[all …]
Dparams.c52 struct video_device *vdev = video_devdata(file); in rkispp_params_querycap() local
53 struct rkispp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkispp_params_querycap()
58 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_params_querycap()
67 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_subs_evt()
85 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_unsubs_evt()
274 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkispp_param_fh_open()
293 struct video_device *vdev = video_devdata(filp); in rkispp_param_fh_release() local
296 if (filp->private_data == vdev->queue->owner) in rkispp_param_fh_release()
301 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkispp_param_fh_release()
362 struct video_device *vdev = &node->vdev; in rkispp_register_params_vdev() local
[all …]
Dstats.c117 struct video_device *vdev = video_devdata(file); in rkispp_stats_querycap() local
118 struct rkispp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkispp_stats_querycap()
124 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_stats_querycap()
138 ret = v4l2_pipeline_pm_get(&stats->vnode.vdev.entity); in rkispp_stats_fh_open()
155 v4l2_pipeline_pm_put(&stats->vnode.vdev.entity); in rkispp_stats_fh_release()
336 struct video_device *vdev = &node->vdev; in rkispp_register_stats_vdev() local
343 strlcpy(vdev->name, "rkispp-stats", sizeof(vdev->name)); in rkispp_register_stats_vdev()
345 vdev->ioctl_ops = &rkispp_stats_ioctl; in rkispp_register_stats_vdev()
346 vdev->fops = &rkispp_stats_fops; in rkispp_register_stats_vdev()
347 vdev->release = video_device_release_empty; in rkispp_register_stats_vdev()
[all …]
Dstream.c342 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in rkispp_frame_end() local
436 vdev->stream_ops->update_mi(stream); in rkispp_frame_end()
488 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_start_3a_run() local
497 v4l2_event_queue(vdev, &ev); in rkispp_start_3a_run()
512 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_stop_3a_run() local
521 v4l2_event_queue(vdev, &ev); in rkispp_stop_3a_run()
535 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in start_ii() local
546 vdev->input[i].priv = buf; in start_ii()
547 vdev->input[i].index = dev->dev_id; in start_ii()
548 vdev->input[i].frame_timestamp = buf->vb.vb2_buf.timestamp; in start_ii()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dstream_v20.c57 struct rkispp_stream_vdev *vdev; in config_fec() local
66 vdev = &dev->stream_vdev; in config_fec()
67 vdev->fec.is_end = true; in config_fec()
68 if (!(vdev->module_ens & ISPP_MODULE_FEC)) { in config_fec()
73 stream = &vdev->stream[STREAM_II]; in config_fec()
84 vdev->fec.uv_offset = addr_offs; in config_fec()
114 stream = &vdev->stream[STREAM_MB]; in config_fec()
125 stream = &vdev->stream[STREAM_MB]; in config_fec()
131 if (vdev->monitor.is_en) { in config_fec()
132 init_completion(&vdev->monitor.fec.cmpl); in config_fec()
[all …]
Dparams.c52 struct video_device *vdev = video_devdata(file); in rkispp_params_querycap() local
53 struct rkispp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkispp_params_querycap()
56 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_params_querycap()
64 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_subs_evt()
82 struct rkispp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkispp_params_unsubs_evt()
259 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkispp_param_fh_open()
276 struct video_device *vdev = video_devdata(filp); in rkispp_param_fh_release() local
279 if (filp->private_data == vdev->queue->owner) { in rkispp_param_fh_release()
285 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkispp_param_fh_release()
343 struct video_device *vdev = &node->vdev; in rkispp_register_params_vdev() local
[all …]
Dstats.c115 struct video_device *vdev = video_devdata(file); in rkispp_stats_querycap() local
116 struct rkispp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkispp_stats_querycap()
120 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkispp_stats_querycap()
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()
321 struct video_device *vdev = &node->vdev; in rkispp_register_stats_vdev() local
328 strlcpy(vdev->name, "rkispp-stats", sizeof(vdev->name)); in rkispp_register_stats_vdev()
330 vdev->ioctl_ops = &rkispp_stats_ioctl; in rkispp_register_stats_vdev()
331 vdev->fops = &rkispp_stats_fops; in rkispp_register_stats_vdev()
332 vdev->release = video_device_release_empty; in rkispp_register_stats_vdev()
[all …]
Dstream.c352 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in rkispp_frame_end() local
437 vdev->stream_ops->update_mi(stream); in rkispp_frame_end()
487 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_start_3a_run() local
497 v4l2_event_queue(vdev, &ev); in rkispp_start_3a_run()
510 struct video_device *vdev = &params_vdev->vnode.vdev; in rkispp_stop_3a_run() local
520 v4l2_event_queue(vdev, &ev); in rkispp_stop_3a_run()
532 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in start_ii() local
543 vdev->input[i].priv = buf; in start_ii()
544 vdev->input[i].index = dev->dev_id; in start_ii()
545 vdev->input[i].frame_timestamp = buf->vb.vb2_buf.timestamp; in start_ii()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Disp_stats.c53 struct video_device *vdev = video_devdata(file); in rkisp_stats_querycap() local
54 struct rkisp_isp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkisp_stats_querycap()
60 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_stats_querycap()
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()
224 struct rkisp_isp_stats_vdev *vdev = in rkisp_stats_readout_task() local
227 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp_stats_readout_task()
228 out = kfifo_out(&vdev->rd_kfifo, in rkisp_stats_readout_task()
234 vdev->ops->send_meas(vdev, &work); in rkisp_stats_readout_task()
293 struct video_device *vdev = &node->vdev; in rkisp_register_stats_vdev() local
[all …]
Disp_params.c55 struct video_device *vdev = video_devdata(file); in rkisp_params_querycap() local
56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap()
61 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_params_querycap()
70 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt()
88 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt()
242 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkisp_params_fh_open()
253 struct video_device *vdev = video_devdata(file); in rkisp_params_fop_release() local
256 if (file->private_data == vdev->queue->owner && params->ops->fop_release) in rkisp_params_fop_release()
261 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkisp_params_fop_release()
392 struct video_device *vdev = &node->vdev; in rkisp_register_params_vdev() local
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Disp_stats.c53 struct video_device *vdev = video_devdata(file); in rkisp_stats_querycap() local
54 struct rkisp_isp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkisp_stats_querycap()
60 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_stats_querycap()
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()
224 struct rkisp_isp_stats_vdev *vdev = in rkisp_stats_readout_task() local
227 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp_stats_readout_task()
228 out = kfifo_out(&vdev->rd_kfifo, in rkisp_stats_readout_task()
234 vdev->ops->send_meas(vdev, &work); in rkisp_stats_readout_task()
293 struct video_device *vdev = &node->vdev; in rkisp_register_stats_vdev() local
[all …]
Disp_mipi_luma.c49 struct video_device *vdev = video_devdata(file); in rkisp_luma_querycap() local
50 struct rkisp_luma_vdev *luma_vdev = video_get_drvdata(vdev); in rkisp_luma_querycap()
56 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_luma_querycap()
87 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkisp_luma_fh_open()
102 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkisp_luma_fop_release()
219 rkisp_stats_send_luma(struct rkisp_luma_vdev *vdev, in rkisp_stats_send_luma() argument
227 spin_lock(&vdev->rd_lock); in rkisp_stats_send_luma()
229 if (!list_empty(&vdev->stat)) { in rkisp_stats_send_luma()
230 cur_buf = list_first_entry(&vdev->stat, in rkisp_stats_send_luma()
234 spin_unlock(&vdev->rd_lock); in rkisp_stats_send_luma()
[all …]
Disp_params.c55 struct video_device *vdev = video_devdata(file); in rkisp_params_querycap() local
56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap()
61 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_params_querycap()
70 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt()
88 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt()
242 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkisp_params_fh_open()
253 struct video_device *vdev = video_devdata(file); in rkisp_params_fop_release() local
256 if (file->private_data == vdev->queue->owner && params->ops->fop_release) in rkisp_params_fop_release()
261 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkisp_params_fop_release()
392 struct video_device *vdev = &node->vdev; in rkisp_register_params_vdev() local
[all …]
Ddmarx.c524 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() local
812 struct rkisp_vdev_node *node = vdev_to_node(vdev); in rkisp_s_fmt_vid_out_mplane()
839 struct video_device *vdev = video_devdata(file); in rkisp_querycap() local
841 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_querycap()
910 media_entity_cleanup(&stream->vnode.vdev.entity); in rkisp_unregister_dmarx_video()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Disp_stats.c52 struct video_device *vdev = video_devdata(file); in rkisp_stats_querycap() local
53 struct rkisp_isp_stats_vdev *stats_vdev = video_get_drvdata(vdev); in rkisp_stats_querycap()
57 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_stats_querycap()
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()
213 struct rkisp_isp_stats_vdev *vdev = (struct rkisp_isp_stats_vdev *)data; in rkisp_stats_readout_task() local
215 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp_stats_readout_task()
216 out = kfifo_out(&vdev->rd_kfifo, &work, sizeof(work)); in rkisp_stats_readout_task()
222 vdev->ops->send_meas(vdev, &work); in rkisp_stats_readout_task()
283 struct video_device *vdev = &node->vdev; in rkisp_register_stats_vdev() local
[all …]
Disp_mipi_luma.c49 struct video_device *vdev = video_devdata(file); in rkisp_luma_querycap() local
50 struct rkisp_luma_vdev *luma_vdev = video_get_drvdata(vdev); in rkisp_luma_querycap()
55 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_luma_querycap()
84 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkisp_luma_fh_open()
100 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkisp_luma_fop_release()
208 static void rkisp_stats_send_luma(struct rkisp_luma_vdev *vdev, struct rkisp_luma_readout_work *wor… in rkisp_stats_send_luma() argument
215 spin_lock(&vdev->rd_lock); in rkisp_stats_send_luma()
217 if (!list_empty(&vdev->stat)) { in rkisp_stats_send_luma()
218 cur_buf = list_first_entry(&vdev->stat, struct rkisp_buffer, queue); in rkisp_stats_send_luma()
221 spin_unlock(&vdev->rd_lock); in rkisp_stats_send_luma()
[all …]
Disp_params.c55 struct video_device *vdev = video_devdata(file); in rkisp_params_querycap() local
56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap()
59 strlcpy(cap->card, vdev->name, sizeof(cap->card)); in rkisp_params_querycap()
67 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt()
85 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt()
231 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkisp_params_fh_open()
243 struct video_device *vdev = video_devdata(file); in rkisp_params_fop_release() local
246 if (file->private_data == vdev->queue->owner && params->ops->fop_release) { in rkisp_params_fop_release()
252 v4l2_pipeline_pm_put(&params->vnode.vdev.entity); in rkisp_params_fop_release()
384 struct video_device *vdev = &node->vdev; in rkisp_register_params_vdev() local
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dcif-luma.c55 struct video_device *vdev = video_devdata(file); in rkcif_luma_querycap() local
56 struct rkcif_luma_vdev *luma_vdev = video_get_drvdata(vdev); in rkcif_luma_querycap()
89 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkcif_luma_fh_open()
105 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release()
212 static void rkcif_stats_send_luma(struct rkcif_luma_vdev *vdev, struct rkcif_luma_readout_work *wor… in rkcif_stats_send_luma() argument
219 spin_lock(&vdev->rd_lock); in rkcif_stats_send_luma()
221 if (!list_empty(&vdev->stat)) { in rkcif_stats_send_luma()
222 cur_buf = list_first_entry(&vdev->stat, struct rkcif_buffer, queue); in rkcif_stats_send_luma()
225 spin_unlock(&vdev->rd_lock); in rkcif_stats_send_luma()
228 v4l2_warn(vdev->vnode.vdev.v4l2_dev, "no luma buffer available\n"); in rkcif_stats_send_luma()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/cif/
Dcif-luma.c57 struct video_device *vdev = video_devdata(file); in rkcif_luma_querycap() local
58 struct rkcif_luma_vdev *luma_vdev = video_get_drvdata(vdev); in rkcif_luma_querycap()
94 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkcif_luma_fh_open()
109 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release()
224 rkcif_stats_send_luma(struct rkcif_luma_vdev *vdev, in rkcif_stats_send_luma() argument
232 spin_lock(&vdev->rd_lock); in rkcif_stats_send_luma()
234 if (!list_empty(&vdev->stat)) { in rkcif_stats_send_luma()
235 cur_buf = list_first_entry(&vdev->stat, in rkcif_stats_send_luma()
239 spin_unlock(&vdev->rd_lock); in rkcif_stats_send_luma()
242 v4l2_warn(vdev->vnode.vdev.v4l2_dev, in rkcif_stats_send_luma()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Dcif-luma.c57 struct video_device *vdev = video_devdata(file); in rkcif_luma_querycap() local
58 struct rkcif_luma_vdev *luma_vdev = video_get_drvdata(vdev); in rkcif_luma_querycap()
94 ret = v4l2_pipeline_pm_get(&params->vnode.vdev.entity); in rkcif_luma_fh_open()
109 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release()
224 rkcif_stats_send_luma(struct rkcif_luma_vdev *vdev, in rkcif_stats_send_luma() argument
232 spin_lock(&vdev->rd_lock); in rkcif_stats_send_luma()
234 if (!list_empty(&vdev->stat)) { in rkcif_stats_send_luma()
235 cur_buf = list_first_entry(&vdev->stat, in rkcif_stats_send_luma()
239 spin_unlock(&vdev->rd_lock); in rkcif_stats_send_luma()
242 v4l2_warn(vdev->vnode.vdev.v4l2_dev, in rkcif_stats_send_luma()
[all …]

12345