/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
D | isp_params.c | 24 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_enum_fmt_meta_out() local 30 f->pixelformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_enum_fmt_meta_out() 38 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_g_fmt_meta_out() local 46 meta->dataformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_g_fmt_meta_out() 47 meta->buffersize = params_vdev->vdev_fmt.fmt.meta.buffersize; in rkisp_params_g_fmt_meta_out() 56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap() local 58 …ret = snprintf(cap->driver, sizeof(cap->driver), "%s_v%d", DRIVER_NAME, params_vdev->dev->isp_ver … in rkisp_params_querycap() 67 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt() local 76 params_vdev->is_subs_evt = true; in rkisp_params_subs_evt() 85 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt() local [all …]
|
D | isp_params_v21.h | 15 … void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg *arg); 16 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); 17 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_bls_cfg *arg); 18 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); 19 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_sdg_cfg *arg); 20 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); 21 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_lsc_cfg *arg); 22 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); 23 …void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_awb_gain_cfg … 24 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); [all …]
|
D | isp_params_v1x.c | 33 static inline void rkisp1_iowrite32(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr) in rkisp1_iowrite32() argument 35 iowrite32(value, params_vdev->dev->base_addr + addr); in rkisp1_iowrite32() 38 static inline u32 rkisp1_ioread32(struct rkisp_isp_params_vdev *params_vdev, u32 addr) in rkisp1_ioread32() argument 40 return ioread32(params_vdev->dev->base_addr + addr); in rkisp1_ioread32() 44 static void isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_dpcc_con… in isp_dpcc_config() argument 50 mode = rkisp1_ioread32(params_vdev, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 53 rkisp1_iowrite32(params_vdev, mode, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 54 rkisp1_iowrite32(params_vdev, arg->output_mode, CIF_ISP_DPCC_OUTPUT_MODE); in isp_dpcc_config() 55 rkisp1_iowrite32(params_vdev, arg->set_use, CIF_ISP_DPCC_SET_USE); in isp_dpcc_config() 57 rkisp1_iowrite32(params_vdev, arg->methods[0].method, CIF_ISP_DPCC_METHODS_SET_1); in isp_dpcc_config() [all …]
|
D | isp_params_v21.c | 23 static inline size_t isp_param_get_insize(struct rkisp_isp_params_vdev *params_vdev) in isp_param_get_insize() argument 25 struct rkisp_device *dev = params_vdev->dev; in isp_param_get_insize() 31 static void isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg … in isp_dpcc_config() argument 36 value = rkisp_ioread32(params_vdev, ISP_DPCC0_MODE); in isp_dpcc_config() 40 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_MODE); in isp_dpcc_config() 41 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_MODE); in isp_dpcc_config() 46 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_OUTPUT_MODE); in isp_dpcc_config() 47 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_OUTPUT_MODE); in isp_dpcc_config() 51 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_SET_USE); in isp_dpcc_config() 52 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_SET_USE); in isp_dpcc_config() [all …]
|
D | isp_params_v3x.c | 27 static inline void isp3_param_write_direct(struct rkisp_isp_params_vdev *params_vdev, u32 value, u3… in isp3_param_write_direct() argument 30 rkisp_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 32 rkisp_next_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 36 static inline void isp3_param_write(struct rkisp_isp_params_vdev *params_vdev, u32 value, u32 addr,… in isp3_param_write() argument 39 rkisp_write(params_vdev->dev, addr, value, false); in isp3_param_write() 41 rkisp_next_write(params_vdev->dev, addr, value, false); in isp3_param_write() 45 static inline u32 isp3_param_read_direct(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 i… in isp3_param_read_direct() argument 50 val = rkisp_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 52 val = rkisp_next_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 57 static inline u32 isp3_param_read(struct rkisp_isp_params_vdev *params_vdev, u32 addr, u32 id) in isp3_param_read() argument [all …]
|
D | isp_params_v3x.h | 29 …void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_dpcc_cfg *arg, u… 30 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 31 …void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_bls_cfg *arg, u32… 32 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 33 …void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp2x_sdg_cfg *arg, u32… 34 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 35 …void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp3x_lsc_cfg *arg, u32… 36 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); 37 …void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, const struct isp21_awb_gain_cfg … 38 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en, u32 id); [all …]
|
D | isp_params_v1x.h | 14 …void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_dpcc_config *ar… 15 …void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_bls_config *arg); 16 …void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_lsc_config *arg); 17 …void (*lsc_matrix_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_lsc_confi… 18 …void (*flt_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_flt_config *arg); 19 …void (*bdm_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_bdm_config *arg); 20 …void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_sdg_config *arg); 21 …void (*goc_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_goc_config *arg); 22 …void (*ctk_config)(struct rkisp_isp_params_vdev *params_vdev, const struct cifisp_ctk_config *arg); 23 void (*ctk_enable)(struct rkisp_isp_params_vdev *params_vdev, bool en); [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/ |
D | isp_params.c | 25 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_enum_fmt_meta_out() local 30 f->pixelformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_enum_fmt_meta_out() 39 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_g_fmt_meta_out() local 46 meta->dataformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_g_fmt_meta_out() 47 meta->buffersize = params_vdev->vdev_fmt.fmt.meta.buffersize; in rkisp_params_g_fmt_meta_out() 56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap() local 60 params_vdev->dev->isp_ver >> 4); in rkisp_params_querycap() 70 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt() local 78 params_vdev->is_subs_evt = true; in rkisp_params_subs_evt() 88 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt() local [all …]
|
D | isp_params_v2x.c | 27 isp_param_get_insize(struct rkisp_isp_params_vdev *params_vdev) in isp_param_get_insize() argument 29 struct rkisp_device *dev = params_vdev->dev; in isp_param_get_insize() 41 isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, in isp_dpcc_config() argument 47 value = rkisp_ioread32(params_vdev, ISP_DPCC0_MODE); in isp_dpcc_config() 52 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_MODE); in isp_dpcc_config() 53 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_MODE); in isp_dpcc_config() 54 rkisp_iowrite32(params_vdev, value, ISP_DPCC2_MODE); in isp_dpcc_config() 62 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_OUTPUT_MODE); in isp_dpcc_config() 63 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_OUTPUT_MODE); in isp_dpcc_config() 64 rkisp_iowrite32(params_vdev, value, ISP_DPCC2_OUTPUT_MODE); in isp_dpcc_config() [all …]
|
D | isp_params_v21.h | 15 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 17 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, 19 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 21 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, 23 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 25 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, 27 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 29 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, 31 void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, 33 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
D | isp_params_v1x.c | 34 static inline void rkisp1_iowrite32(struct rkisp_isp_params_vdev *params_vdev, in rkisp1_iowrite32() argument 37 iowrite32(value, params_vdev->dev->base_addr + addr); in rkisp1_iowrite32() 40 static inline u32 rkisp1_ioread32(struct rkisp_isp_params_vdev *params_vdev, in rkisp1_ioread32() argument 43 return ioread32(params_vdev->dev->base_addr + addr); in rkisp1_ioread32() 47 static void isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, in isp_dpcc_config() argument 54 mode = rkisp1_ioread32(params_vdev, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 57 rkisp1_iowrite32(params_vdev, mode, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 58 rkisp1_iowrite32(params_vdev, arg->output_mode, in isp_dpcc_config() 60 rkisp1_iowrite32(params_vdev, arg->set_use, CIF_ISP_DPCC_SET_USE); in isp_dpcc_config() 62 rkisp1_iowrite32(params_vdev, arg->methods[0].method, in isp_dpcc_config() [all …]
|
D | isp_params_v21.c | 27 isp_param_get_insize(struct rkisp_isp_params_vdev *params_vdev) in isp_param_get_insize() argument 29 struct rkisp_device *dev = params_vdev->dev; in isp_param_get_insize() 36 isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, in isp_dpcc_config() argument 42 value = rkisp_ioread32(params_vdev, ISP_DPCC0_MODE); in isp_dpcc_config() 47 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_MODE); in isp_dpcc_config() 48 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_MODE); in isp_dpcc_config() 56 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_OUTPUT_MODE); in isp_dpcc_config() 57 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_OUTPUT_MODE); in isp_dpcc_config() 63 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_SET_USE); in isp_dpcc_config() 64 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_SET_USE); in isp_dpcc_config() [all …]
|
D | isp_params_v3x.c | 28 isp3_param_write_direct(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_write_direct() argument 32 rkisp_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 34 rkisp_next_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 38 isp3_param_write(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_write() argument 42 rkisp_write(params_vdev->dev, addr, value, false); in isp3_param_write() 44 rkisp_next_write(params_vdev->dev, addr, value, false); in isp3_param_write() 48 isp3_param_read_direct(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_read_direct() argument 54 val = rkisp_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 56 val = rkisp_next_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 61 isp3_param_read(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_read() argument [all …]
|
D | isp_params_v3x.h | 31 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 33 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, 35 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 37 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, 39 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 41 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, 43 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 45 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, 47 void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, 49 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
D | isp_params_v1x.h | 14 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 16 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 18 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 20 void (*lsc_matrix_config)(struct rkisp_isp_params_vdev *params_vdev, 22 void (*flt_config)(struct rkisp_isp_params_vdev *params_vdev, 24 void (*bdm_config)(struct rkisp_isp_params_vdev *params_vdev, 26 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 28 void (*goc_config)(struct rkisp_isp_params_vdev *params_vdev, 30 void (*ctk_config)(struct rkisp_isp_params_vdev *params_vdev, 32 void (*ctk_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
D | isp_params.c | 25 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_enum_fmt_meta_out() local 30 f->pixelformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_enum_fmt_meta_out() 39 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(video); in rkisp_params_g_fmt_meta_out() local 46 meta->dataformat = params_vdev->vdev_fmt.fmt.meta.dataformat; in rkisp_params_g_fmt_meta_out() 47 meta->buffersize = params_vdev->vdev_fmt.fmt.meta.buffersize; in rkisp_params_g_fmt_meta_out() 56 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(vdev); in rkisp_params_querycap() local 60 params_vdev->dev->isp_ver >> 4); in rkisp_params_querycap() 70 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_subs_evt() local 78 params_vdev->is_subs_evt = true; in rkisp_params_subs_evt() 88 struct rkisp_isp_params_vdev *params_vdev = video_get_drvdata(fh->vdev); in rkisp_params_unsubs_evt() local [all …]
|
D | isp_params_v21.h | 15 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 17 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, 19 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 21 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, 23 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 25 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, 27 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 29 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, 31 void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, 33 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
D | isp_params_v1x.c | 34 static inline void rkisp1_iowrite32(struct rkisp_isp_params_vdev *params_vdev, in rkisp1_iowrite32() argument 37 iowrite32(value, params_vdev->dev->base_addr + addr); in rkisp1_iowrite32() 40 static inline u32 rkisp1_ioread32(struct rkisp_isp_params_vdev *params_vdev, in rkisp1_ioread32() argument 43 return ioread32(params_vdev->dev->base_addr + addr); in rkisp1_ioread32() 47 static void isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, in isp_dpcc_config() argument 54 mode = rkisp1_ioread32(params_vdev, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 57 rkisp1_iowrite32(params_vdev, mode, CIF_ISP_DPCC_MODE); in isp_dpcc_config() 58 rkisp1_iowrite32(params_vdev, arg->output_mode, in isp_dpcc_config() 60 rkisp1_iowrite32(params_vdev, arg->set_use, CIF_ISP_DPCC_SET_USE); in isp_dpcc_config() 62 rkisp1_iowrite32(params_vdev, arg->methods[0].method, in isp_dpcc_config() [all …]
|
D | isp_params_v21.c | 27 isp_param_get_insize(struct rkisp_isp_params_vdev *params_vdev) in isp_param_get_insize() argument 29 struct rkisp_device *dev = params_vdev->dev; in isp_param_get_insize() 36 isp_dpcc_config(struct rkisp_isp_params_vdev *params_vdev, in isp_dpcc_config() argument 42 value = rkisp_ioread32(params_vdev, ISP_DPCC0_MODE); in isp_dpcc_config() 47 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_MODE); in isp_dpcc_config() 48 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_MODE); in isp_dpcc_config() 56 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_OUTPUT_MODE); in isp_dpcc_config() 57 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_OUTPUT_MODE); in isp_dpcc_config() 63 rkisp_iowrite32(params_vdev, value, ISP_DPCC0_SET_USE); in isp_dpcc_config() 64 rkisp_iowrite32(params_vdev, value, ISP_DPCC1_SET_USE); in isp_dpcc_config() [all …]
|
D | isp_params_v3x.c | 28 isp3_param_write_direct(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_write_direct() argument 32 rkisp_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 34 rkisp_next_write(params_vdev->dev, addr, value, true); in isp3_param_write_direct() 38 isp3_param_write(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_write() argument 42 rkisp_write(params_vdev->dev, addr, value, false); in isp3_param_write() 44 rkisp_next_write(params_vdev->dev, addr, value, false); in isp3_param_write() 48 isp3_param_read_direct(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_read_direct() argument 54 val = rkisp_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 56 val = rkisp_next_read(params_vdev->dev, addr, true); in isp3_param_read_direct() 61 isp3_param_read(struct rkisp_isp_params_vdev *params_vdev, in isp3_param_read() argument [all …]
|
D | isp_params_v3x.h | 31 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 33 void (*dpcc_enable)(struct rkisp_isp_params_vdev *params_vdev, 35 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 37 void (*bls_enable)(struct rkisp_isp_params_vdev *params_vdev, 39 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 41 void (*sdg_enable)(struct rkisp_isp_params_vdev *params_vdev, 43 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 45 void (*lsc_enable)(struct rkisp_isp_params_vdev *params_vdev, 47 void (*awbgain_config)(struct rkisp_isp_params_vdev *params_vdev, 49 void (*awbgain_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
D | isp_params_v1x.h | 14 void (*dpcc_config)(struct rkisp_isp_params_vdev *params_vdev, 16 void (*bls_config)(struct rkisp_isp_params_vdev *params_vdev, 18 void (*lsc_config)(struct rkisp_isp_params_vdev *params_vdev, 20 void (*lsc_matrix_config)(struct rkisp_isp_params_vdev *params_vdev, 22 void (*flt_config)(struct rkisp_isp_params_vdev *params_vdev, 24 void (*bdm_config)(struct rkisp_isp_params_vdev *params_vdev, 26 void (*sdg_config)(struct rkisp_isp_params_vdev *params_vdev, 28 void (*goc_config)(struct rkisp_isp_params_vdev *params_vdev, 30 void (*ctk_config)(struct rkisp_isp_params_vdev *params_vdev, 32 void (*ctk_enable)(struct rkisp_isp_params_vdev *params_vdev, [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/ |
D | params_v20.c | 14 static void fec_enable(struct rkispp_params_vdev *params_vdev, bool en) in fec_enable() argument 16 struct rkispp_device *dev = params_vdev->dev; in fec_enable() 20 buf_idx = params_vdev->buf_fec_idx; in fec_enable() 21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable() 26 rkispp_set_bits(params_vdev->dev, RKISPP_FEC_CORE_CTRL, SW_FEC_EN, en); in fec_enable() 29 static void fec_config(struct rkispp_params_vdev *params_vdev, in fec_config() argument 32 struct rkispp_device *dev = params_vdev->dev; in fec_config() 49 if (arg->buf_fd == params_vdev->buf_fec[i].dma_fd) in fec_config() 57 if (!params_vdev->buf_fec[i].vaddr) { in fec_config() 62 buf_idx = params_vdev->buf_fec_idx; in fec_config() [all …]
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
D | params_v20.c | 14 static void fec_enable(struct rkispp_params_vdev *params_vdev, bool en) in fec_enable() argument 16 struct rkispp_device *dev = params_vdev->dev; in fec_enable() 20 buf_idx = params_vdev->buf_fec_idx; in fec_enable() 21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable() 26 rkispp_set_bits(params_vdev->dev, RKISPP_FEC_CORE_CTRL, SW_FEC_EN, en); in fec_enable() 29 static void fec_config(struct rkispp_params_vdev *params_vdev, struct fec_config *arg) in fec_config() argument 31 struct rkispp_device *dev = params_vdev->dev; in fec_config() 46 if (arg->buf_fd == params_vdev->buf_fec[i].dma_fd) { in fec_config() 55 if (!params_vdev->buf_fec[i].vaddr) { in fec_config() 60 buf_idx = params_vdev->buf_fec_idx; in fec_config() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
D | params_v20.c | 14 static void fec_enable(struct rkispp_params_vdev *params_vdev, bool en) in fec_enable() argument 16 struct rkispp_device *dev = params_vdev->dev; in fec_enable() 20 buf_idx = params_vdev->buf_fec_idx; in fec_enable() 21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable() 26 rkispp_set_bits(params_vdev->dev, RKISPP_FEC_CORE_CTRL, SW_FEC_EN, en); in fec_enable() 29 static void fec_config(struct rkispp_params_vdev *params_vdev, in fec_config() argument 32 struct rkispp_device *dev = params_vdev->dev; in fec_config() 49 if (arg->buf_fd == params_vdev->buf_fec[i].dma_fd) in fec_config() 57 if (!params_vdev->buf_fec[i].vaddr) { in fec_config() 62 buf_idx = params_vdev->buf_fec_idx; in fec_config() [all …]
|