Lines Matching refs:i2s_config_reg
541 static int sii902x_select_mclk_div(u8 *i2s_config_reg, unsigned int rate, in sii902x_select_mclk_div() argument
560 *i2s_config_reg |= nearest << 4; in sii902x_select_mclk_div()
583 u8 i2s_config_reg = SII902X_TPI_I2S_SD_DIRECTION_MSB_FIRST; in sii902x_audio_hw_params() local
600 i2s_config_reg |= SII902X_TPI_I2S_FIRST_BIT_SHIFT_YES | in sii902x_audio_hw_params()
604 i2s_config_reg |= SII902X_TPI_I2S_SD_JUSTIFY_RIGHT; in sii902x_audio_hw_params()
607 i2s_config_reg |= SII902X_TPI_I2S_SD_JUSTIFY_LEFT; in sii902x_audio_hw_params()
616 i2s_config_reg |= SII902X_TPI_I2S_SCK_EDGE_FALLING; in sii902x_audio_hw_params()
618 i2s_config_reg |= SII902X_TPI_I2S_SCK_EDGE_RISING; in sii902x_audio_hw_params()
621 i2s_config_reg |= SII902X_TPI_I2S_WS_POLARITY_LOW; in sii902x_audio_hw_params()
623 i2s_config_reg |= SII902X_TPI_I2S_WS_POLARITY_HIGH; in sii902x_audio_hw_params()
662 ret = sii902x_select_mclk_div(&i2s_config_reg, in sii902x_audio_hw_params()
678 i2s_config_reg); in sii902x_audio_hw_params()