Searched refs:clk_len (Results 1 – 2 of 2) sorted by relevance
80 unsigned long clk_len = clk_mhz * clk_mul; in rcar_gyroadc_hw_init() local87 if (clk_len & 1) in rcar_gyroadc_hw_init()88 clk_len++; in rcar_gyroadc_hw_init()99 writel(clk_len, priv->regs + RCAR_GYROADC_CLOCK_LENGTH); in rcar_gyroadc_hw_init()
422 unsigned int clk_sel, clk_len, best_clk = 0; in lpg_calc_freq() local452 clk_len = ARRAY_SIZE(lpg_clk_rates_hi_res); in lpg_calc_freq()458 clk_len = ARRAY_SIZE(lpg_clk_rates); in lpg_calc_freq()465 clk_rate_arr[clk_len - 1]); in lpg_calc_freq()486 for (clk_sel = 1; clk_sel < clk_len; clk_sel++) { in lpg_calc_freq()