Home
last modified time | relevance | path

Searched refs:lsc_cfg (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dimx258.c154 struct rkmodule_lsc_cfg lsc_cfg; member
1056 memcpy(&imx258->lsc_cfg, cfg, sizeof(*cfg)); in imx258_set_lsc_cfg()
1142 struct rkmodule_lsc_cfg *lsc_cfg; in imx258_compat_ioctl32() local
1179 lsc_cfg = kzalloc(sizeof(*lsc_cfg), GFP_KERNEL); in imx258_compat_ioctl32()
1180 if (!lsc_cfg) { in imx258_compat_ioctl32()
1185 ret = copy_from_user(lsc_cfg, up, sizeof(*lsc_cfg)); in imx258_compat_ioctl32()
1187 kfree(lsc_cfg); in imx258_compat_ioctl32()
1190 ret = imx258_ioctl(sd, cmd, lsc_cfg); in imx258_compat_ioctl32()
1191 kfree(lsc_cfg); in imx258_compat_ioctl32()
1246 struct rkmodule_lsc_cfg *lsc_cfg = &imx258->lsc_cfg; in imx258_apply_otp() local
[all …]
H A Dgc2053.c151 struct rkmodule_lsc_cfg lsc_cfg; member
926 memcpy(&gc2053->lsc_cfg, cfg, sizeof(*cfg)); in gc2053_set_lsc_cfg()
986 struct rkmodule_lsc_cfg *lsc_cfg; in gc2053_compat_ioctl32() local
1024 lsc_cfg = kzalloc(sizeof(*lsc_cfg), GFP_KERNEL); in gc2053_compat_ioctl32()
1025 if (!lsc_cfg) { in gc2053_compat_ioctl32()
1030 if (copy_from_user(lsc_cfg, up, sizeof(*lsc_cfg))) { in gc2053_compat_ioctl32()
1031 kfree(lsc_cfg); in gc2053_compat_ioctl32()
1035 ret = gc2053_ioctl(sd, cmd, lsc_cfg); in gc2053_compat_ioctl32()
1036 kfree(lsc_cfg); in gc2053_compat_ioctl32()
H A Dimx214.c159 struct rkmodule_lsc_cfg lsc_cfg; member
967 memcpy(&imx214->lsc_cfg, cfg, sizeof(*cfg)); in imx214_set_lsc_cfg()
1017 struct rkmodule_lsc_cfg *lsc_cfg; in imx214_compat_ioctl32() local
1052 lsc_cfg = kzalloc(sizeof(*lsc_cfg), GFP_KERNEL); in imx214_compat_ioctl32()
1053 if (!lsc_cfg) { in imx214_compat_ioctl32()
1058 ret = copy_from_user(lsc_cfg, up, sizeof(*lsc_cfg)); in imx214_compat_ioctl32()
1060 ret = imx214_ioctl(sd, cmd, lsc_cfg); in imx214_compat_ioctl32()
1063 kfree(lsc_cfg); in imx214_compat_ioctl32()
1087 struct rkmodule_lsc_cfg *lsc_cfg = &imx214->lsc_cfg; in imx214_apply_otp() local
1160 if ((otp_ptr->flag & 0x10) && lsc_cfg->enable) { in imx214_apply_otp()
H A Dov8858.c202 struct rkmodule_lsc_cfg lsc_cfg; member
2322 memcpy(&ov8858->lsc_cfg, cfg, sizeof(*cfg)); in ov8858_set_lsc_cfg()
2372 struct rkmodule_lsc_cfg *lsc_cfg; in ov8858_compat_ioctl32() local
2402 lsc_cfg = kzalloc(sizeof(*lsc_cfg), GFP_KERNEL); in ov8858_compat_ioctl32()
2403 if (!lsc_cfg) { in ov8858_compat_ioctl32()
2408 ret = copy_from_user(lsc_cfg, up, sizeof(*lsc_cfg)); in ov8858_compat_ioctl32()
2410 ret = ov8858_ioctl(sd, cmd, lsc_cfg); in ov8858_compat_ioctl32()
2411 kfree(lsc_cfg); in ov8858_compat_ioctl32()
2434 struct rkmodule_lsc_cfg *lsc_cfg = &ov8858->lsc_cfg; in ov8858_apply_otp_r1a() local
2504 if ((otp_ptr->flag & 0x10) && lsc_cfg->enable) { in ov8858_apply_otp_r1a()
[all …]
H A Dimx577.c220 struct rkmodule_lsc_cfg lsc_cfg; member
1298 memcpy(&imx577->lsc_cfg, cfg, sizeof(*cfg)); in imx577_set_lsc_cfg()
1545 struct rkmodule_lsc_cfg *lsc_cfg; in imx577_compat_ioctl32() local
1625 lsc_cfg = kzalloc(sizeof(*lsc_cfg), GFP_KERNEL); in imx577_compat_ioctl32()
1626 if (!lsc_cfg) { in imx577_compat_ioctl32()
1631 ret = copy_from_user(lsc_cfg, up, sizeof(*lsc_cfg)); in imx577_compat_ioctl32()
1633 ret = imx577_ioctl(sd, cmd, lsc_cfg); in imx577_compat_ioctl32()
1636 kfree(lsc_cfg); in imx577_compat_ioctl32()
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispccdc.c132 struct omap3isp_ccdc_lsc_config *lsc_cfg) in ccdc_lsc_validate_config() argument
141 paxel_shift_x = lsc_cfg->gain_mode_m; in ccdc_lsc_validate_config()
142 paxel_shift_y = lsc_cfg->gain_mode_n; in ccdc_lsc_validate_config()
150 if (lsc_cfg->offset & 3) { in ccdc_lsc_validate_config()
156 if ((lsc_cfg->initial_x & 1) || (lsc_cfg->initial_y & 1)) { in ccdc_lsc_validate_config()
168 min_width = ((input_width + lsc_cfg->initial_x + paxel_width - 1) in ccdc_lsc_validate_config()
172 min_height = ((input_height + lsc_cfg->initial_y + paxel_height - 1) in ccdc_lsc_validate_config()
176 if (min_size > lsc_cfg->size) { in ccdc_lsc_validate_config()
180 if (lsc_cfg->offset < (min_width * 4)) { in ccdc_lsc_validate_config()
184 if ((lsc_cfg->size / lsc_cfg->offset) < min_height) { in ccdc_lsc_validate_config()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Domap3isp.h417 struct omap3isp_ccdc_lsc_config *lsc_cfg; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Domap3isp.h417 struct omap3isp_ccdc_lsc_config *lsc_cfg; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Domap3isp.h437 struct omap3isp_ccdc_lsc_config __user *lsc_cfg; member
H A Drk-isp21-config.h718 struct isp2x_lsc_cfg lsc_cfg; member
H A Drk-isp3-config.h1000 struct isp3x_lsc_cfg lsc_cfg; member
H A Drk-isp32-config.h1309 struct isp3x_lsc_cfg lsc_cfg; member
H A Drk-isp2-config.h1747 struct isp2x_lsc_cfg lsc_cfg; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/
H A DIspParamsSplitter.cpp1337 struct isp3x_lsc_cfg* lsc_cfg_ori = &ori->others.lsc_cfg; in SplitAlscParams()
1338 struct isp3x_lsc_cfg* lsc_cfg_lef = &left->others.lsc_cfg; in SplitAlscParams()
1339 struct isp3x_lsc_cfg* lsc_cfg_rht = &right->others.lsc_cfg; in SplitAlscParams()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Disp_params_v3x.c593 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true, 0); in isp_lsc_cfg_sram_task()
596 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true, 1); in isp_lsc_cfg_sram_task()
613 params_rec->others.lsc_cfg = *arg; in isp_lsc_config()
676 &params_rec->others.lsc_cfg, false, id); in isp_lsc_enable()
3814 ops->lsc_config(params_vdev, &new_params->others.lsc_cfg, id); in __isp_isr_other_config()
4119 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true, 0); in rkisp_params_cfgsram_v3x()
4126 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true, 1); in rkisp_params_cfgsram_v3x()
H A Disp_params_v32.c604 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true); in isp_lsc_cfg_sram_task()
630 params_rec->others.lsc_cfg = *arg; in isp_lsc_config()
633 params_rec->others.lsc_cfg = *arg; in isp_lsc_config()
689 &params_rec->others.lsc_cfg, false); in isp_lsc_enable()
3973 ops->lsc_config(params_vdev, &new_params->others.lsc_cfg); in __isp_isr_other_config()
4301 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true); in rkisp_params_cfgsram_v32()
H A Disp_params_v2x.c687 params_rec->others.lsc_cfg = *arg; in isp_lsc_config()
3762 ops->lsc_config(params_vdev, &new_params->others.lsc_cfg); in __isp_isr_other_config()
4045 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true); in rkisp_params_cfgsram_v2x()
H A Disp_params_v21.c611 params_rec->others.lsc_cfg = *arg; in isp_lsc_config()
3475 ops->lsc_config(params_vdev, &new_params->others.lsc_cfg); in __isp_isr_other_config()
3761 isp_lsc_matrix_cfg_sram(params_vdev, &params->others.lsc_cfg, true); in rkisp_params_cfgsram_v21()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/
H A Drkisp21-config.h718 struct isp2x_lsc_cfg lsc_cfg; member
H A Drkisp3-config.h1000 struct isp3x_lsc_cfg lsc_cfg; member
H A Drkisp32-config.h1309 struct isp3x_lsc_cfg lsc_cfg; member
H A Drkisp2-config.h1759 struct isp2x_lsc_cfg lsc_cfg; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp21/
H A DIsp21Params.cpp1161 struct isp3x_lsc_cfg * cfg = &isp_cfg->others.lsc_cfg; in convertAiqExpIspDgainToIspParams()
1164 struct isp2x_lsc_cfg * cfg = &isp_cfg->others.lsc_cfg; in convertAiqExpIspDgainToIspParams()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp20/
H A DIsp20Params.cpp1887 struct isp3x_lsc_cfg * cfg = &isp_cfg.others.lsc_cfg; in convertAiqLscToIsp20Params()
1890 struct isp2x_lsc_cfg * cfg = &isp_cfg.others.lsc_cfg; in convertAiqLscToIsp20Params()