Lines Matching refs:macb_hz
806 unsigned long macb_hz = macb->pclk_rate; in macb_mdc_clk_div() local
808 unsigned long macb_hz = get_macb_pclk_rate(id); in macb_mdc_clk_div() local
811 if (macb_hz < 20000000) in macb_mdc_clk_div()
813 else if (macb_hz < 40000000) in macb_mdc_clk_div()
815 else if (macb_hz < 80000000) in macb_mdc_clk_div()
828 unsigned long macb_hz = macb->pclk_rate; in gem_mdc_clk_div() local
830 unsigned long macb_hz = get_macb_pclk_rate(id); in gem_mdc_clk_div() local
833 if (macb_hz < 20000000) in gem_mdc_clk_div()
835 else if (macb_hz < 40000000) in gem_mdc_clk_div()
837 else if (macb_hz < 80000000) in gem_mdc_clk_div()
839 else if (macb_hz < 120000000) in gem_mdc_clk_div()
841 else if (macb_hz < 160000000) in gem_mdc_clk_div()