Home
last modified time | relevance | path

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

/drivers/clk/zte/
Dclk.c342 u32 reg_frac, u32 reg_int, in audio_calc_rate() argument
347 m = reg_frac & 0xffff; in audio_calc_rate()
348 n = (reg_frac >> 16) & 0xffff; in audio_calc_rate()
360 unsigned int reg_int, reg_frac; in audio_calc_reg() local
385 reg_frac = m | (n << 16); in audio_calc_reg()
389 div_table->frac_reg = reg_frac; in audio_calc_reg()
396 u32 reg_frac, reg_int; in zx_audio_div_recalc_rate() local
398 reg_frac = readl_relaxed(zx_audio_div->reg_base); in zx_audio_div_recalc_rate()
401 return audio_calc_rate(zx_audio_div, reg_frac, reg_int, parent_rate); in zx_audio_div_recalc_rate()