Searched refs:mcuclk (Results 1 – 1 of 1) sorted by relevance
296 u32 refclk, coreclk, mcuclk, inte, deci; in xvcu_set_vcu_pll_info() local306 mcuclk = xvcu_read(xvcu->logicore_reg_ba, VCU_MCU_CLK) * MHZ; in xvcu_set_vcu_pll_info()307 if (!mcuclk || !coreclk) { in xvcu_set_vcu_pll_info()315 dev_dbg(xvcu->dev, "Mcu clock from logicoreIP is %uHz\n", mcuclk); in xvcu_set_vcu_pll_info()363 divisor_mcu = pll_clk / mcuclk; in xvcu_set_vcu_pll_info()364 mod = pll_clk % mcuclk; in xvcu_set_vcu_pll_info()365 if (mcuclk - mod < LIMIT) in xvcu_set_vcu_pll_info()378 mcuclk = pll_clk / divisor_mcu; in xvcu_set_vcu_pll_info()381 dev_dbg(xvcu->dev, "Actual Mcu clock freq is %uHz\n", mcuclk); in xvcu_set_vcu_pll_info()