Searched refs:pclk_hz (Results 1 – 2 of 2) sorted by relevance
105 unsigned long pclk_hz; in rzv2m_i2c_clock_calculate() local111 pclk_hz = clk_get_rate(priv->clk); in rzv2m_i2c_clock_calculate()112 total_pclks = pclk_hz / t.bus_freq_hz; in rzv2m_i2c_clock_calculate()115 trf_pclks = mul_u64_u32_div(pclk_hz, trf_ns, NSEC_PER_SEC); in rzv2m_i2c_clock_calculate()146 hold_time_ns = div64_ul((u64)(priv->iicb0wl >> 2) * NSEC_PER_SEC, pclk_hz); in rzv2m_i2c_clock_calculate()
2655 unsigned long pclk_hz = clk_get_rate(bp->pclk); in gem_mdc_clk_div() local2657 if (pclk_hz <= 20000000) in gem_mdc_clk_div()2659 else if (pclk_hz <= 40000000) in gem_mdc_clk_div()2661 else if (pclk_hz <= 80000000) in gem_mdc_clk_div()2663 else if (pclk_hz <= 120000000) in gem_mdc_clk_div()2665 else if (pclk_hz <= 160000000) in gem_mdc_clk_div()2667 else if (pclk_hz <= 240000000) in gem_mdc_clk_div()2669 else if (pclk_hz <= 320000000) in gem_mdc_clk_div()2680 unsigned long pclk_hz; in macb_mdc_clk_div() local2685 pclk_hz = clk_get_rate(bp->pclk); in macb_mdc_clk_div()[all …]