Home
last modified time | relevance | path

Searched refs:active_sensor (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Ddev.c437 if (dev->active_sensor) { in _set_pipeline_default_fmt()
438 fmt = dev->active_sensor->fmt[0]; in _set_pipeline_default_fmt()
482 dev->isp_inp == INP_CSI && dev->active_sensor) { in _set_pipeline_default_fmt()
483 width = dev->active_sensor->fmt[1].format.width; in _set_pipeline_default_fmt()
484 height = dev->active_sensor->fmt[1].format.height; in _set_pipeline_default_fmt()
485 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
489 width = dev->active_sensor->fmt[3].format.width; in _set_pipeline_default_fmt()
490 height = dev->active_sensor->fmt[3].format.height; in _set_pipeline_default_fmt()
491 code = dev->active_sensor->fmt[3].format.code; in _set_pipeline_default_fmt()
495 width = dev->active_sensor->fmt[4].format.width; in _set_pipeline_default_fmt()
[all …]
H A Dcapture.c126 !dev->active_sensor || in hdr_destroy_buf()
127 (dev->active_sensor && in hdr_destroy_buf()
128 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_destroy_buf()
159 if (!dev->active_sensor || in hdr_update_dmatx_buf()
160 (dev->active_sensor && in hdr_update_dmatx_buf()
161 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_update_dmatx_buf()
227 !dev->active_sensor || in hdr_config_dmatx()
228 (dev->active_sensor && in hdr_config_dmatx()
229 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_config_dmatx()
296 !dev->active_sensor || in hdr_stop_dmatx()
[all …]
H A Dcapture_v20.c867 if (!dev->active_sensor || in dmatx3_config_mi()
868 (dev->active_sensor && in dmatx3_config_mi()
869 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
911 if (!dev->active_sensor || in dmatx2_config_mi()
912 (dev->active_sensor && in dmatx2_config_mi()
913 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
954 if (!dev->active_sensor || in dmatx1_config_mi()
955 (dev->active_sensor && in dmatx1_config_mi()
956 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx1_config_mi()
1000 if (!dev->active_sensor || in dmatx0_config_mi()
[all …]
H A Dcapture_v21.c812 if (!dev->active_sensor || in dmatx3_config_mi()
813 (dev->active_sensor && in dmatx3_config_mi()
814 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
855 if (!dev->active_sensor || in dmatx2_config_mi()
856 (dev->active_sensor && in dmatx2_config_mi()
857 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
900 if (!dev->active_sensor || in dmatx0_config_mi()
901 (dev->active_sensor && in dmatx0_config_mi()
902 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx0_config_mi()
1125 struct rkisp_sensor_info *sensor = isp_dev->active_sensor; in rdbk_frame_end()
[all …]
H A Drkisp.c241 if (dev->active_sensor) in rkisp_align_sensor_resolution()
242 sensor = dev->active_sensor->sd; in rkisp_align_sensor_resolution()
429 dev->active_sensor = sensor; in rkisp_update_sensor_info()
1629 sensor = dev->active_sensor; in rkisp_config_isp()
1819 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_lvds()
1883 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_path()
2135 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_isp_start()
3191 if (dev->active_sensor) in rkisp_subdev_link_setup()
3192 dev->active_sensor = NULL; in rkisp_subdev_link_setup()
3201 if (dev->active_sensor) in rkisp_subdev_link_setup()
[all …]
H A Ddev.h185 struct rkisp_sensor_info *active_sensor; member
H A Disp_rockit.c561 if (dev->active_sensor == NULL) { in rkisp_rockit_ctrl_fps()
567 sensor = dev->active_sensor; in rkisp_rockit_ctrl_fps()
H A Dcapture_v1x.c1059 if (dev->active_sensor && in rkisp_start_streaming()
1060 dev->active_sensor->fmt[0].format.field == in rkisp_start_streaming()
H A Dcsi.c184 struct rkisp_sensor_info *sensor = dev->active_sensor; in csi_config()
H A Ddmarx.c451 struct v4l2_subdev *sd = dev->active_sensor->sd; in dmarx_frame_end()
H A Dprocfs.c835 struct rkisp_sensor_info *sensor = dev->active_sensor; in isp_show()
H A Dcapture_v32.c1795 v4l2_subdev_call(dev->active_sensor->sd, video, s_stream, false); in rkisp_stop_streaming()
/OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/
H A Drkisp1-isp.c275 sensor = rkisp1->active_sensor; in rkisp1_config_isp()
398 unsigned int lanes = rkisp1->active_sensor->lanes; in rkisp1_config_mipi()
445 struct rkisp1_sensor_async *sensor = rkisp1->active_sensor; in rkisp1_config_path()
534 struct rkisp1_sensor_async *sensor = rkisp1->active_sensor; in rkisp1_isp_start()
939 rkisp1_mipi_csi2_stop(rkisp1->active_sensor); in rkisp1_isp_s_stream()
949 rkisp1->active_sensor = container_of(sensor_sd->asd, in rkisp1_isp_s_stream()
952 if (rkisp1->active_sensor->mbus_type != V4L2_MBUS_CSI2_DPHY) in rkisp1_isp_s_stream()
961 ret = rkisp1_mipi_csi2_start(&rkisp1->isp, rkisp1->active_sensor); in rkisp1_isp_s_stream()
H A Drkisp1-common.h366 struct rkisp1_sensor_async *active_sensor; member
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcapture.c1871 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init_toisp()
1945 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update_toisp()
2138 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_check_buffer_update_toisp()
2299 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init()
2475 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update()
2812 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_update_new_buffer_wake_up_mode()
2893 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_get_new_buffer_wake_up_mode_rdbk()
2970 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_dummy_buffer()
3013 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init_rockit()
3142 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update_rockit()
[all …]
H A Dsubdev-itf.c105 if (!cif_dev->active_sensor) in sditf_g_mbus_config()
108 if (cif_dev->active_sensor) { in sditf_g_mbus_config()
109 sensor_sd = cif_dev->active_sensor->sd; in sditf_g_mbus_config()
H A Ddev.h811 struct rkcif_sensor_info *active_sensor; member
H A Ddev.c2056 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_CCP2) in rkcif_plat_uninit()
2059 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_BT656 || in rkcif_plat_uninit()
2060 cif_dev->active_sensor->mbus.type == V4L2_MBUS_PARALLEL) in rkcif_plat_uninit()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Ddev.h143 struct rkisp1_sensor_info *active_sensor; member
H A Dcapture.c921 if (!dev->active_sensor || in raw_config_mi()
922 (dev->active_sensor && in raw_config_mi()
923 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in raw_config_mi()
933 in_frm = &dev->active_sensor->fmt.format; in raw_config_mi()
1383 if (dev->active_sensor && in rkisp1_create_dummy_buf()
1384 dev->active_sensor->mbus.type == V4L2_MBUS_CSI2_DPHY && in rkisp1_create_dummy_buf()
1518 if (dev->active_sensor && in rkisp1_start_streaming()
1519 dev->active_sensor->fmt.format.field == in rkisp1_start_streaming()
1889 struct rkisp1_sensor_info *sensor = dev->active_sensor; in rkisp_enum_frameintervals()
H A Drkisp1.c172 dev->active_sensor = sensor; in rkisp1_update_sensor_info()
298 sensor = dev->active_sensor;
448 struct rkisp1_sensor_info *sensor = dev->active_sensor;
596 struct rkisp1_sensor_info *sensor = dev->active_sensor;
821 struct rkisp1_sensor_info *sensor = dev->active_sensor;
1776 if (dev->active_sensor->mbus.type == V4L2_MBUS_CSI2_DPHY) {
H A Ddev.c387 fmt = dev->active_sensor->fmt;