/linux-5.19.10/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-dev.c | 121 static int rkisp1_create_links(struct rkisp1_device *rkisp1) in rkisp1_create_links() argument 131 list_for_each_entry(sd, &rkisp1->v4l2_dev.subdevs, list) { in rkisp1_create_links() 132 if (sd == &rkisp1->isp.sd || in rkisp1_create_links() 133 sd == &rkisp1->resizer_devs[RKISP1_MAINPATH].sd || in rkisp1_create_links() 134 sd == &rkisp1->resizer_devs[RKISP1_SELFPATH].sd) in rkisp1_create_links() 140 dev_err(rkisp1->dev, "failed to find src pad for %s\n", in rkisp1_create_links() 147 &rkisp1->isp.sd.entity, in rkisp1_create_links() 160 source = &rkisp1->isp.sd.entity; in rkisp1_create_links() 161 sink = &rkisp1->resizer_devs[i].sd.entity; in rkisp1_create_links() 169 sink = &rkisp1->capture_devs[i].vnode.vdev.entity; in rkisp1_create_links() [all …]
|
D | rkisp1-isp.c | 248 static void rkisp1_config_ism(struct rkisp1_device *rkisp1) in rkisp1_config_ism() argument 251 rkisp1_isp_get_pad_crop(&rkisp1->isp, NULL, in rkisp1_config_ism() 256 rkisp1_write(rkisp1, 0, RKISP1_CIF_ISP_IS_RECENTER); in rkisp1_config_ism() 257 rkisp1_write(rkisp1, 0, RKISP1_CIF_ISP_IS_MAX_DX); in rkisp1_config_ism() 258 rkisp1_write(rkisp1, 0, RKISP1_CIF_ISP_IS_MAX_DY); in rkisp1_config_ism() 259 rkisp1_write(rkisp1, 0, RKISP1_CIF_ISP_IS_DISPLACE); in rkisp1_config_ism() 260 rkisp1_write(rkisp1, src_crop->left, RKISP1_CIF_ISP_IS_H_OFFS); in rkisp1_config_ism() 261 rkisp1_write(rkisp1, src_crop->top, RKISP1_CIF_ISP_IS_V_OFFS); in rkisp1_config_ism() 262 rkisp1_write(rkisp1, src_crop->width, RKISP1_CIF_ISP_IS_H_SIZE); in rkisp1_config_ism() 263 rkisp1_write(rkisp1, src_crop->height, RKISP1_CIF_ISP_IS_V_SIZE); in rkisp1_config_ism() [all …]
|
D | rkisp1-params.c | 39 val = rkisp1_read(params->rkisp1, reg); in rkisp1_param_set_bits() 40 rkisp1_write(params->rkisp1, val | bit_mask, reg); in rkisp1_param_set_bits() 48 val = rkisp1_read(params->rkisp1, reg); in rkisp1_param_clear_bits() 49 rkisp1_write(params->rkisp1, val & ~bit_mask, reg); in rkisp1_param_clear_bits() 60 mode = rkisp1_read(params->rkisp1, RKISP1_CIF_ISP_DPCC_MODE); in rkisp1_dpcc_config() 63 rkisp1_write(params->rkisp1, mode, RKISP1_CIF_ISP_DPCC_MODE); in rkisp1_dpcc_config() 64 rkisp1_write(params->rkisp1, arg->output_mode, in rkisp1_dpcc_config() 66 rkisp1_write(params->rkisp1, arg->set_use, in rkisp1_dpcc_config() 69 rkisp1_write(params->rkisp1, arg->methods[0].method, in rkisp1_dpcc_config() 71 rkisp1_write(params->rkisp1, arg->methods[1].method, in rkisp1_dpcc_config() [all …]
|
D | rkisp1-stats.c | 181 struct rkisp1_device *rkisp1 = stats->rkisp1; in rkisp1_stats_get_awb_meas_v10() local 185 reg_val = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AWB_WHITE_CNT_V10); in rkisp1_stats_get_awb_meas_v10() 188 reg_val = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AWB_MEAN_V10); in rkisp1_stats_get_awb_meas_v10() 202 struct rkisp1_device *rkisp1 = stats->rkisp1; in rkisp1_stats_get_awb_meas_v12() local 206 reg_val = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AWB_WHITE_CNT_V12); in rkisp1_stats_get_awb_meas_v12() 209 reg_val = rkisp1_read(rkisp1, RKISP1_CIF_ISP_AWB_MEAN_V12); in rkisp1_stats_get_awb_meas_v12() 222 struct rkisp1_device *rkisp1 = stats->rkisp1; in rkisp1_stats_get_aec_meas_v10() local 228 (u8)rkisp1_read(rkisp1, in rkisp1_stats_get_aec_meas_v10() 235 struct rkisp1_device *rkisp1 = stats->rkisp1; in rkisp1_stats_get_aec_meas_v12() local 241 value = rkisp1_read(rkisp1, RKISP1_CIF_ISP_EXP_MEAN_V12 + i * 4); in rkisp1_stats_get_aec_meas_v12() [all …]
|
D | rkisp1-capture.c | 375 u32 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_mi_config_ctrl() 386 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_mi_config_ctrl() 404 u32 mi_imsc = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_IMSC); in rkisp1_irq_frame_end_enable() 407 rkisp1_write(cap->rkisp1, mi_imsc, RKISP1_CIF_MI_IMSC); in rkisp1_irq_frame_end_enable() 413 struct rkisp1_device *rkisp1 = cap->rkisp1; in rkisp1_mp_config() local 416 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_Y), in rkisp1_mp_config() 418 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_CB), in rkisp1_mp_config() 420 rkisp1_write(rkisp1, rkisp1_pixfmt_comp_size(pixm, RKISP1_PLANE_CR), in rkisp1_mp_config() 427 reg = rkisp1_read(rkisp1, RKISP1_CIF_MI_XTD_FORMAT_CTRL); in rkisp1_mp_config() 432 rkisp1_write(rkisp1, reg, RKISP1_CIF_MI_XTD_FORMAT_CTRL); in rkisp1_mp_config() [all …]
|
D | rkisp1-resizer.c | 216 u32 dc_ctrl = rkisp1_read(rsz->rkisp1, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_disable() 225 rkisp1_write(rsz->rkisp1, dc_ctrl, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_disable() 231 struct rkisp1_device *rkisp1 = rsz->rkisp1; in rkisp1_dcrop_config() local 245 dev_dbg(rkisp1->dev, "capture %d crop disabled\n", rsz->id); in rkisp1_dcrop_config() 249 dc_ctrl = rkisp1_read(rkisp1, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_config() 250 rkisp1_write(rkisp1, sink_crop->left, rsz->config->dual_crop.h_offset); in rkisp1_dcrop_config() 251 rkisp1_write(rkisp1, sink_crop->top, rsz->config->dual_crop.v_offset); in rkisp1_dcrop_config() 252 rkisp1_write(rkisp1, sink_crop->width, rsz->config->dual_crop.h_size); in rkisp1_dcrop_config() 253 rkisp1_write(rkisp1, sink_crop->height, rsz->config->dual_crop.v_size); in rkisp1_dcrop_config() 256 rkisp1_write(rkisp1, dc_ctrl, rsz->config->dual_crop.ctrl); in rkisp1_dcrop_config() [all …]
|
D | rkisp1-common.h | 212 struct rkisp1_device *rkisp1; member 256 struct rkisp1_device *rkisp1; member 301 struct rkisp1_device *rkisp1; member 327 struct rkisp1_device *rkisp1; member 428 rkisp1_write(struct rkisp1_device *rkisp1, u32 val, unsigned int addr) in rkisp1_write() argument 430 writel(val, rkisp1->base_addr + addr); in rkisp1_write() 433 static inline u32 rkisp1_read(struct rkisp1_device *rkisp1, unsigned int addr) in rkisp1_read() argument 435 return readl(rkisp1->base_addr + addr); in rkisp1_read() 499 void rkisp1_params_isr(struct rkisp1_device *rkisp1); 502 int rkisp1_capture_devs_register(struct rkisp1_device *rkisp1); [all …]
|
D | Makefile | 4 rockchip-isp1-objs += rkisp1-capture.o \ 5 rkisp1-common.o \ 6 rkisp1-dev.o \ 7 rkisp1-isp.o \ 8 rkisp1-resizer.o \ 9 rkisp1-stats.o \ 10 rkisp1-params.o
|
/linux-5.19.10/Documentation/admin-guide/media/ |
D | rkisp1.rst | 6 Rockchip Image Signal Processor (rkisp1) 13 and RK3399 SoCs. The driver is located under drivers/staging/media/rkisp1 36 .. kernel-figure:: rkisp1.dot 99 are being processed by the rkisp1 to userspace applications. 136 "media-ctl" "-d" "platform:rkisp1" "-r" 137 "media-ctl" "-d" "platform:rkisp1" "-l" "'imx219 4-0010':0 -> 'rkisp1_isp':0 [1]" 138 "media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_selfpath':0 [1]" 139 "media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_mainpath':0 [0]" 142 "media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1640x1232]' 145 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":0 [fmt:SRGGB10_1X10/1640x1232 crop: … [all …]
|
D | v4l-drivers.rst | 28 rkisp1
|
/linux-5.19.10/Documentation/userspace-api/media/v4l/ |
D | pixfmt-meta-rkisp1.rst | 18 ``rkisp1-config.h``. So the structure can be obtained from the buffer by: 34 ``rkisp1-config.h``. So the structure can be obtained from the buffer by: 47 rkisp1 uAPI data types 50 .. kernel-doc:: include/uapi/linux/rkisp1-config.h
|
D | meta-formats.rst | 17 pixfmt-meta-rkisp1
|
/linux-5.19.10/Documentation/driver-api/media/drivers/ |
D | rkisp1.rst | 3 The Rockchip Image Signal Processor Driver (rkisp1) 9 The rkisp1 block underwent some changes between SoC implementations. 18 Right now the kernel supports rkisp1 implementations based
|
D | index.rst | 24 rkisp1
|
/linux-5.19.10/drivers/media/platform/rockchip/ |
D | Makefile | 3 obj-y += rkisp1/
|
D | Kconfig | 6 source "drivers/media/platform/rockchip/rkisp1/Kconfig"
|
/linux-5.19.10/arch/arm64/boot/dts/rockchip/ |
D | px30.dtsi | 1193 compatible = "rockchip,px30-cif-isp"; /*rk3326-rkisp1*/
|
/linux-5.19.10/ |
D | MAINTAINERS | 17310 F: Documentation/admin-guide/media/rkisp1.rst 17312 F: Documentation/userspace-api/media/v4l/pixfmt-meta-rkisp1.rst 17313 F: drivers/media/platform/rockchip/rkisp1 17314 F: include/uapi/linux/rkisp1-config.h
|