| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | capture_v30.c | 335 !dev->hw_dev->is_unite) { in rkisp_stream_config_dcrop() 475 bool is_unite = dev->hw_dev->is_unite; in mp_config_mi() local 483 rkisp_unite_write(dev, stream->config->mi.y_size_init, val, false, is_unite); in mp_config_mi() 486 rkisp_unite_write(dev, stream->config->mi.cb_size_init, val, false, is_unite); in mp_config_mi() 489 rkisp_unite_write(dev, stream->config->mi.cr_size_init, val, false, is_unite); in mp_config_mi() 491 val = is_unite ? out_fmt->width / 2 : out_fmt->width; in mp_config_mi() 492 rkisp_unite_write(dev, ISP3X_MI_MP_WR_Y_PIC_WIDTH, val, false, is_unite); in mp_config_mi() 495 rkisp_unite_write(dev, ISP3X_MI_MP_WR_Y_PIC_HEIGHT, val, false, is_unite); in mp_config_mi() 498 rkisp_unite_write(dev, ISP3X_MI_MP_WR_Y_LLENGTH, val, false, is_unite); in mp_config_mi() 502 rkisp_unite_set_bits(dev, ISP3X_MI_WR_XTD_FORMAT_CTRL, mask, val, false, is_unite); in mp_config_mi() [all …]
|
| H A D | regs.c | 49 mask, val, false, dev->hw_dev->is_unite); in rkisp_disable_dcrop() 57 bool is_unite = dev->hw_dev->is_unite; in rkisp_config_dcrop() local 61 if (is_unite) { in rkisp_config_dcrop() 72 rkisp_unite_write(dev, reg, tmp.top, false, is_unite); in rkisp_config_dcrop() 74 rkisp_unite_write(dev, reg, tmp.height, false, is_unite); in rkisp_config_dcrop() 80 if (is_unite) { in rkisp_config_dcrop() 153 val, false, dev->hw_dev->is_unite); in update_rsz_shadow() 223 if (dev->hw_dev->is_unite) { in set_scale() 365 bool is_unite = dev->hw_dev->is_unite; in rkisp_config_rsz() local 380 rkisp_unite_write(dev, stream->config->rsz.scale_lut_addr, i, true, is_unite); in rkisp_config_rsz() [all …]
|
| H A D | common.h | 188 rkisp_unite_write(struct rkisp_device *dev, u32 reg, u32 val, bool is_direct, bool is_unite) in rkisp_unite_write() argument 191 if (is_unite) in rkisp_unite_write() 197 u32 val, bool is_direct, bool is_unite) in rkisp_unite_set_bits() argument 200 if (is_unite) in rkisp_unite_set_bits() 206 bool is_direct, bool is_unite) in rkisp_unite_clear_bits() argument 209 if (is_unite) in rkisp_unite_clear_bits()
|
| H A D | hw.c | 135 if (dev->hw_dev->is_unite) { in default_sw_reg_flag() 147 void __iomem *base = !hw_dev->is_unite ? in mipi_irq_hdl() 204 void __iomem *base = !hw_dev->is_unite ? in mi_irq_hdl() 240 void __iomem *base = !hw_dev->is_unite ? in isp_irq_hdl() 639 if (dev->is_unite) { in rkisp_soft_reset() 649 if (dev->is_unite) in rkisp_soft_reset() 672 if (dev->is_unite) in rkisp_soft_reset() 684 if (dev->is_unite) { in rkisp_soft_reset() 725 if (dev->is_unite) in isp_config_clk() 755 if (dev->is_unite) in isp_config_clk() [all …]
|
| H A D | rkisp.c | 216 if (dev->hw_dev->is_unite) { in rkisp_align_sensor_resolution() 531 if (hw->is_unite) in rkisp_dvfs() 571 if (hw->is_unite) { in rkisp_multi_overflow_hdl() 585 rkisp_unite_write(dev, ISP3X_MI_WR_INIT, CIF_MI_INIT_SOFT_UPD, true, hw->is_unite); in rkisp_multi_overflow_hdl() 636 val, false, hw->is_unite); in rkisp_trigger_read_back() 703 rkisp_unite_write(dev, ISP3X_MI_WR_INIT, CIF_MI_INIT_SOFT_UPD, true, hw->is_unite); in rkisp_trigger_read_back() 714 if (hw->is_unite) in rkisp_trigger_read_back() 756 rkisp_unite_write(dev, ISP_3DLUT_UPDATE, 0, true, hw->is_unite); in rkisp_trigger_read_back() 762 rkisp_unite_write(dev, ISP_CTRL, val, true, hw->is_unite); in rkisp_trigger_read_back() 775 if (hw->is_unite) in rkisp_trigger_read_back() [all …]
|
| H A D | dmarx.c | 321 bool is_unite = dev->hw_dev->is_unite; in rawrd_config_mi() local 351 stream->memory << 2, false, is_unite); in rawrd_config_mi() 352 rkisp_unite_write(dev, CSI2RX_DATA_IDS_1, val, false, is_unite); in rawrd_config_mi() 379 if (dev->hw_dev->is_unite) { in update_rawrd() 468 true, dev->hw_dev->is_unite); in dmarx_frame_end() 471 true, dev->hw_dev->is_unite); in dmarx_frame_end() 473 true, dev->hw_dev->is_unite); in dmarx_frame_end() 1138 bool is_unite = dev->hw_dev->is_unite; in rkisp_rawrd_set_pic_size() local 1139 u32 w = !is_unite ? width : width / 2 + RKMOUDLE_UNITE_EXTEND_PIXEL; in rkisp_rawrd_set_pic_size() 1152 rkisp_unite_write(dev, CSI2RX_RAW_RD_PIC_SIZE, height << 16 | w, false, is_unite); in rkisp_rawrd_set_pic_size()
|
| H A D | csi.c | 630 true, dev->hw_dev->is_unite); in rkisp_csi_config_patch() 654 rkisp_unite_write(dev, ISP_HDRMGE_BASE, val, false, dev->hw_dev->is_unite); in rkisp_csi_config_patch() 659 rkisp_unite_set_bits(dev, CSI2RX_MASK_STAT, 0, val, true, dev->hw_dev->is_unite); in rkisp_csi_config_patch() 664 true, dev->hw_dev->is_unite); in rkisp_csi_config_patch() 668 true, dev->hw_dev->is_unite); in rkisp_csi_config_patch() 672 true, dev->hw_dev->is_unite); in rkisp_csi_config_patch()
|
| H A D | isp_stats_v3x.c | 1041 if (stats_vdev->dev->hw_dev->is_unite) { in rkisp_stats_send_meas_v3x() 1089 void __iomem *base = !hw->is_unite ? in rkisp_stats_isr_v3x() 1141 if (dev->hw_dev->is_unite) in rkisp_stats_isr_v3x() 1181 int i, mult = dev->hw_dev->is_unite ? 2 : 1; in rkisp_stats_first_ddr_config_v3x() 1203 false, dev->hw_dev->is_unite); in rkisp_stats_first_ddr_config_v3x() 1206 dev->hw_dev->is_unite); in rkisp_stats_first_ddr_config_v3x() 1209 if (dev->hw_dev->is_unite) in rkisp_stats_first_ddr_config_v3x() 1223 int mult = stats_vdev->dev->hw_dev->is_unite ? 2 : 1; in rkisp_init_stats_vdev_v3x()
|
| H A D | regs.h | 1756 void __iomem *base = !hw->is_unite ? in mi_frame_end_int_enable() 1766 void __iomem *base = !hw->is_unite ? in mi_frame_end_int_disable() 1776 void __iomem *base = !hw->is_unite ? in mi_frame_end_int_clear() 1786 bool is_unite = dev->hw_dev->is_unite; in stream_data_path() local 1795 rkisp_unite_set_bits(dev, CIF_VI_DPCL, 0, dpcl, true, is_unite); in stream_data_path() 1917 bool is_unite = dev->hw_dev->is_unite; in force_cfg_update() local 1924 rkisp_unite_set_bits(dev, CIF_MI_CTRL, 0, val, false, is_unite); in force_cfg_update() 1926 rkisp_unite_write(dev, CIF_MI_INIT, val, true, is_unite); in force_cfg_update()
|
| H A D | isp_params_v3x.c | 594 if (params_vdev->dev->hw_dev->is_unite) { in isp_lsc_cfg_sram_task() 1226 if (ispdev->hw_dev->is_unite) in isp_rawaelite_config() 1313 if (ispdev->hw_dev->is_unite) in isp_rawaebig_config() 2890 if (dev->hw_dev->is_unite && in isp_dhaz_config() 4106 if (params_vdev->dev->hw_dev->is_unite) { in __isp_config_hdrshd() 4124 if (params_vdev->dev->hw_dev->is_unite) { in rkisp_params_cfgsram_v3x() 4148 for (id = 0; id <= ispdev->hw_dev->is_unite; id++) { in rkisp_alloc_internal_buf() 4165 if (ispdev->hw_dev->is_unite) in rkisp_alloc_internal_buf() 4168 for (id = 0; id <= ispdev->hw_dev->is_unite; id++) { in rkisp_alloc_internal_buf() 4204 id = ispdev->hw_dev->is_unite ? 1 : 0; in rkisp_alloc_internal_buf() [all …]
|
| H A D | hw.h | 102 bool is_unite; member
|
| H A D | capture.c | 629 } else if (dev->hw_dev->is_unite) { in restrict_rsz_resolution() 1468 bool is_unite = dev->hw_dev->is_unite; in rkisp_update_crop() local 1469 u32 align = is_unite ? 4 : 2; in rkisp_update_crop() 1497 if (is_unite && (sel->width + 2 * sel->left) != in->width) { in rkisp_update_crop() 1736 st_cfg->max_rsz_width = dev->hw_dev->is_unite ? in rkisp_register_stream_vdevs() 1738 st_cfg->max_rsz_height = dev->hw_dev->is_unite ? in rkisp_register_stream_vdevs()
|
| H A D | dev.c | 255 if (hw_dev->is_unite) in __isp_pipeline_s_isp_clk() 845 if (isp_dev->hw_dev->is_unite) in rkisp_plat_probe() 857 if (!isp_dev->hw_dev->is_unite) in rkisp_plat_probe()
|
| H A D | isp_params.c | 410 false, dev->hw_dev->is_unite); in rkisp_params_first_cfg()
|
| H A D | common.c | 175 if (hw->is_unite) { in rkisp_update_regs()
|
| H A D | procfs.c | 936 if (dev->hw_dev->is_unite) in isp_show() 966 if (!dev->hw_dev->is_unite) { in isp_show()
|
| H A D | regs_v2x.h | 2703 if (stream->ispdev->hw_dev->is_unite) { in mi_raw_length()
|
| H A D | isp_params_v32.c | 1329 if (ispdev->hw_dev->is_unite) in isp_rawaelite_config() 1419 if (ispdev->hw_dev->is_unite) in isp_rawaebig_config()
|