pllx 1097 drivers/clk/tegra/clk-tegra210.c static void tegra210_pllx_set_defaults(struct tegra_clk_pll *pllx) pllx 1102 drivers/clk/tegra/clk-tegra210.c pllx->params->defaults_set = true; pllx 1105 drivers/clk/tegra/clk-tegra210.c pllx_get_dyn_steps(&pllx->hw, &step_a, &step_b); pllx 1111 drivers/clk/tegra/clk-tegra210.c if (readl_relaxed(clk_base + pllx->params->base_reg) & PLL_ENABLE) { pllx 1117 drivers/clk/tegra/clk-tegra210.c pllx_check_defaults(pllx); pllx 1119 drivers/clk/tegra/clk-tegra210.c if (!pllx->params->defaults_set) pllx 1122 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[2]); pllx 1125 drivers/clk/tegra/clk-tegra210.c val = readl_relaxed(clk_base + pllx->params->ext_misc_reg[0]); pllx 1128 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[0]); pllx 1136 drivers/clk/tegra/clk-tegra210.c pllx->params->ext_misc_reg[0]); pllx 1140 drivers/clk/tegra/clk-tegra210.c pllx->params->ext_misc_reg[1]); pllx 1143 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[2]); pllx 1147 drivers/clk/tegra/clk-tegra210.c pllx->params->ext_misc_reg[3]); pllx 1151 drivers/clk/tegra/clk-tegra210.c pllx->params->ext_misc_reg[4]); pllx 1153 drivers/clk/tegra/clk-tegra210.c pllx->params->ext_misc_reg[5]); pllx 1353 drivers/clk/tegra/clk-tegra210.c static int tegra210_pllx_dyn_ramp(struct tegra_clk_pll *pllx, pllx 1358 drivers/clk/tegra/clk-tegra210.c ndiv_new_mask = (divn_mask(pllx) >> pllx->params->div_nmp->divn_shift) pllx 1361 drivers/clk/tegra/clk-tegra210.c val = readl_relaxed(clk_base + pllx->params->ext_misc_reg[2]); pllx 1364 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[2]); pllx 1367 drivers/clk/tegra/clk-tegra210.c val = readl_relaxed(clk_base + pllx->params->ext_misc_reg[2]); pllx 1369 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[2]); pllx 1372 drivers/clk/tegra/clk-tegra210.c tegra210_wait_for_mask(pllx, pllx->params->ext_misc_reg[2], pllx 1375 drivers/clk/tegra/clk-tegra210.c base = readl_relaxed(clk_base + pllx->params->base_reg) & pllx 1376 drivers/clk/tegra/clk-tegra210.c (~divn_mask_shifted(pllx)); pllx 1377 drivers/clk/tegra/clk-tegra210.c base |= cfg->n << pllx->params->div_nmp->divn_shift; pllx 1378 drivers/clk/tegra/clk-tegra210.c writel_relaxed(base, clk_base + pllx->params->base_reg); pllx 1382 drivers/clk/tegra/clk-tegra210.c writel_relaxed(val, clk_base + pllx->params->ext_misc_reg[2]); pllx 1386 drivers/clk/tegra/clk-tegra210.c __clk_get_name(pllx->hw.clk), cfg->m, cfg->n, cfg->p, pllx 1388 drivers/clk/tegra/clk-tegra210.c pllx->params->pdiv_tohw[cfg->p].pdiv / 1000);