/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
D | dev.c | 417 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 …]
|
D | capture.c | 124 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()
|
D | capture_v21.c | 496 …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()
|
D | rkisp.c | 228 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 …]
|
D | dev.h | 184 struct rkisp_sensor_info *active_sensor; member
|
D | capture_v1x.c | 710 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/ |
D | dev.c | 385 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 …]
|
D | capture.c | 125 !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 …]
|
D | capture_v20.c | 524 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 …]
|
D | capture_v21.c | 484 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 …]
|
D | rkisp.c | 241 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 …]
|
D | dev.h | 184 struct rkisp_sensor_info *active_sensor; member
|
D | capture_v1x.c | 752 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/ |
D | dev.c | 385 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 …]
|
D | capture.c | 125 !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 …]
|
D | capture_v21.c | 484 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 …]
|
D | rkisp.c | 241 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 …]
|
D | dev.h | 184 struct rkisp_sensor_info *active_sensor; member
|
D | capture_v1x.c | 752 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/ |
D | capture.c | 1350 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 …]
|
D | subdev-itf.c | 79 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/ |
D | capture.c | 1386 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 …]
|
D | subdev-itf.c | 77 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/ |
D | capture.c | 1350 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 …]
|
D | subdev-itf.c | 79 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()
|