Lines Matching refs:srgr
224 unsigned int srgr; in davinci_i2s_set_dai_fmt() local
227 srgr = DAVINCI_MCBSP_SRGR_FSGM | in davinci_i2s_set_dai_fmt()
358 davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SRGR_REG, srgr); in davinci_i2s_set_dai_fmt()
383 unsigned int rcr, xcr, srgr, clk_div, freq, framesize; in davinci_i2s_hw_params() local
405 srgr = DAVINCI_MCBSP_SRGR_FSGM | in davinci_i2s_hw_params()
407 srgr |= DAVINCI_MCBSP_SRGR_FWID(mcbsp_word_length * in davinci_i2s_hw_params()
418 srgr |= DAVINCI_MCBSP_SRGR_FPER(framesize - 1); in davinci_i2s_hw_params()
423 srgr |= DAVINCI_MCBSP_SRGR_FPER(mcbsp_word_length * in davinci_i2s_hw_params()
427 srgr |= clk_div; in davinci_i2s_hw_params()
430 srgr = DAVINCI_MCBSP_SRGR_FSGM; in davinci_i2s_hw_params()
432 srgr |= DAVINCI_MCBSP_SRGR_FWID(mcbsp_word_length * 8 - 1); in davinci_i2s_hw_params()
433 srgr |= DAVINCI_MCBSP_SRGR_FPER(mcbsp_word_length * 16 - 1); in davinci_i2s_hw_params()
435 srgr |= clk_div; in davinci_i2s_hw_params()
440 srgr = DAVINCI_MCBSP_SRGR_FSGM; in davinci_i2s_hw_params()
441 srgr |= DAVINCI_MCBSP_SRGR_FWID(snd_interval_value(i) - 1); in davinci_i2s_hw_params()
446 srgr |= DAVINCI_MCBSP_SRGR_FPER(snd_interval_value(i) - 1); in davinci_i2s_hw_params()
451 davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SRGR_REG, srgr); in davinci_i2s_hw_params()
519 pr_debug("%s - %d srgr=%X\n", __func__, __LINE__, srgr); in davinci_i2s_hw_params()