Lines Matching refs:sysclk_freq

98 	int	sysclk_freq;  member
677 mcasp->sysclk_freq = freq; in davinci_mcasp_set_sysclk()
1077 unsigned int sysclk_freq, in davinci_mcasp_calc_clk_div() argument
1081 int div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1082 int rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1092 sysclk_freq /= aux_div; in davinci_mcasp_calc_clk_div()
1093 div = sysclk_freq / bclk_freq; in davinci_mcasp_calc_clk_div()
1094 rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div()
1097 sysclk_freq); in davinci_mcasp_calc_clk_div()
1103 ((sysclk_freq / div) - bclk_freq) > in davinci_mcasp_calc_clk_div()
1104 (bclk_freq - (sysclk_freq / (div+1)))) { in davinci_mcasp_calc_clk_div()
1211 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_hw_params()
1219 davinci_mcasp_calc_clk_div(mcasp, mcasp->sysclk_freq, in davinci_mcasp_hw_params()
1345 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_rate() local
1349 sysclk_freq = davinci_mcasp_dai_rates[i] * in davinci_mcasp_hw_rule_rate()
1352 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_rate()
1354 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_rate()
1389 unsigned int sysclk_freq; in davinci_mcasp_hw_rule_format() local
1393 sysclk_freq = rate * in davinci_mcasp_hw_rule_format()
1396 sysclk_freq = rd->mcasp->sysclk_freq; in davinci_mcasp_hw_rule_format()
1401 ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, in davinci_mcasp_hw_rule_format()
1522 if (mcasp->bclk_master && mcasp->bclk_div == 0 && mcasp->sysclk_freq) { in davinci_mcasp_startup()