Lines Matching refs:i2s_config_reg
537 static int sii902x_select_mclk_div(u8 *i2s_config_reg, unsigned int rate,
556 *i2s_config_reg |= nearest << 4;
579 u8 i2s_config_reg = SII902X_TPI_I2S_SD_DIRECTION_MSB_FIRST;
596 i2s_config_reg |= SII902X_TPI_I2S_FIRST_BIT_SHIFT_YES |
600 i2s_config_reg |= SII902X_TPI_I2S_SD_JUSTIFY_RIGHT;
603 i2s_config_reg |= SII902X_TPI_I2S_SD_JUSTIFY_LEFT;
612 i2s_config_reg |= SII902X_TPI_I2S_SCK_EDGE_FALLING;
614 i2s_config_reg |= SII902X_TPI_I2S_SCK_EDGE_RISING;
617 i2s_config_reg |= SII902X_TPI_I2S_WS_POLARITY_LOW;
619 i2s_config_reg |= SII902X_TPI_I2S_WS_POLARITY_HIGH;
658 ret = sii902x_select_mclk_div(&i2s_config_reg,
674 i2s_config_reg);