Lines Matching refs:p_tohw
473 const struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _p_div_to_hw() local
475 if (p_tohw) { in _p_div_to_hw()
476 while (p_tohw->pdiv) { in _p_div_to_hw()
477 if (p_div <= p_tohw->pdiv) in _p_div_to_hw()
478 return p_tohw->hw_val; in _p_div_to_hw()
479 p_tohw++; in _p_div_to_hw()
494 const struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _hw_to_p_div() local
496 if (p_tohw) { in _hw_to_p_div()
497 while (p_tohw->pdiv) { in _hw_to_p_div()
498 if (p_div_hw == p_tohw->hw_val) in _hw_to_p_div()
499 return p_tohw->pdiv; in _hw_to_p_div()
500 p_tohw++; in _hw_to_p_div()
2142 const struct pdiv_map *p_tohw = pll_params->pdiv_tohw; in tegra_clk_register_pllc() local
2147 if (!p_tohw) in tegra_clk_register_pllc()
2178 while (p_tohw->pdiv) { in tegra_clk_register_pllc()
2179 if (p_tohw->pdiv == 2) { in tegra_clk_register_pllc()
2180 cfg.p = p_tohw->hw_val; in tegra_clk_register_pllc()
2183 p_tohw++; in tegra_clk_register_pllc()
2186 if (!p_tohw->pdiv) { in tegra_clk_register_pllc()
2575 const struct pdiv_map *p_tohw = pll_params->pdiv_tohw; in tegra_clk_register_pllc_tegra210() local
2579 if (!p_tohw) in tegra_clk_register_pllc_tegra210()