Lines Matching refs:camclk
1067 if (IS_ERR(fmd->camclk[i].clock)) in fimc_md_put_clocks()
1069 clk_put(fmd->camclk[i].clock); in fimc_md_put_clocks()
1070 fmd->camclk[i].clock = ERR_PTR(-EINVAL); in fimc_md_put_clocks()
1090 fmd->camclk[i].clock = ERR_PTR(-EINVAL); in fimc_md_get_clocks()
1101 fmd->camclk[i].clock = clock; in fimc_md_get_clocks()
1284 struct cam_clk *camclk = to_cam_clk(hw); in cam_clk_prepare() local
1286 if (camclk->fmd->pmf == NULL) in cam_clk_prepare()
1289 return pm_runtime_resume_and_get(camclk->fmd->pmf); in cam_clk_prepare()
1294 struct cam_clk *camclk = to_cam_clk(hw); in cam_clk_unprepare() local
1296 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare()
1299 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
1326 struct cam_clk *camclk = &cp->camclk[i]; in fimc_md_register_clk_provider() local
1335 p_name = __clk_get_name(fmd->camclk[i].clock); in fimc_md_register_clk_provider()
1342 camclk->hw.init = &init; in fimc_md_register_clk_provider()
1343 camclk->fmd = fmd; in fimc_md_register_clk_provider()
1345 cp->clks[i] = clk_register(NULL, &camclk->hw); in fimc_md_register_clk_provider()