Lines Matching refs:sysclk_freq

104 	int	sysclk_freq;  member
704 mcasp->sysclk_freq = freq; in davinci_mcasp_set_sysclk()
1124 unsigned int sysclk_freq, in davinci_mcasp_calc_clk_div() argument
1128 int div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1129 int rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1139 sysclk_freq /= aux_div; in davinci_mcasp_calc_clk_div()
1140 div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1141 rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1144 sysclk_freq); in davinci_mcasp_calc_clk_div()
1150 ((sysclk_freq / div) - bclk_freq) > in davinci_mcasp_calc_clk_div()
1151 (bclk_freq - (sysclk_freq / (div+1)))) { in davinci_mcasp_calc_clk_div()
1258 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_hw_params()
1272 davinci_mcasp_calc_clk_div(mcasp, mcasp->sysclk_freq, in davinci_mcasp_hw_params()
1398 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_rate() local
1402 sysclk_freq = davinci_mcasp_dai_rates[i] * in davinci_mcasp_hw_rule_rate()
1405 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_rate()
1407 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_rate()
1442 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_format() local
1446 sysclk_freq = rate * in davinci_mcasp_hw_rule_format()
1449 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_format()
1454 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_format()
1575 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_startup()