Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/davinci/
Ddm644x_ccdc.c69 } 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()
146 dev_dbg(ccdc_cfg.dev, "\nStarting ccdc_setwin..."); in ccdc_setwin()
185 dev_dbg(ccdc_cfg.dev, "\nEnd of ccdc_setwin..."); in ccdc_setwin()
193 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to ALAW...\n", val); in ccdc_readregs()
195 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to CLAMP...\n", val); in ccdc_readregs()
197 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to DCSUB...\n", val); in ccdc_readregs()
199 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to BLKCMP...\n", val); in ccdc_readregs()
201 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to FPC_ADDR...\n", val); in ccdc_readregs()
[all …]
Ddm355_ccdc.c68 } ccdc_cfg = { variable
134 return __raw_readl(ccdc_cfg.base_addr + offset); in regr()
139 __raw_writel(val, ccdc_cfg.base_addr + offset); in regw()
163 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
164 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
165 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
166 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset()
168 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
179 dev_dbg(ccdc_cfg.dev, "\nstarting ccdc_restore_defaults..."); in ccdc_restore_defaults()
190 ccdc_cfg.bayer.gain.r_ye = GAIN_DEFAULT; in ccdc_restore_defaults()
[all …]
Dvpfe_capture.c126 static struct ccdc_config *ccdc_cfg; variable
232 if (NULL == ccdc_cfg) { in vpfe_register_ccdc_device()
243 if (strcmp(dev->name, ccdc_cfg->name)) { in vpfe_register_ccdc_device()
276 if (strcmp(dev->name, ccdc_cfg->name)) { in vpfe_unregister_ccdc_device()
1871 ccdc_cfg = kmalloc(sizeof(struct ccdc_config), GFP_KERNEL); in vpfe_probe()
1872 if (NULL == ccdc_cfg) { in vpfe_probe()
1880 strncpy(ccdc_cfg->name, vpfe_cfg->ccdc, 32); in vpfe_probe()
2028 kfree(ccdc_cfg); in vpfe_probe()
2050 kfree(ccdc_cfg); in vpfe_remove()