Lines Matching refs:goya
12 struct goya_device *goya = hdev->asic_specific; in goya_set_pll_profile() local
29 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, goya->mme_clk); in goya_set_pll_profile()
30 hl_fw_set_frequency(hdev, HL_GOYA_TPC_PLL, goya->tpc_clk); in goya_set_pll_profile()
31 hl_fw_set_frequency(hdev, HL_GOYA_IC_PLL, goya->ic_clk); in goya_set_pll_profile()
59 struct goya_device *goya = hdev->asic_specific; in mme_clk_store() local
68 if (goya->pm_mng_profile == PM_AUTO) { in mme_clk_store()
81 goya->mme_clk = value; in mme_clk_store()
108 struct goya_device *goya = hdev->asic_specific; in tpc_clk_store() local
117 if (goya->pm_mng_profile == PM_AUTO) { in tpc_clk_store()
130 goya->tpc_clk = value; in tpc_clk_store()
157 struct goya_device *goya = hdev->asic_specific; in ic_clk_store() local
166 if (goya->pm_mng_profile == PM_AUTO) { in ic_clk_store()
179 goya->ic_clk = value; in ic_clk_store()
240 struct goya_device *goya = hdev->asic_specific; in pm_mng_profile_show() local
246 (goya->pm_mng_profile == PM_AUTO) ? "auto" : in pm_mng_profile_show()
247 (goya->pm_mng_profile == PM_MANUAL) ? "manual" : in pm_mng_profile_show()
255 struct goya_device *goya = hdev->asic_specific; in pm_mng_profile_store() local
273 if (goya->pm_mng_profile == PM_MANUAL) { in pm_mng_profile_store()
274 goya->curr_pll_profile = PLL_HIGH; in pm_mng_profile_store()
275 goya->pm_mng_profile = PM_AUTO; in pm_mng_profile_store()
279 if (goya->pm_mng_profile == PM_AUTO) { in pm_mng_profile_store()
285 goya->pm_mng_profile = PM_MANUAL; in pm_mng_profile_store()
292 if (goya->goya_work) in pm_mng_profile_store()
293 flush_delayed_work(&goya->goya_work->work_freq); in pm_mng_profile_store()