Lines Matching refs:p_tohw
362 struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _p_div_to_hw() local
364 if (p_tohw) { in _p_div_to_hw()
365 while (p_tohw->pdiv) { in _p_div_to_hw()
366 if (p_div <= p_tohw->pdiv) in _p_div_to_hw()
367 return p_tohw->hw_val; in _p_div_to_hw()
368 p_tohw++; in _p_div_to_hw()
378 struct pdiv_map *p_tohw = pll->params->pdiv_tohw; in _hw_to_p_div() local
380 if (p_tohw) { in _hw_to_p_div()
381 while (p_tohw->pdiv) { in _hw_to_p_div()
382 if (p_div_hw == p_tohw->hw_val) in _hw_to_p_div()
383 return p_tohw->pdiv; in _hw_to_p_div()
384 p_tohw++; in _hw_to_p_div()
1703 struct pdiv_map *p_tohw = pll_params->pdiv_tohw; in tegra_clk_register_pllc() local
1708 if (!p_tohw) in tegra_clk_register_pllc()
1739 while (p_tohw->pdiv) { in tegra_clk_register_pllc()
1740 if (p_tohw->pdiv == 2) { in tegra_clk_register_pllc()
1741 cfg.p = p_tohw->hw_val; in tegra_clk_register_pllc()
1744 p_tohw++; in tegra_clk_register_pllc()
1747 if (!p_tohw->pdiv) { in tegra_clk_register_pllc()