Lines Matching refs:pi2s_tx
100 static int codec_init(const void *blob, struct i2stx_info *pi2s_tx) in codec_init() argument
123 ret = wm8994_init(blob, pi2s_tx->id + 1, in codec_init()
124 pi2s_tx->samplingrate, in codec_init()
125 (pi2s_tx->samplingrate * (pi2s_tx->rfs)), in codec_init()
126 pi2s_tx->bitspersample, pi2s_tx->channels); in codec_init()
128 ret = max98095_init(blob, pi2s_tx->id + 1, in codec_init()
129 pi2s_tx->samplingrate, in codec_init()
130 (pi2s_tx->samplingrate * (pi2s_tx->rfs)), in codec_init()
131 pi2s_tx->bitspersample); in codec_init()
148 struct i2stx_info *pi2s_tx = &g_i2stx_pri; in sound_init() local
151 if (get_sound_i2s_values(pi2s_tx, blob) < 0) { in sound_init()
156 if (codec_init(blob, pi2s_tx) < 0) { in sound_init()
161 ret = i2s_tx_init(pi2s_tx); in sound_init()