Home
last modified time | relevance | path

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

12

/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Ddev.c417 if (dev->active_sensor) { in _set_pipeline_default_fmt()
418 fmt = dev->active_sensor->fmt[0]; in _set_pipeline_default_fmt()
456 …>isp_ver == ISP_V20 || dev->isp_ver == ISP_V21) && dev->isp_inp == INP_CSI && dev->active_sensor) { in _set_pipeline_default_fmt()
457 width = dev->active_sensor->fmt[1].format.width; in _set_pipeline_default_fmt()
458 height = dev->active_sensor->fmt[1].format.height; in _set_pipeline_default_fmt()
459 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
462 width = dev->active_sensor->fmt[RKISP_VERNO_TH].format.width; in _set_pipeline_default_fmt()
463 height = dev->active_sensor->fmt[RKISP_VERNO_TH].format.height; in _set_pipeline_default_fmt()
464 code = dev->active_sensor->fmt[RKISP_VERNO_TH].format.code; in _set_pipeline_default_fmt()
467 width = dev->active_sensor->fmt[RKISP_VERNO_FO].format.width; in _set_pipeline_default_fmt()
[all …]
Dcapture.c124 if (atomic_read(&dev->cap_dev.refcnt) > 1 || !dev->active_sensor || in hdr_destroy_buf()
125 …(dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || (dev->isp_inp & IN… in hdr_destroy_buf()
158 …if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_… in hdr_update_dmatx_buf()
218 if (atomic_inc_return(&dev->hdr.refcnt) > 1 || !dev->active_sensor || in hdr_config_dmatx()
219 …(dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || (dev->isp_inp & IN… in hdr_config_dmatx()
284 if (atomic_dec_return(&dev->hdr.refcnt) || !dev->active_sensor || in hdr_stop_dmatx()
285 …(dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || (dev->isp_inp & IN… in hdr_stop_dmatx()
333 if (!hw->dummy_buf.mem_priv || !dev->active_sensor || in rkisp_config_dmatx_valid_buf()
334 …(dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || (dev->isp_inp & IN… in rkisp_config_dmatx_valid_buf()
1343 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_enum_frameintervals()
Dcapture_v21.c496 …if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_… in dmatx3_config_mi()
529 …if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_… in dmatx2_config_mi()
568 …if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_… in dmatx0_config_mi()
770 struct rkisp_sensor_info *sensor = isp_dev->active_sensor; in rdbk_frame_end()
1279 if (dev->active_sensor && dev->active_sensor->fmt[0].format.field == V4L2_FIELD_INTERLACED) { in rkisp_start_streaming()
Drkisp.c228 if (dev->active_sensor) { in rkisp_align_sensor_resolution()
229 sensor = dev->active_sensor->sd; in rkisp_align_sensor_resolution()
401 dev->active_sensor = sensor; in rkisp_update_sensor_info()
1326 sensor = dev->active_sensor; in rkisp_config_isp()
1500 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_lvds()
1562 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_path()
1813 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_isp_start()
2694 if (dev->active_sensor) { in rkisp_subdev_link_setup()
2695 dev->active_sensor = NULL; in rkisp_subdev_link_setup()
2706 if (dev->active_sensor) { in rkisp_subdev_link_setup()
[all …]
Ddev.h184 struct rkisp_sensor_info *active_sensor; member
Dcapture_v1x.c710 if (dev->active_sensor && dev->active_sensor->fmt[0].format.field == V4L2_FIELD_INTERLACED) { in rkisp_start_streaming()
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Ddev.c385 if (dev->active_sensor) in _set_pipeline_default_fmt()
386 fmt = dev->active_sensor->fmt[0]; in _set_pipeline_default_fmt()
424 dev->isp_inp == INP_CSI && dev->active_sensor) { in _set_pipeline_default_fmt()
425 width = dev->active_sensor->fmt[1].format.width; in _set_pipeline_default_fmt()
426 height = dev->active_sensor->fmt[1].format.height; in _set_pipeline_default_fmt()
427 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
431 width = dev->active_sensor->fmt[3].format.width; in _set_pipeline_default_fmt()
432 height = dev->active_sensor->fmt[3].format.height; in _set_pipeline_default_fmt()
433 code = dev->active_sensor->fmt[3].format.code; in _set_pipeline_default_fmt()
437 width = dev->active_sensor->fmt[4].format.width; in _set_pipeline_default_fmt()
[all …]
Dcapture.c125 !dev->active_sensor || in hdr_destroy_buf()
126 (dev->active_sensor && in hdr_destroy_buf()
127 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_destroy_buf()
158 if (!dev->active_sensor || in hdr_update_dmatx_buf()
159 (dev->active_sensor && in hdr_update_dmatx_buf()
160 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_update_dmatx_buf()
226 !dev->active_sensor || in hdr_config_dmatx()
227 (dev->active_sensor && in hdr_config_dmatx()
228 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_config_dmatx()
295 !dev->active_sensor || in hdr_stop_dmatx()
[all …]
Dcapture_v20.c524 if (!dev->active_sensor || in dmatx3_config_mi()
525 (dev->active_sensor && in dmatx3_config_mi()
526 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
568 if (!dev->active_sensor || in dmatx2_config_mi()
569 (dev->active_sensor && in dmatx2_config_mi()
570 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
611 if (!dev->active_sensor || in dmatx1_config_mi()
612 (dev->active_sensor && in dmatx1_config_mi()
613 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx1_config_mi()
657 if (!dev->active_sensor || in dmatx0_config_mi()
[all …]
Dcapture_v21.c484 if (!dev->active_sensor || in dmatx3_config_mi()
485 (dev->active_sensor && in dmatx3_config_mi()
486 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
527 if (!dev->active_sensor || in dmatx2_config_mi()
528 (dev->active_sensor && in dmatx2_config_mi()
529 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
569 if (!dev->active_sensor || in dmatx0_config_mi()
570 (dev->active_sensor && in dmatx0_config_mi()
571 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx0_config_mi()
784 struct rkisp_sensor_info *sensor = isp_dev->active_sensor; in rdbk_frame_end()
[all …]
Drkisp.c241 if (dev->active_sensor) in rkisp_align_sensor_resolution()
242 sensor = dev->active_sensor->sd; in rkisp_align_sensor_resolution()
424 dev->active_sensor = sensor; in rkisp_update_sensor_info()
1343 sensor = dev->active_sensor; in rkisp_config_isp()
1538 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_lvds()
1602 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_path()
1866 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_isp_start()
2712 if (dev->active_sensor) in rkisp_subdev_link_setup()
2713 dev->active_sensor = NULL; in rkisp_subdev_link_setup()
2722 if (dev->active_sensor) in rkisp_subdev_link_setup()
[all …]
Ddev.h184 struct rkisp_sensor_info *active_sensor; member
Dcapture_v1x.c752 if (dev->active_sensor && in rkisp_start_streaming()
753 dev->active_sensor->fmt[0].format.field == in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Ddev.c385 if (dev->active_sensor) in _set_pipeline_default_fmt()
386 fmt = dev->active_sensor->fmt[0]; in _set_pipeline_default_fmt()
424 dev->isp_inp == INP_CSI && dev->active_sensor) { in _set_pipeline_default_fmt()
425 width = dev->active_sensor->fmt[1].format.width; in _set_pipeline_default_fmt()
426 height = dev->active_sensor->fmt[1].format.height; in _set_pipeline_default_fmt()
427 code = dev->active_sensor->fmt[1].format.code; in _set_pipeline_default_fmt()
431 width = dev->active_sensor->fmt[3].format.width; in _set_pipeline_default_fmt()
432 height = dev->active_sensor->fmt[3].format.height; in _set_pipeline_default_fmt()
433 code = dev->active_sensor->fmt[3].format.code; in _set_pipeline_default_fmt()
437 width = dev->active_sensor->fmt[4].format.width; in _set_pipeline_default_fmt()
[all …]
Dcapture.c125 !dev->active_sensor || in hdr_destroy_buf()
126 (dev->active_sensor && in hdr_destroy_buf()
127 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_destroy_buf()
158 if (!dev->active_sensor || in hdr_update_dmatx_buf()
159 (dev->active_sensor && in hdr_update_dmatx_buf()
160 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_update_dmatx_buf()
226 !dev->active_sensor || in hdr_config_dmatx()
227 (dev->active_sensor && in hdr_config_dmatx()
228 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || in hdr_config_dmatx()
295 !dev->active_sensor || in hdr_stop_dmatx()
[all …]
Dcapture_v21.c484 if (!dev->active_sensor || in dmatx3_config_mi()
485 (dev->active_sensor && in dmatx3_config_mi()
486 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
527 if (!dev->active_sensor || in dmatx2_config_mi()
528 (dev->active_sensor && in dmatx2_config_mi()
529 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
569 if (!dev->active_sensor || in dmatx0_config_mi()
570 (dev->active_sensor && in dmatx0_config_mi()
571 dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx0_config_mi()
784 struct rkisp_sensor_info *sensor = isp_dev->active_sensor; in rdbk_frame_end()
[all …]
Drkisp.c241 if (dev->active_sensor) in rkisp_align_sensor_resolution()
242 sensor = dev->active_sensor->sd; in rkisp_align_sensor_resolution()
424 dev->active_sensor = sensor; in rkisp_update_sensor_info()
1343 sensor = dev->active_sensor; in rkisp_config_isp()
1538 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_lvds()
1602 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_config_path()
1866 struct rkisp_sensor_info *sensor = dev->active_sensor; in rkisp_isp_start()
2712 if (dev->active_sensor) in rkisp_subdev_link_setup()
2713 dev->active_sensor = NULL; in rkisp_subdev_link_setup()
2722 if (dev->active_sensor) in rkisp_subdev_link_setup()
[all …]
Ddev.h184 struct rkisp_sensor_info *active_sensor; member
Dcapture_v1x.c752 if (dev->active_sensor && in rkisp_start_streaming()
753 dev->active_sensor->fmt[0].format.field == in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Dcapture.c1350 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init_toisp()
1408 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update_toisp()
1474 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init()
1589 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update()
1759 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_update_new_buffer_wake_up_mode()
1819 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_dummy_buffer()
2188 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set()
2405 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set_v1()
2423 struct rkcif_sensor_info *active_sensor = dev->active_sensor; in rkcif_csi_stream_start() local
2424 unsigned int flags = active_sensor->mbus.flags; in rkcif_csi_stream_start()
[all …]
Dsubdev-itf.c79 if (!cif_dev->active_sensor) in sditf_g_mbus_config()
82 if (cif_dev->active_sensor) { in sditf_g_mbus_config()
83 sensor_sd = cif_dev->active_sensor->sd; in sditf_g_mbus_config()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dcapture.c1386 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init_toisp()
1440 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update_toisp()
1498 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init()
1601 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update()
1761 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_update_new_buffer_wake_up_mode()
1817 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_dummy_buffer()
2150 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set()
2356 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set_v1()
2375 struct rkcif_sensor_info *active_sensor = dev->active_sensor; in rkcif_csi_stream_start() local
2376 unsigned int flags = active_sensor->mbus.flags; in rkcif_csi_stream_start()
[all …]
Dsubdev-itf.c77 if (!cif_dev->active_sensor) { in sditf_g_mbus_config()
81 if (cif_dev->active_sensor) { in sditf_g_mbus_config()
82 sensor_sd = cif_dev->active_sensor->sd; in sditf_g_mbus_config()
/device/board/isoftstone/yangfan/kernel/src/driv/media/cif/
Dcapture.c1350 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init_toisp()
1408 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update_toisp()
1474 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_init()
1589 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_new_buffer_update()
1759 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_update_new_buffer_wake_up_mode()
1819 struct v4l2_mbus_config *mbus_cfg = &dev->active_sensor->mbus; in rkcif_assign_dummy_buffer()
2188 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set()
2405 LVDS_LANES_ENABLED(dev->active_sensor->lanes); in rkcif_csi_channel_set_v1()
2423 struct rkcif_sensor_info *active_sensor = dev->active_sensor; in rkcif_csi_stream_start() local
2424 unsigned int flags = active_sensor->mbus.flags; in rkcif_csi_stream_start()
[all …]
Dsubdev-itf.c79 if (!cif_dev->active_sensor) in sditf_g_mbus_config()
82 if (cif_dev->active_sensor) { in sditf_g_mbus_config()
83 sensor_sd = cif_dev->active_sensor->sd; in sditf_g_mbus_config()

12