Lines Matching refs:pi2s_tx
101 static int codec_init(const void *blob, struct i2stx_info *pi2s_tx) in codec_init() argument
124 ret = wm8994_init(blob, pi2s_tx->id + 1, in codec_init()
125 pi2s_tx->samplingrate, in codec_init()
126 (pi2s_tx->samplingrate * (pi2s_tx->rfs)), in codec_init()
127 pi2s_tx->bitspersample, pi2s_tx->channels); in codec_init()
129 ret = max98095_init(blob, pi2s_tx->id + 1, in codec_init()
130 pi2s_tx->samplingrate, in codec_init()
131 (pi2s_tx->samplingrate * (pi2s_tx->rfs)), in codec_init()
132 pi2s_tx->bitspersample); in codec_init()
149 struct i2stx_info *pi2s_tx = &g_i2stx_pri; in sound_init() local
152 if (get_sound_i2s_values(pi2s_tx, blob) < 0) { in sound_init()
157 if (codec_init(blob, pi2s_tx) < 0) { in sound_init()
162 ret = i2s_tx_init(pi2s_tx); in sound_init()