Lines Matching refs:p_tohw
481 const struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _p_div_to_hw() local
483 if (p_tohw) { in _p_div_to_hw()
484 while (p_tohw->pdiv) { in _p_div_to_hw()
485 if (p_div <= p_tohw->pdiv) in _p_div_to_hw()
486 return p_tohw->hw_val; in _p_div_to_hw()
487 p_tohw++; in _p_div_to_hw()
502 const struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _hw_to_p_div() local
504 if (p_tohw) { in _hw_to_p_div()
505 while (p_tohw->pdiv) { in _hw_to_p_div()
506 if (p_div_hw == p_tohw->hw_val) in _hw_to_p_div()
507 return p_tohw->pdiv; in _hw_to_p_div()
508 p_tohw++; in _hw_to_p_div()
2133 const struct pdiv_map *p_tohw = pll_params->pdiv_tohw; in tegra_clk_register_pllc() local
2138 if (!p_tohw) in tegra_clk_register_pllc()
2169 while (p_tohw->pdiv) { in tegra_clk_register_pllc()
2170 if (p_tohw->pdiv == 2) { in tegra_clk_register_pllc()
2171 cfg.p = p_tohw->hw_val; in tegra_clk_register_pllc()
2174 p_tohw++; in tegra_clk_register_pllc()
2177 if (!p_tohw->pdiv) { in tegra_clk_register_pllc()
2561 const struct pdiv_map *p_tohw = pll_params->pdiv_tohw; in tegra_clk_register_pllc_tegra210() local
2565 if (!p_tohw) in tegra_clk_register_pllc_tegra210()