Home
last modified time | relevance | path

Searched refs:active_sensor (Results 1 - 24 of 24) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Ddev.c417 if (dev->active_sensor) { in _set_pipeline_default_fmt()
418 fmt = dev->active_sensor->fmt[0]; in _set_pipeline_default_fmt()
456 if ((dev->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 in _set_pipeline_default_fmt()
[all...]
H A 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 & INP_CIF) || in hdr_destroy_buf()
158 if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY) || 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 & INP_CIF) || in hdr_config_dmatx()
284 if (atomic_dec_return(&dev->hdr.refcnt) || !dev->active_sensor || in hdr_stop_dmatx()
[all...]
H A Dcapture_v21.c496 if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx3_config_mi()
529 if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx2_config_mi()
568 if (!dev->active_sensor || (dev->active_sensor && dev->active_sensor->mbus.type != V4L2_MBUS_CSI2_DPHY)) { in dmatx0_config_mi()
770 struct rkisp_sensor_info *sensor = isp_dev->active_sensor; in rdbk_frame_end()
[all...]
H A 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...]
H A Ddev.h163 * @active_sensor: sensor in-use, set when streaming on
184 struct rkisp_sensor_info *active_sensor; member
H A Dcapture_v1x.c710 if (dev->active_sensor && dev->active_sensor->fmt[0].format.field == V4L2_FIELD_INTERLACED) { in rkisp_start_streaming()
H A Dcsi.c190 struct rkisp_sensor_info *sensor = dev->active_sensor; in csi_config()
H A Dprocfs.c534 struct rkisp_sensor_info *sensor = dev->active_sensor; in isp_show()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A 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 in _set_pipeline_default_fmt()
[all...]
H A 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...]
H A 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...]
H A 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...]
H A Ddev.h163 * @active_sensor: sensor in-use, set when streaming on
184 struct rkisp_sensor_info *active_sensor; member
H A Dcapture_v1x.c752 if (dev->active_sensor && in rkisp_start_streaming()
753 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 Dprocfs.c671 struct rkisp_sensor_info *sensor = dev->active_sensor; in isp_show()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A 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
[all...]
H A 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()
H A Ddev.h693 * @active_sensor: sensor in-use, set when streaming on
705 struct rkcif_sensor_info *active_sensor; member
H A Ddev.c1611 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_CCP2) { in rkcif_plat_uninit()
1615 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_BT656 || in rkcif_plat_uninit()
1616 cif_dev->active_sensor->mbus.type == V4L2_MBUS_PARALLEL) { in rkcif_plat_uninit()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A 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
[all...]
H A 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()
H A Ddev.h658 * @active_sensor: sensor in-use, set when streaming on
670 struct rkcif_sensor_info *active_sensor; member
H A Ddev.c1723 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_CCP2) in rkcif_plat_uninit()
1726 if (cif_dev->active_sensor->mbus.type == V4L2_MBUS_BT656 || in rkcif_plat_uninit()
1727 cif_dev->active_sensor->mbus.type == V4L2_MBUS_PARALLEL) in rkcif_plat_uninit()

Completed in 40 milliseconds