Searched refs:cgs (Results 1 - 5 of 5) sorted by path

/drivers/staging/media/davinci_vpfe/
H A Ddavinci_vpfe_user.h1167 * @cgs: Pointer to structure for Chromatic Gain Suppression.
1188 struct vpfe_ipipe_cgs __user *cgs; member in struct:vpfe_ipipe_config
H A Ddm365_ipipe.c1112 static int ipipe_validate_cgs_params(struct vpfe_ipipe_cgs *cgs) argument
1114 if (cgs->en > 1 || cgs->h_shft > CAR_SHIFT_MASK)
1124 struct vpfe_ipipe_cgs *cgs = &ipipe->config.cgs; local
1127 memset(cgs, 0, sizeof(struct vpfe_ipipe_cgs));
1129 memcpy(cgs, cgs_param, sizeof(struct vpfe_ipipe_cgs));
1130 if (ipipe_validate_cgs_params(cgs) < 0) {
1131 dev_err(dev, "Invalid cgs params\n");
1136 ipipe_set_cgs_regs(ipipe->base_addr, cgs);
1144 struct vpfe_ipipe_cgs *cgs = &ipipe->config.cgs; local
[all...]
H A Ddm365_ipipe.h97 struct vpfe_ipipe_cgs cgs; member in struct:ipipe_module_params
H A Ddm365_ipipe_hw.c1013 void ipipe_set_cgs_regs(void *__iomem base_addr, struct vpfe_ipipe_cgs *cgs) argument
1016 regw_ip(base_addr, cgs->en, CGS_EN);
1018 if (!cgs->en)
1022 regw_ip(base_addr, cgs->h_thr, CGS_GN1_H_THR);
1023 regw_ip(base_addr, cgs->h_slope, CGS_GN1_H_GAN);
1024 regw_ip(base_addr, cgs->h_shft & CAR_SHIFT_MASK, CGS_GN1_H_SHF);
1025 regw_ip(base_addr, cgs->h_min, CGS_GN1_H_MIN);
H A Ddm365_ipipe_hw.h555 void ipipe_set_cgs_regs(void *__iomem base_addr, struct vpfe_ipipe_cgs *cgs);

Completed in 40 milliseconds