Home
last modified time | relevance | path

Searched refs:config_params (Results 1 – 7 of 7) sorted by relevance

/drivers/media/platform/davinci/
Ddm644x_ccdc.c73 .config_params = {
241 struct ccdc_config_params_raw *config_params = in ccdc_update_raw_params() local
242 &ccdc_cfg.bayer.config_params; in ccdc_update_raw_params()
246 memcpy(config_params, raw_params, sizeof(*raw_params)); in ccdc_update_raw_params()
251 if (!config_params->fault_pxl.enable) in ccdc_update_raw_params()
254 fpc_physaddr = (unsigned int *)config_params->fault_pxl.fpc_table_addr; in ccdc_update_raw_params()
262 if (raw_params->fault_pxl.fp_num != config_params->fault_pxl.fp_num) { in ccdc_update_raw_params()
266 (config_params->fault_pxl.fp_num * in ccdc_update_raw_params()
287 config_params->fault_pxl.fp_num = raw_params->fault_pxl.fp_num; in ccdc_update_raw_params()
290 config_params->fault_pxl.fp_num * FP_NUM_BYTES)) { in ccdc_update_raw_params()
[all …]
Ddm355_ccdc.c78 .config_params = {
343 memcpy(&ccdc_cfg.bayer.config_params, in ccdc_set_params()
613 struct ccdc_config_params_raw *config_params = in ccdc_config_raw() local
614 &ccdc_cfg.bayer.config_params; in ccdc_config_raw()
653 if ((config_params->data_sz == CCDC_DATA_8BITS) || in ccdc_config_raw()
654 config_params->alaw.enable) in ccdc_config_raw()
658 if (config_params->lpf_enable) in ccdc_config_raw()
659 val |= (config_params->lpf_enable & CCDC_LPF_MASK) << in ccdc_config_raw()
663 val |= (config_params->datasft & CCDC_DATASFT_MASK) << in ccdc_config_raw()
669 regw((config_params->med_filt_thres) & CCDC_MED_FILT_THRESH, MEDFILT); in ccdc_config_raw()
[all …]
Disif.c122 .config_params = {
229 &isif_cfg.bayer.config_params.gain_offset; in isif_config_gain_offset()
265 isif_cfg.bayer.config_params = isif_config_defaults; in isif_restore_defaults()
547 &isif_cfg.bayer.config_params; in isif_config_raw()
589 (params->config_params.data_shift << ISIF_DATASFT_SHIFT); in isif_config_raw()
620 val = (params->config_params.col_pat_field0.olop) | in isif_config_raw()
621 (params->config_params.col_pat_field0.olep << 2) | in isif_config_raw()
622 (params->config_params.col_pat_field0.elop << 4) | in isif_config_raw()
623 (params->config_params.col_pat_field0.elep << 6) | in isif_config_raw()
624 (params->config_params.col_pat_field1.olop << 8) | in isif_config_raw()
[all …]
Dvpfe_capture.c114 static struct vpfe_config_params config_params = { variable
735 vpfe_dev->numbuffers = config_params.numbuffers; in vpfe_release()
1252 vpfe_dev->fmt.fmt.pix.sizeimage > config_params.device_bufsize) in vpfe_videobuf_setup()
1253 *size = config_params.device_bufsize; in vpfe_videobuf_setup()
1255 if (*count < config_params.min_numbuffers) in vpfe_videobuf_setup()
1256 *count = config_params.min_numbuffers; in vpfe_videobuf_setup()
1753 (numbuffers < config_params.min_numbuffers)) in vpfe_initialize()
1754 numbuffers = config_params.min_numbuffers; in vpfe_initialize()
1760 if (bufsize < config_params.min_bufsize) in vpfe_initialize()
1761 bufsize = config_params.min_bufsize; in vpfe_initialize()
[all …]
/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c434 memcpy(params, &isif->isif_cfg.bayer.config_params, in isif_get_params()
435 sizeof(isif->isif_cfg.bayer.config_params)); in isif_get_params()
612 memcpy(&isif->isif_cfg.bayer.config_params, &isif_raw_params, in isif_set_params()
648 &isif->isif_cfg.bayer.config_params.gain_offset; in isif_config_gain_offset()
1075 &isif->isif_cfg.bayer.config_params; in isif_config_raw()
1763 memset(&isif->isif_cfg.bayer.config_params, 0, in isif_restore_defaults()
1766 isif->isif_cfg.bayer.config_params.linearize.corr_shft = in isif_restore_defaults()
1768 isif->isif_cfg.bayer.config_params.linearize.scale_fact.integer = 1; in isif_restore_defaults()
1769 isif->isif_cfg.bayer.config_params.culling.hcpat_odd = in isif_restore_defaults()
1771 isif->isif_cfg.bayer.config_params.culling.hcpat_even = in isif_restore_defaults()
[all …]
Ddm365_isif.h140 struct vpfe_isif_raw_config config_params; member
/drivers/block/
Dfloppy.c4031 } config_params[] __initdata = { variable
4070 for (i = 0; i < ARRAY_SIZE(config_params); i++) { in floppy_setup()
4071 if (strcmp(str, config_params[i].name) == 0) { in floppy_setup()
4075 param = config_params[i].def_param; in floppy_setup()
4076 if (config_params[i].fn) in floppy_setup()
4077 config_params[i].fn(ints, param, in floppy_setup()
4078 config_params[i]. in floppy_setup()
4080 if (config_params[i].var) { in floppy_setup()
4082 *config_params[i].var = param; in floppy_setup()
4092 for (i = 0; i < ARRAY_SIZE(config_params); i++) in floppy_setup()
[all …]