Home
last modified time | relevance | path

Searched refs:ccdc_cfg (Results 1 – 5 of 5) sorted by relevance

/drivers/media/platform/davinci/
Ddm644x_ccdc.c47 } ccdc_cfg = { variable
89 return __raw_readl(ccdc_cfg.base_addr + offset); in regr()
94 __raw_writel(val, ccdc_cfg.base_addr + offset); in regw()
124 dev_dbg(ccdc_cfg.dev, "\nStarting ccdc_setwin..."); in ccdc_setwin()
163 dev_dbg(ccdc_cfg.dev, "\nEnd of ccdc_setwin..."); in ccdc_setwin()
171 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to ALAW...\n", val); in ccdc_readregs()
173 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to CLAMP...\n", val); in ccdc_readregs()
175 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to DCSUB...\n", val); in ccdc_readregs()
177 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to BLKCMP...\n", val); in ccdc_readregs()
179 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to FPC_ADDR...\n", val); in ccdc_readregs()
[all …]
Ddm355_ccdc.c45 } ccdc_cfg = { variable
111 return __raw_readl(ccdc_cfg.base_addr + offset); in regr()
116 __raw_writel(val, ccdc_cfg.base_addr + offset); in regw()
140 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
141 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
142 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
143 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset()
145 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
156 dev_dbg(ccdc_cfg.dev, "\nstarting ccdc_restore_defaults..."); in ccdc_restore_defaults()
167 ccdc_cfg.bayer.gain.r_ye = GAIN_DEFAULT; in ccdc_restore_defaults()
[all …]
Dvpfe_capture.c112 static struct ccdc_config *ccdc_cfg; variable
189 if (!ccdc_cfg) { in vpfe_register_ccdc_device()
200 if (strcmp(dev->name, ccdc_cfg->name)) { in vpfe_register_ccdc_device()
233 if (strcmp(dev->name, ccdc_cfg->name)) { in vpfe_unregister_ccdc_device()
1710 ccdc_cfg = kmalloc(sizeof(*ccdc_cfg), GFP_KERNEL); in vpfe_probe()
1711 if (!ccdc_cfg) { in vpfe_probe()
1718 strscpy(ccdc_cfg->name, vpfe_cfg->ccdc, sizeof(ccdc_cfg->name)); in vpfe_probe()
1853 kfree(ccdc_cfg); in vpfe_probe()
1874 kfree(ccdc_cfg); in vpfe_remove()
/drivers/media/platform/am437x/
Dam437x-vpfe.c171 return ioread32(ccdc->ccdc_cfg.base_addr + offset); in vpfe_reg_read()
176 iowrite32(val, ccdc->ccdc_cfg.base_addr + offset); in vpfe_reg_write()
303 &ccdc->ccdc_cfg.bayer.config_params; in vpfe_ccdc_update_raw_params()
357 if (ccdc->ccdc_cfg.if_type != VPFE_RAW_BAYER) in vpfe_ccdc_set_params()
382 struct ccdc_params_ycbcr *params = &ccdc->ccdc_cfg.ycbcr; in vpfe_ccdc_config_ycbcr()
412 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
435 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr()
511 &ccdc->ccdc_cfg.bayer.config_params; in vpfe_ccdc_config_raw()
512 struct ccdc_params_raw *params = &ccdc->ccdc_cfg.bayer; in vpfe_ccdc_config_raw()
596 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_set_buftype()
[all …]
Dam437x-vpfe.h202 struct ccdc_config ccdc_cfg; member