Lines Matching full:clk_div
159 int clk_div; member
452 dev->clk_div = div; in davinci_i2s_dai_set_clkdiv()
463 unsigned int clk_div, freq, framesize; in davinci_i2s_hw_params() local
518 clk_div = 256; in davinci_i2s_hw_params()
520 framesize = (freq / (--clk_div)) / in davinci_i2s_hw_params()
524 (clk_div)); in davinci_i2s_hw_params()
525 clk_div--; in davinci_i2s_hw_params()
529 clk_div = freq / (mcbsp_word_length * 16) / in davinci_i2s_hw_params()
534 clk_div &= 0xFF; in davinci_i2s_hw_params()
535 srgr |= clk_div; in davinci_i2s_hw_params()
539 clk_div = dev->clk_div - 1; in davinci_i2s_hw_params()
542 clk_div &= 0xFF; in davinci_i2s_hw_params()
543 srgr |= clk_div; in davinci_i2s_hw_params()
553 clk_div = freq / (params->rate_num * params->rate_den) in davinci_i2s_hw_params()
556 clk_div = freq / (mcbsp_word_length * 16) / in davinci_i2s_hw_params()
559 clk_div &= 0xFF; in davinci_i2s_hw_params()
560 srgr |= clk_div; in davinci_i2s_hw_params()