Searched refs:pi2s_tx (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/drivers/sound/ |
D | samsung-i2s.c | 258 int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned int *data, in i2s_transfer_tx_data() argument 264 (struct i2s_reg *)pi2s_tx->base_address; in i2s_transfer_tx_data() 296 int i2s_tx_init(struct i2stx_info *pi2s_tx) in i2s_tx_init() argument 300 (struct i2s_reg *)pi2s_tx->base_address; in i2s_tx_init() 301 if (pi2s_tx->id == 0) { in i2s_tx_init() 306 ret = set_epll_clk(pi2s_tx->samplingrate * pi2s_tx->rfs * 4); in i2s_tx_init() 307 } else if (pi2s_tx->id == 1) { in i2s_tx_init() 312 ret = set_epll_clk(pi2s_tx->audio_pll_clk); in i2s_tx_init() 314 debug("%s: unsupported i2s-%d bus\n", __func__, pi2s_tx->id); in i2s_tx_init() 324 ret = set_i2s_clk_source(pi2s_tx->id); in i2s_tx_init() [all …]
|
D | sound-i2s.c | 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 [all …]
|
/external/u-boot/include/ |
D | i2s.h | 99 int i2s_transfer_tx_data(struct i2stx_info *pi2s_tx, unsigned *data, 109 int i2s_tx_init(struct i2stx_info *pi2s_tx);
|