Searched refs:clk_mgt (Results 1 – 1 of 1) sorted by relevance
452 struct clk_mgt { struct469 static struct clk_mgt clk_mgt[PRCMU_NUM_REG_CLOCKS] = { argument1331 val = readl(prcmu_base + clk_mgt[clock].offset); in request_clock()1333 val |= (PRCM_CLK_MGT_CLKEN | clk_mgt[clock].pllsw); in request_clock()1335 clk_mgt[clock].pllsw = (val & PRCM_CLK_MGT_CLKPLLSW_MASK); in request_clock()1338 writel(val, prcmu_base + clk_mgt[clock].offset); in request_clock()1514 val = readl(prcmu_base + clk_mgt[clock].offset); in clock_rate()1517 if (clk_mgt[clock].clk38div && (val & PRCM_CLK_MGT_CLK38DIV)) in clock_rate()1522 val |= clk_mgt[clock].pllsw; in clock_rate()1526 rate = pll_rate(PRCM_PLLSOC0_FREQ, rate, clk_mgt[clock].branch); in clock_rate()[all …]