Searched refs:cap_dev (Results 1 – 18 of 18) sorted by relevance
463 struct rkisp_stream *st = &dev->cap_dev.stream[RKISP_STREAM_BP]; in bpds_is_stream_stopped()480 struct rkisp_stream *st = &dev->cap_dev.stream[RKISP_STREAM_MP]; in mpds_is_stream_stopped()662 if (burst > dev->cap_dev.stream[i].burst) in calc_burst_len()663 burst = dev->cap_dev.stream[i].burst; in calc_burst_len()701 if (dev->cap_dev.wrap_line) in mp_config_mi()702 height = dev->cap_dev.wrap_line; in mp_config_mi()718 if (dev->cap_dev.wrap_line) in mp_config_mi()723 if (dev->cap_dev.wrap_line) in mp_config_mi()936 struct rkisp_stream *t = &dev->cap_dev.stream[stream->conn_id]; in mp_enable_mi()966 struct rkisp_stream *t = &dev->cap_dev.stream[stream->conn_id]; in bp_enable_mi()[all …]
443 if (burst > dev->cap_dev.stream[i].burst) in calc_burst_len()444 burst = dev->cap_dev.stream[i].burst; in calc_burst_len()966 if (dev->cap_dev.is_done_early && in mi_frame_end()984 struct rkisp_stream *vir = &dev->cap_dev.stream[RKISP_STREAM_VIR]; in mi_frame_end()1010 &dev->cap_dev.vir_cpy.queue); in mi_frame_end()1012 if (!completion_done(&dev->cap_dev.vir_cpy.cmpl)) in mi_frame_end()1013 complete(&dev->cap_dev.vir_cpy.cmpl); in mi_frame_end()1062 if (atomic_read(&dev->cap_dev.refcnt) == 1 && !is_wait) in rkisp_stream_stop()1272 if (!completion_done(&dev->cap_dev.vir_cpy.cmpl)) in rkisp_stop_streaming()1273 complete(&dev->cap_dev.vir_cpy.cmpl); in rkisp_stop_streaming()[all …]
60 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX0]; in rkisp_create_hdr_buf()125 if (atomic_read(&dev->cap_dev.refcnt) > 1 || in hdr_destroy_buf()167 dmatx = &dev->cap_dev.stream[i]; in hdr_update_dmatx_buf()242 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX0]; in hdr_config_dmatx()256 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX1]; in hdr_config_dmatx()270 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX2]; in hdr_config_dmatx()309 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX0]; in hdr_stop_dmatx()315 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX1]; in hdr_stop_dmatx()321 stream = &dev->cap_dev.stream[RKISP_STREAM_DMATX2]; in hdr_stop_dmatx()368 stream = &isp->cap_dev.stream[j]; in rkisp_config_dmatx_valid_buf()[all …]
670 if (burst > dev->cap_dev.stream[i].burst) in calc_burst_len()671 burst = dev->cap_dev.stream[i].burst; in calc_burst_len()1124 struct rkisp_capture_device *cap = &isp_dev->cap_dev; in rdbk_frame_end()1203 struct rkisp_capture_device *cap = &dev->cap_dev; in mi_frame_end()1351 if (atomic_read(&dev->cap_dev.refcnt) == 1 && !is_wait) in rkisp_stream_stop()1510 struct rkisp_capture_device *cap = &isp_dev->cap_dev; in destroy_buf_queue()1592 atomic_dec(&dev->cap_dev.refcnt); in rkisp_stop_streaming()1602 struct rkisp_stream *other = &dev->cap_dev.stream[stream->id ^ 1]; in rkisp_stream_start()1656 atomic_inc(&dev->cap_dev.refcnt); in rkisp_start_streaming()1662 if (atomic_read(&dev->cap_dev.refcnt) == 1 && in rkisp_start_streaming()[all …]
471 if (burst > dev->cap_dev.stream[i].burst) in calc_burst_len()472 burst = dev->cap_dev.stream[i].burst; in calc_burst_len()992 atomic_dec(&dev->cap_dev.refcnt); in rkisp_stop_streaming()1000 struct rkisp_stream *other = &dev->cap_dev.stream[stream->id ^ 1]; in rkisp_stream_start()1041 atomic_inc(&dev->cap_dev.refcnt); in rkisp_start_streaming()1047 if (atomic_read(&dev->cap_dev.refcnt) == 1 && in rkisp_start_streaming()1111 atomic_dec(&dev->cap_dev.refcnt); in rkisp_start_streaming()1148 struct rkisp_capture_device *cap_dev = &dev->cap_dev; in rkisp_stream_init() local1154 stream = &cap_dev->stream[id]; in rkisp_stream_init()1200 struct rkisp_capture_device *cap_dev = &dev->cap_dev; in rkisp_register_stream_v1x() local[all …]
715 if (burst > dev->cap_dev.stream[i].burst) in calc_burst_len()716 burst = dev->cap_dev.stream[i].burst; in calc_burst_len()992 &dev->cap_dev.stream[RKISP_STREAM_DMATX0]; in dmatx0_config_mi()1238 struct rkisp_capture_device *cap = &isp_dev->cap_dev; in rdbk_frame_end()1359 struct rkisp_capture_device *cap = &dev->cap_dev; in mi_frame_end()1694 struct rkisp_capture_device *cap = &isp_dev->cap_dev; in destroy_buf_queue()1789 atomic_dec(&dev->cap_dev.refcnt); in rkisp_stop_streaming()1800 struct rkisp_stream *other = &dev->cap_dev.stream[stream->id ^ 1]; in rkisp_stream_start()1856 atomic_inc(&dev->cap_dev.refcnt); in rkisp_start_streaming()1862 if (atomic_read(&dev->cap_dev.refcnt) == 1 && in rkisp_start_streaming()[all …]
59 stream = &ispdev->cap_dev.stream[RKISP_STREAM_MP]; in rkisp_rockit_get_stream()62 stream = &ispdev->cap_dev.stream[RKISP_STREAM_SP]; in rkisp_rockit_get_stream()65 stream = &ispdev->cap_dev.stream[RKISP_STREAM_BP]; in rkisp_rockit_get_stream()68 stream = &ispdev->cap_dev.stream[RKISP_STREAM_MPDS]; in rkisp_rockit_get_stream()71 stream = &ispdev->cap_dev.stream[RKISP_STREAM_BPDS]; in rkisp_rockit_get_stream()74 stream = &ispdev->cap_dev.stream[RKISP_STREAM_LUMA]; in rkisp_rockit_get_stream()244 if (stream->ispdev->cap_dev.wrap_line && in rkisp_rockit_buf_done()328 stream->ispdev->cap_dev.wrap_line = wrap_line; in rkisp_rockit_config_stream()337 if (stream->ispdev->cap_dev.wrap_line && stream->id == RKISP_STREAM_MP) in rkisp_rockit_config_stream()
48 wrap_line = dev->cap_dev.wrap_line; in rkisp_dvbm_init()76 !dev->cap_dev.wrap_line) in rkisp_dvbm_event()
574 sp_stream = &ispdev->cap_dev.stream[RKISP_STREAM_SP]; in bridge_start()590 ispdev->cap_dev.is_done_early = false; in bridge_start()592 ispdev->cap_dev.wait_line = 0; in bridge_start()593 if (ispdev->cap_dev.wait_line) { in bridge_start()594 if (ispdev->cap_dev.wait_line < dev->crop.height / 4) in bridge_start()595 ispdev->cap_dev.wait_line = dev->crop.height / 4; in bridge_start()596 ispdev->cap_dev.is_done_early = true; in bridge_start()607 sp_stream = &dev->ispdev->cap_dev.stream[RKISP_STREAM_SP]; in bridge_stop()653 if (dev->cap_dev.is_done_early && !br->frame_early) { in bridge_update_mi()692 (state == FRAME_IRQ && ispdev->cap_dev.is_done_early)) in bridge_frame_end()[all …]
1020 s = &dev->cap_dev.stream[val]; in rkisp_check_idle()1088 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) in rkisp_config_ism()1740 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) { in rkisp_config_isp()1926 dev->cap_dev.stream[RKISP_STREAM_SP].streaming, in rkisp_config_cif()1927 dev->cap_dev.stream[RKISP_STREAM_MP].streaming); in rkisp_config_cif()2145 dev->cap_dev.is_done_early = false; in rkisp_isp_start()2146 if (dev->cap_dev.wait_line >= dev->isp_sdev.out_crop.height) in rkisp_isp_start()2147 dev->cap_dev.wait_line = 0; in rkisp_isp_start()2148 if (dev->cap_dev.wait_line) { in rkisp_isp_start()2149 dev->cap_dev.is_done_early = true; in rkisp_isp_start()[all …]
189 struct rkisp_capture_device cap_dev; member
403 stream = &isp->cap_dev.stream[j]; in rkisp_alloc_common_dummy_buf()438 atomic_read(&dev->cap_dev.refcnt) > 1) in rkisp_free_common_dummy_buf()
582 schedule_work(&dev->cap_dev.fast_work); in subdev_notifier_complete()983 isp_dev->cap_dev.wait_line = rkisp_wait_line; in rkisp_runtime_resume()984 isp_dev->cap_dev.wrap_line = rkisp_wrap_line; in rkisp_runtime_resume()
418 atomic_inc(&dev->ispdev->cap_dev.refcnt); in bridge_s_stream()423 atomic_dec(&dev->ispdev->cap_dev.refcnt); in bridge_s_stream()
689 dev->cap_dev.wrap_line ? "online" : "offline", in isp32_show()690 dev->cap_dev.wrap_line); in isp32_show()902 struct rkisp_stream *stream = &dev->cap_dev.stream[val]; in isp_show()
401 struct rkisp_stream *stream = &dev->cap_dev.stream[RKISP_STREAM_SP]; in rkisp_params_first_cfg()
84 stream = &csi->ispdev->cap_dev.stream[id + 1]; in rkisp_csi_link_setup()
1223 struct rkisp1_capture *cap_dev = video_drvdata(file); in rkisp1_querycap() local1224 struct rkisp1_device *rkisp1 = cap_dev->rkisp1; in rkisp1_querycap()