Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe_hw.c468 struct vpfe_ipipe_otfdpc *otfdpc) in ipipe_set_otfdpc_regs() argument
470 struct vpfe_ipipe_otfdpc_2_0_cfg *dpc_2_0 = &otfdpc->alg_cfg.dpc_2_0; in ipipe_set_otfdpc_regs()
471 struct vpfe_ipipe_otfdpc_3_0_cfg *dpc_3_0 = &otfdpc->alg_cfg.dpc_3_0; in ipipe_set_otfdpc_regs()
476 regw_ip(base_addr, (otfdpc->en & 1), DPC_OTF_EN); in ipipe_set_otfdpc_regs()
477 if (!otfdpc->en) in ipipe_set_otfdpc_regs()
481 val = (otfdpc->det_method << OTF_DET_METHOD_SHIFT) | otfdpc->alg; in ipipe_set_otfdpc_regs()
484 if (otfdpc->det_method == VPFE_IPIPE_DPC_OTF_MIN_MAX) { in ipipe_set_otfdpc_regs()
495 if (otfdpc->alg == VPFE_IPIPE_OTFDPC_2_0) { in ipipe_set_otfdpc_regs()
Ddm365_ipipe.c174 struct vpfe_ipipe_otfdpc *otfdpc = &ipipe->config.otfdpc; in ipipe_set_otfdpc_params() local
178 memset((void *)otfdpc, 0, sizeof(struct ipipe_otfdpc_2_0)); in ipipe_set_otfdpc_params()
182 memcpy(otfdpc, dpc_param, sizeof(struct vpfe_ipipe_otfdpc)); in ipipe_set_otfdpc_params()
183 if (ipipe_validate_otfdpc_params(otfdpc) < 0) { in ipipe_set_otfdpc_params()
189 ipipe_set_otfdpc_regs(ipipe->base_addr, otfdpc); in ipipe_set_otfdpc_params()
197 struct vpfe_ipipe_otfdpc *otfdpc = &ipipe->config.otfdpc; in ipipe_get_otfdpc_params() local
199 memcpy(dpc_param, otfdpc, sizeof(struct vpfe_ipipe_otfdpc)); in ipipe_get_otfdpc_params()
1154 offsetof(struct ipipe_module_params, otfdpc),
1155 FIELD_SIZEOF(struct ipipe_module_params, otfdpc),
1156 offsetof(struct vpfe_ipipe_config, otfdpc),
Ddm365_ipipe.h82 struct vpfe_ipipe_otfdpc otfdpc; member
Ddm365_ipipe_hw.h544 struct vpfe_ipipe_otfdpc *otfdpc);
Ddavinci_vpfe_user.h1173 struct vpfe_ipipe_otfdpc __user *otfdpc; member