Home
last modified time | relevance | path

Searched refs:clk_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Drcar-gyroadc.c80 unsigned long clk_len = clk_mhz * clk_mul; in rcar_gyroadc_hw_init() local
87 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()
/linux-6.12.1/drivers/leds/rgb/
Dleds-qcom-lpg.c422 unsigned int clk_sel, clk_len, best_clk = 0; in lpg_calc_freq() local
452 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()