Home
last modified time | relevance | path

Searched refs:ispp_sdev (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/
H A Dispp.c65 struct rkispp_subdev *ispp_sdev; in rkispp_subdev_link_setup() local
76 ispp_sdev = v4l2_get_subdevdata(sd); in rkispp_subdev_link_setup()
77 dev = ispp_sdev->dev; in rkispp_subdev_link_setup()
82 if (ispp_sdev->state & ISPP_START) in rkispp_subdev_link_setup()
86 else if (ispp_sdev->remote_sd) in rkispp_subdev_link_setup()
115 struct rkispp_subdev *ispp_sdev = v4l2_get_subdevdata(sd); in rkispp_sd_get_fmt() local
134 *mf = ispp_sdev->in_fmt; in rkispp_sd_get_fmt()
135 if (fmt->pad == RKISPP_PAD_SINK && ispp_sdev->dev->inp == INP_ISP) { in rkispp_sd_get_fmt()
136 ret = v4l2_subdev_call(ispp_sdev->remote_sd, in rkispp_sd_get_fmt()
142 if (ispp_sdev->in_fmt.width != mf->width || in rkispp_sd_get_fmt()
[all …]
H A Dstream_v20.c82 in_width = dev->ispp_sdev.in_fmt.width; in config_fec()
83 in_height = dev->ispp_sdev.in_fmt.height; in config_fec()
158 v4l2_subdev_call(dev->ispp_sdev.remote_sd, in fec_free_buf()
212 sd = dev->ispp_sdev.remote_sd; in fec_work_event()
277 dev->ispp_sdev.frm_sync_seq = seq; in fec_work_event()
278 dev->ispp_sdev.frame_timestamp = timestamp; in fec_work_event()
329 if (dev->ispp_sdev.state != ISPP_STOP) in rkispp_module_work_event()
344 if (dev->ispp_sdev.state == ISPP_STOP) { in rkispp_module_work_event()
349 v4l2_subdev_call(dev->ispp_sdev.remote_sd, in rkispp_module_work_event()
371 struct rkispp_subdev *ispp_sdev = &dev->ispp_sdev; in start_isp() local
[all …]
H A Dstream_v10.c79 if (dev->ispp_sdev.state == ISPP_STOP) { in rkispp_frame_done_early()
134 u32 height = dev->ispp_sdev.out_fmt.height; in is_en_done_early()
169 v4l2_subdev_call(dev->ispp_sdev.remote_sd, in tnr_free_buf()
285 width = dev->ispp_sdev.in_fmt.width; in config_tnr()
286 height = dev->ispp_sdev.in_fmt.height; in config_tnr()
398 v4l2_subdev_call(dev->ispp_sdev.remote_sd, in nr_free_buf()
451 cnt = DIV_ROUND_UP(dev->ispp_sdev.in_fmt.width, 32); in nr_init_buf()
490 width = dev->ispp_sdev.in_fmt.width; in config_nr_shp()
491 height = dev->ispp_sdev.in_fmt.height; in config_nr_shp()
635 in_width = dev->ispp_sdev.in_fmt.width; in config_fec()
[all …]
H A Ddev.c103 ispp_dev->ispp_sdev.remote_sd = sd; in get_remote_node_dev()
104 v4l2_set_subdev_hostdata(sd, &ispp_dev->ispp_sdev.sd); in get_remote_node_dev()
125 sink = &ispp_dev->ispp_sdev.sd.entity; in rkispp_create_links()
127 if (ispp_dev->ispp_sdev.remote_sd) { in rkispp_create_links()
158 source = &ispp_dev->ispp_sdev.sd.entity; in rkispp_create_links()
196 source = &ispp_dev->ispp_sdev.sd.entity; in rkispp_create_links()
H A Dprocfs.c18 enum rkispp_state state = dev->ispp_sdev.state; in ispp_show()
44 dev->ispp_sdev.out_fmt.width, in ispp_show()
45 dev->ispp_sdev.out_fmt.height, in ispp_show()
H A Dstream.c353 u64 ns = dev->ispp_sdev.frame_timestamp; in rkispp_frame_end()
364 stream->curr_buf->vb.sequence = dev->ispp_sdev.frm_sync_seq; in rkispp_frame_end()
414 u32 frame_id = dev->ispp_sdev.frm_sync_seq; in rkispp_frame_end()
548 v4l2_subdev_call(&dev->ispp_sdev.sd, video, s_stream, true); in start_ii()
557 vdev->input[i].frame_id = ++dev->ispp_sdev.frm_sync_seq; in start_ii()
665 if (dev->ispp_sdev.state == ISPP_STOP) in config_mb()
705 struct rkispp_subdev *sdev = &dev->ispp_sdev; in limit_check_mb()
727 u32 in_width = dev->ispp_sdev.out_fmt.width; in config_scl()
728 u32 in_height = dev->ispp_sdev.out_fmt.height; in config_scl()
790 struct rkispp_subdev *sdev = &dev->ispp_sdev; in limit_check_scl()
[all …]
H A Dparams_v20.c38 width = dev->ispp_sdev.out_fmt.width; in fec_config()
39 height = dev->ispp_sdev.out_fmt.height; in fec_config()
H A Ddev.h37 struct rkispp_subdev ispp_sdev; member
H A Dparams_v10.c18 struct rkispp_subdev *isp_sdev = &dev->ispp_sdev; in get_input_size()
503 width = dev->ispp_sdev.out_fmt.width; in fec_config()
504 height = dev->ispp_sdev.out_fmt.height; in fec_config()
H A Dhw.c159 w = dev->max_in.w ? dev->max_in.w : ispp->ispp_sdev.in_fmt.width; in enable_sys_clk()
H A Dcommon.c473 struct rkispp_subdev *sdev = &dev->ispp_sdev; in rkispp_alloc_common_dummy_buf()