Home
last modified time | relevance | path

Searched refs:pi2s_tx (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/sound/
H A Dsamsung-i2s.c259 int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned int *data, in i2s_transfer_tx_data() argument
265 (struct i2s_reg *)pi2s_tx->base_address; in i2s_transfer_tx_data()
297 int i2s_tx_init(struct i2stx_info *pi2s_tx) in i2s_tx_init() argument
301 (struct i2s_reg *)pi2s_tx->base_address; in i2s_tx_init()
302 if (pi2s_tx->id == 0) { in i2s_tx_init()
307 ret = set_epll_clk(pi2s_tx->samplingrate * pi2s_tx->rfs * 4); in i2s_tx_init()
308 } else if (pi2s_tx->id == 1) { in i2s_tx_init()
313 ret = set_epll_clk(pi2s_tx->audio_pll_clk); in i2s_tx_init()
315 debug("%s: unsupported i2s-%d bus\n", __func__, pi2s_tx->id); in i2s_tx_init()
325 ret = set_i2s_clk_source(pi2s_tx->id); in i2s_tx_init()
[all …]
H A Dsound-i2s.c101 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
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Di2s.h100 int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned *data,
110 int i2s_tx_init(struct i2stx_info *pi2s_tx);