| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
| D | procfs.c | 46 dev->stream_vdev.dbg.id, in ispp_show() 47 dev->stream_vdev.dbg.interval / 1000 / 1000, in ispp_show() 48 dev->stream_vdev.dbg.delay / 1000 / 1000); in ispp_show() 50 stream = &dev->stream_vdev.stream[val]; in ispp_show() 74 dev->stream_vdev.tnr.dbg.id, in ispp_show() 75 dev->stream_vdev.tnr.dbg.interval / 1000 / 1000, in ispp_show() 76 dev->stream_vdev.tnr.is_end ? "idle" : "working", in ispp_show() 84 dev->stream_vdev.nr.dbg.id, in ispp_show() 85 dev->stream_vdev.nr.dbg.interval / 1000 / 1000, in ispp_show() 86 dev->stream_vdev.nr.is_end ? "idle" : "working", in ispp_show() [all …]
|
| D | stream.c | 321 dev->stream_vdev.stream_ops->check_to_force_update(dev, dev->mis_val); in irq_work() 342 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in rkispp_frame_end() 348 if (state == FRAME_IRQ && dev->stream_vdev.is_done_early) in rkispp_frame_end() 352 struct rkispp_stream *vir = &dev->stream_vdev.stream[STREAM_VIR]; in rkispp_frame_end() 395 &dev->stream_vdev.vir_cpy.queue); in rkispp_frame_end() 397 if (!completion_done(&dev->stream_vdev.vir_cpy.cmpl)) in rkispp_frame_end() 398 complete(&dev->stream_vdev.vir_cpy.cmpl); in rkispp_frame_end() 535 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in start_ii() 559 struct rkispp_stream_vdev *stream_vdev = &stream->isppdev->stream_vdev; in config_ii() local 563 return stream_vdev->stream_ops->config_modules(stream->isppdev); in config_ii() [all …]
|
| D | dev.c | 116 struct rkispp_stream_vdev *stream_vdev; in rkispp_create_links() local 122 stream_vdev = &ispp_dev->stream_vdev; in rkispp_create_links() 123 stream = &stream_vdev->stream[STREAM_II]; in rkispp_create_links() 145 ispp_dev->stream_vdev.module_ens = ISPP_MODULE_FEC; in rkispp_create_links() 156 stream = &stream_vdev->stream[STREAM_S0]; in rkispp_create_links() 163 stream = &stream_vdev->stream[STREAM_S1]; in rkispp_create_links() 170 stream = &stream_vdev->stream[STREAM_S2]; in rkispp_create_links() 177 ispp_dev->stream_vdev.module_ens = ISPP_MODULE_NR | ISPP_MODULE_SHP; in rkispp_create_links() 181 stream = &stream_vdev->stream[STREAM_MB]; in rkispp_create_links() 189 stream = &stream_vdev->stream[STREAM_VIR]; in rkispp_create_links() [all …]
|
| D | stream_v20.c | 69 vdev = &dev->stream_vdev; in config_fec() 152 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in fec_free_buf() 173 "stream module ens:0x%x\n", dev->stream_vdev.module_ens); in config_modules() 174 dev->stream_vdev.monitor.monitoring_module = 0; in config_modules() 175 dev->stream_vdev.monitor.restart_module = 0; in config_modules() 176 dev->stream_vdev.monitor.is_restart = false; in config_modules() 177 dev->stream_vdev.monitor.retry = 0; in config_modules() 178 init_completion(&dev->stream_vdev.monitor.cmpl); in config_modules() 197 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in fec_work_event() 340 dev->stream_vdev.monitor.retry = 0; in rkispp_module_work_event() [all …]
|
| D | ispp.c | 78 vdev = &dev->stream_vdev; in rkispp_subdev_link_setup() 288 if (dev->stream_vdev.monitor.is_en) { in rkispp_sd_s_stream() 289 dev->stream_vdev.monitor.is_en = false; in rkispp_sd_s_stream() 290 if (!completion_done(&dev->stream_vdev.monitor.cmpl)) in rkispp_sd_s_stream() 291 complete(&dev->stream_vdev.monitor.cmpl); in rkispp_sd_s_stream() 292 if (!completion_done(&dev->stream_vdev.monitor.tnr.cmpl)) in rkispp_sd_s_stream() 293 complete(&dev->stream_vdev.monitor.tnr.cmpl); in rkispp_sd_s_stream() 294 if (!completion_done(&dev->stream_vdev.monitor.nr.cmpl)) in rkispp_sd_s_stream() 295 complete(&dev->stream_vdev.monitor.nr.cmpl); in rkispp_sd_s_stream() 296 if (!completion_done(&dev->stream_vdev.monitor.fec.cmpl)) in rkispp_sd_s_stream() [all …]
|
| D | stream.h | 264 void rkispp_stream_init_ops_v10(struct rkispp_stream_vdev *stream_vdev); 267 static inline void rkispp_stream_init_ops_v10(struct rkispp_stream_vdev *stream_vdev) {} in rkispp_stream_init_ops_v10() argument 272 void rkispp_stream_init_ops_v20(struct rkispp_stream_vdev *stream_vdev); 275 static inline void rkispp_stream_init_ops_v20(struct rkispp_stream_vdev *stream_vdev) {} in rkispp_stream_init_ops_v20() argument
|
| D | dev.h | 38 struct rkispp_stream_vdev stream_vdev; member
|
| D | common.c | 372 vdev = &ispp->stream_vdev; in rkispp_queue_dmabuf() 509 atomic_read(&dev->stream_vdev.refcnt) > 1) in rkispp_free_common_dummy_buf()
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
| D | procfs.c | 34 dev->ispp_sdev.out_fmt.width, dev->ispp_sdev.out_fmt.height, dev->stream_vdev.dbg.id, in ispp_show() 35 … dev->stream_vdev.dbg.interval / 1000 / 1000, dev->stream_vdev.dbg.delay / 1000 / 1000); in ispp_show() 37 stream = &dev->stream_vdev.stream[val]; in ispp_show() 51 (val & SW_TNR_GLB_GAIN_EN) ? "enable" : "disable", dev->stream_vdev.tnr.dbg.id, in ispp_show() 52 … dev->stream_vdev.tnr.dbg.interval / 1000 / 1000, dev->stream_vdev.tnr.is_end ? "idle" : "working", in ispp_show() 57 dev->stream_vdev.nr.dbg.id, dev->stream_vdev.nr.dbg.interval / 1000 / 1000, in ispp_show() 58 dev->stream_vdev.nr.is_end ? "idle" : "working", RKISPP_NR_BLOCK_CNT, in ispp_show() 67 dev->stream_vdev.fec.dbg.id, dev->stream_vdev.fec.dbg.interval / 1000 / 1000, in ispp_show() 68 dev->stream_vdev.fec.is_end ? "idle" : "working", RKISPP_FEC_DMA_STATUS, in ispp_show() 72 seq_printf(p, "%-10s %s Cnt:%d\n", "Monitor", dev->stream_vdev.monitor.is_en ? "ON" : "OFF", in ispp_show() [all …]
|
| D | stream.c | 333 dev->stream_vdev.stream_ops->check_to_force_update(dev, dev->mis_val); in irq_work() 352 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in rkispp_frame_end() 358 if (state == FRAME_IRQ && dev->stream_vdev.is_done_early) { in rkispp_frame_end() 363 struct rkispp_stream *vir = &dev->stream_vdev.stream[STREAM_VIR]; in rkispp_frame_end() 399 list_add_tail(&stream->curr_buf->queue, &dev->stream_vdev.vir_cpy.queue); in rkispp_frame_end() 402 if (!completion_done(&dev->stream_vdev.vir_cpy.cmpl)) { in rkispp_frame_end() 403 complete(&dev->stream_vdev.vir_cpy.cmpl); in rkispp_frame_end() 532 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in start_ii() 556 struct rkispp_stream_vdev *stream_vdev = &stream->isppdev->stream_vdev; in config_ii() local 560 return stream_vdev->stream_ops->config_modules(stream->isppdev); in config_ii() [all …]
|
| D | dev.c | 120 struct rkispp_stream_vdev *stream_vdev; in rkispp_create_links() local 126 stream_vdev = &ispp_dev->stream_vdev; in rkispp_create_links() 127 stream = &stream_vdev->stream[STREAM_II]; in rkispp_create_links() 151 ispp_dev->stream_vdev.module_ens = ISPP_MODULE_FEC; in rkispp_create_links() 163 stream = &stream_vdev->stream[STREAM_S0]; in rkispp_create_links() 171 stream = &stream_vdev->stream[STREAM_S1]; in rkispp_create_links() 179 stream = &stream_vdev->stream[STREAM_S2]; in rkispp_create_links() 187 ispp_dev->stream_vdev.module_ens = ISPP_MODULE_NR | ISPP_MODULE_SHP; in rkispp_create_links() 191 stream = &stream_vdev->stream[STREAM_MB]; in rkispp_create_links() 200 stream = &stream_vdev->stream[STREAM_VIR]; in rkispp_create_links() [all …]
|
| D | stream_v20.c | 66 vdev = &dev->stream_vdev; in config_fec() 143 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in fec_free_buf() 164 …v4l2_dbg(1, rkispp_debug, &dev->v4l2_dev, "stream module ens:0x%x\n", dev->stream_vdev.module_ens); in config_modules() 165 dev->stream_vdev.monitor.monitoring_module = 0; in config_modules() 166 dev->stream_vdev.monitor.restart_module = 0; in config_modules() 167 dev->stream_vdev.monitor.is_restart = false; in config_modules() 168 dev->stream_vdev.monitor.retry = 0; in config_modules() 169 init_completion(&dev->stream_vdev.monitor.cmpl); in config_modules() 187 struct rkispp_stream_vdev *vdev = &dev->stream_vdev; in fec_work_event() 333 dev->stream_vdev.monitor.retry = 0; in rkispp_module_work_event() [all …]
|
| D | ispp.c | 77 vdev = &dev->stream_vdev; in rkispp_subdev_link_setup() 288 if (dev->stream_vdev.monitor.is_en) { in rkispp_sd_s_stream() 289 dev->stream_vdev.monitor.is_en = false; in rkispp_sd_s_stream() 290 if (!completion_done(&dev->stream_vdev.monitor.cmpl)) { in rkispp_sd_s_stream() 291 complete(&dev->stream_vdev.monitor.cmpl); in rkispp_sd_s_stream() 293 if (!completion_done(&dev->stream_vdev.monitor.tnr.cmpl)) { in rkispp_sd_s_stream() 294 complete(&dev->stream_vdev.monitor.tnr.cmpl); in rkispp_sd_s_stream() 296 if (!completion_done(&dev->stream_vdev.monitor.nr.cmpl)) { in rkispp_sd_s_stream() 297 complete(&dev->stream_vdev.monitor.nr.cmpl); in rkispp_sd_s_stream() 299 if (!completion_done(&dev->stream_vdev.monitor.fec.cmpl)) { in rkispp_sd_s_stream() [all …]
|
| D | stream.h | 249 void rkispp_stream_init_ops_v10(struct rkispp_stream_vdev *stream_vdev); 252 static inline void rkispp_stream_init_ops_v10(struct rkispp_stream_vdev *stream_vdev) in rkispp_stream_init_ops_v10() argument 261 void rkispp_stream_init_ops_v20(struct rkispp_stream_vdev *stream_vdev); 264 static inline void rkispp_stream_init_ops_v20(struct rkispp_stream_vdev *stream_vdev) in rkispp_stream_init_ops_v20() argument
|
| D | dev.h | 45 struct rkispp_stream_vdev stream_vdev; member
|
| D | common.c | 381 vdev = &ispp->stream_vdev; in rkispp_queue_dmabuf() 524 if (atomic_read(&hw->refcnt) || atomic_read(&dev->stream_vdev.refcnt) > 1) { in rkispp_free_common_dummy_buf()
|