Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/platform/allegro-dvt/
Dallegro-core.c158 struct clk *clk_mcu; member
3889 dev->clk_mcu = devm_clk_get(&pdev->dev, "mcu_clk"); in allegro_probe()
3890 if (IS_ERR(dev->clk_mcu)) in allegro_probe()
3891 return PTR_ERR(dev->clk_mcu); in allegro_probe()
3943 unsigned int clk_mcu; in allegro_runtime_resume() local
3962 err = regmap_read(settings, VCU_MCU_CLK, &clk_mcu); in allegro_runtime_resume()
3965 err = clk_set_rate(dev->clk_mcu, MHZ_TO_HZ(clk_mcu)); in allegro_runtime_resume()
3968 err = clk_prepare_enable(dev->clk_mcu); in allegro_runtime_resume()
3986 clk_disable_unprepare(dev->clk_mcu); in allegro_runtime_suspend()