Lines Matching refs:sysclk_freq
104 int sysclk_freq; member
704 mcasp->sysclk_freq = freq; in davinci_mcasp_set_sysclk()
1123 unsigned int sysclk_freq, in davinci_mcasp_calc_clk_div() argument
1127 int div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1128 int rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1138 sysclk_freq /= aux_div; in davinci_mcasp_calc_clk_div()
1139 div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1140 rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1143 sysclk_freq); in davinci_mcasp_calc_clk_div()
1149 ((sysclk_freq / div) - bclk_freq) > in davinci_mcasp_calc_clk_div()
1150 (bclk_freq - (sysclk_freq / (div+1)))) { in davinci_mcasp_calc_clk_div()
1257 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_hw_params()
1271 davinci_mcasp_calc_clk_div(mcasp, mcasp->sysclk_freq, in davinci_mcasp_hw_params()
1399 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_rate() local
1403 sysclk_freq = davinci_mcasp_dai_rates[i] * in davinci_mcasp_hw_rule_rate()
1406 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_rate()
1408 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_rate()
1444 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_format() local
1448 sysclk_freq = rate * in davinci_mcasp_hw_rule_format()
1451 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_format()
1456 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_format()
1577 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_startup()