Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/davinci/
Ddm644x_ccdc.c68 } ccdc_cfg = { variable
110 return __raw_readl(ccdc_cfg.base_addr + offset); in regr()
115 __raw_writel(val, ccdc_cfg.base_addr + offset); in regw()
145 dev_dbg(ccdc_cfg.dev, "\nStarting ccdc_setwin..."); in ccdc_setwin()
184 dev_dbg(ccdc_cfg.dev, "\nEnd of ccdc_setwin..."); in ccdc_setwin()
192 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to ALAW...\n", val); in ccdc_readregs()
194 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to CLAMP...\n", val); in ccdc_readregs()
196 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to DCSUB...\n", val); in ccdc_readregs()
198 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to BLKCMP...\n", val); in ccdc_readregs()
200 dev_notice(ccdc_cfg.dev, "\nReading 0x%x to FPC_ADDR...\n", val); in ccdc_readregs()
[all …]
Ddm355_ccdc.c67 } ccdc_cfg = { variable
133 return __raw_readl(ccdc_cfg.base_addr + offset); in regr()
138 __raw_writel(val, ccdc_cfg.base_addr + offset); in regw()
162 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
163 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
164 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
165 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset()
167 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
178 dev_dbg(ccdc_cfg.dev, "\nstarting ccdc_restore_defaults..."); in ccdc_restore_defaults()
189 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()