Lines Matching refs:pclk_hz
2110 unsigned long pclk_hz = clk_get_rate(bp->pclk); in gem_mdc_clk_div() local
2112 if (pclk_hz <= 20000000) in gem_mdc_clk_div()
2114 else if (pclk_hz <= 40000000) in gem_mdc_clk_div()
2116 else if (pclk_hz <= 80000000) in gem_mdc_clk_div()
2118 else if (pclk_hz <= 120000000) in gem_mdc_clk_div()
2120 else if (pclk_hz <= 160000000) in gem_mdc_clk_div()
2131 unsigned long pclk_hz; in macb_mdc_clk_div() local
2136 pclk_hz = clk_get_rate(bp->pclk); in macb_mdc_clk_div()
2137 if (pclk_hz <= 20000000) in macb_mdc_clk_div()
2139 else if (pclk_hz <= 40000000) in macb_mdc_clk_div()
2141 else if (pclk_hz <= 80000000) in macb_mdc_clk_div()