Lines Matching refs:camclk
1066 if (IS_ERR(fmd->camclk[i].clock)) in fimc_md_put_clocks()
1068 clk_put(fmd->camclk[i].clock); in fimc_md_put_clocks()
1069 fmd->camclk[i].clock = ERR_PTR(-EINVAL); in fimc_md_put_clocks()
1089 fmd->camclk[i].clock = ERR_PTR(-EINVAL); in fimc_md_get_clocks()
1100 fmd->camclk[i].clock = clock; in fimc_md_get_clocks()
1284 struct cam_clk *camclk = to_cam_clk(hw); in cam_clk_prepare() local
1287 if (camclk->fmd->pmf == NULL) in cam_clk_prepare()
1290 ret = pm_runtime_get_sync(camclk->fmd->pmf); in cam_clk_prepare()
1296 struct cam_clk *camclk = to_cam_clk(hw); in cam_clk_unprepare() local
1298 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare()
1301 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
1328 struct cam_clk *camclk = &cp->camclk[i]; in fimc_md_register_clk_provider() local
1337 p_name = __clk_get_name(fmd->camclk[i].clock); in fimc_md_register_clk_provider()
1344 camclk->hw.init = &init; in fimc_md_register_clk_provider()
1345 camclk->fmd = fmd; in fimc_md_register_clk_provider()
1347 cp->clks[i] = clk_register(NULL, &camclk->hw); in fimc_md_register_clk_provider()