Home
last modified time | relevance | path

Searched refs:cif_conf (Results 1 – 10 of 10) sorted by relevance

/linux/sound/soc/tegra/
H A Dtegra186_dspk.c219 struct tegra_cif_conf cif_conf; in tegra186_dspk_hw_params() local
223 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra186_dspk_hw_params()
226 cif_conf.audio_ch = channels; in tegra186_dspk_hw_params()
232 cif_conf.client_ch = 1; in tegra186_dspk_hw_params()
235 cif_conf.client_ch = 2; in tegra186_dspk_hw_params()
244 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra186_dspk_hw_params()
245 cif_conf.client_bits = TEGRA_ACIF_BITS_16; in tegra186_dspk_hw_params()
249 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra186_dspk_hw_params()
250 cif_conf.client_bits = TEGRA_ACIF_BITS_24; in tegra186_dspk_hw_params()
260 max_th = (TEGRA186_DSPK_RX_FIFO_DEPTH / cif_conf.audio_ch) - 1; in tegra186_dspk_hw_params()
[all …]
H A Dtegra210_dmic.c77 struct tegra_cif_conf cif_conf; in tegra210_dmic_hw_params() local
81 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_dmic_hw_params()
85 cif_conf.audio_ch = channels; in tegra210_dmic_hw_params()
90 cif_conf.client_ch = 1; in tegra210_dmic_hw_params()
93 cif_conf.client_ch = 2; in tegra210_dmic_hw_params()
139 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra210_dmic_hw_params()
143 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra210_dmic_hw_params()
150 cif_conf.client_bits = TEGRA_ACIF_BITS_24; in tegra210_dmic_hw_params()
151 cif_conf.mono_conv = dmic->mono_to_stereo; in tegra210_dmic_hw_params()
152 cif_conf.stereo_conv = dmic->stereo_to_mono; in tegra210_dmic_hw_params()
[all …]
H A Dtegra210_i2s.c634 struct tegra_cif_conf cif_conf; in tegra210_i2s_hw_params() local
637 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_i2s_hw_params()
646 cif_conf.audio_ch = channels; in tegra210_i2s_hw_params()
647 cif_conf.client_ch = channels; in tegra210_i2s_hw_params()
649 cif_conf.client_ch = i2s->client_channels; in tegra210_i2s_hw_params()
654 cif_conf.audio_bits = TEGRA_ACIF_BITS_8; in tegra210_i2s_hw_params()
657 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra210_i2s_hw_params()
661 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra210_i2s_hw_params()
680 cif_conf.client_bits = TEGRA_ACIF_BITS_8; in tegra210_i2s_hw_params()
685 cif_conf.client_bits = TEGRA_ACIF_BITS_16; in tegra210_i2s_hw_params()
[all …]
H A Dtegra210_ope.c37 struct tegra_cif_conf cif_conf; in tegra210_ope_set_audio_cif() local
39 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_ope_set_audio_cif()
57 cif_conf.audio_ch = channels; in tegra210_ope_set_audio_cif()
58 cif_conf.client_ch = channels; in tegra210_ope_set_audio_cif()
59 cif_conf.audio_bits = audio_bits; in tegra210_ope_set_audio_cif()
60 cif_conf.client_bits = audio_bits; in tegra210_ope_set_audio_cif()
62 tegra_set_cif(ope->regmap, reg, &cif_conf); in tegra210_ope_set_audio_cif()
H A Dtegra210_admaif.c406 struct tegra_cif_conf cif_conf; in tegra_admaif_hw_params() local
410 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra_admaif_hw_params()
414 cif_conf.audio_bits = TEGRA_ACIF_BITS_8; in tegra_admaif_hw_params()
415 cif_conf.client_bits = TEGRA_ACIF_BITS_8; in tegra_admaif_hw_params()
419 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra_admaif_hw_params()
420 cif_conf.client_bits = TEGRA_ACIF_BITS_16; in tegra_admaif_hw_params()
424 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra_admaif_hw_params()
425 cif_conf.client_bits = TEGRA_ACIF_BITS_24; in tegra_admaif_hw_params()
429 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra_admaif_hw_params()
430 cif_conf.client_bits = TEGRA_ACIF_BITS_32; in tegra_admaif_hw_params()
[all …]
H A Dtegra210_adx.c150 struct tegra_cif_conf cif_conf; in tegra210_adx_set_audio_cif() local
153 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_adx_set_audio_cif()
177 cif_conf.audio_ch = channels; in tegra210_adx_set_audio_cif()
178 cif_conf.client_ch = channels; in tegra210_adx_set_audio_cif()
179 cif_conf.audio_bits = audio_bits; in tegra210_adx_set_audio_cif()
180 cif_conf.client_bits = audio_bits; in tegra210_adx_set_audio_cif()
183 tegra264_set_cif(adx->regmap, reg, &cif_conf); in tegra210_adx_set_audio_cif()
185 tegra_set_cif(adx->regmap, reg, &cif_conf); in tegra210_adx_set_audio_cif()
H A Dtegra210_amx.c167 struct tegra_cif_conf cif_conf; in tegra210_amx_set_audio_cif() local
169 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_amx_set_audio_cif()
190 cif_conf.audio_ch = channels; in tegra210_amx_set_audio_cif()
191 cif_conf.client_ch = channels; in tegra210_amx_set_audio_cif()
192 cif_conf.audio_bits = audio_bits; in tegra210_amx_set_audio_cif()
193 cif_conf.client_bits = audio_bits; in tegra210_amx_set_audio_cif()
196 tegra264_set_cif(amx->regmap, reg, &cif_conf); in tegra210_amx_set_audio_cif()
198 tegra_set_cif(amx->regmap, reg, &cif_conf); in tegra210_amx_set_audio_cif()
H A Dtegra210_mvc.c433 struct tegra_cif_conf cif_conf; in tegra210_mvc_set_audio_cif() local
435 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_mvc_set_audio_cif()
454 cif_conf.audio_ch = channels; in tegra210_mvc_set_audio_cif()
455 cif_conf.client_ch = channels; in tegra210_mvc_set_audio_cif()
456 cif_conf.audio_bits = audio_bits; in tegra210_mvc_set_audio_cif()
457 cif_conf.client_bits = audio_bits; in tegra210_mvc_set_audio_cif()
459 tegra_set_cif(mvc->regmap, reg, &cif_conf); in tegra210_mvc_set_audio_cif()
H A Dtegra210_mixer.c462 struct tegra_cif_conf cif_conf; in tegra210_mixer_set_audio_cif() local
464 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_mixer_set_audio_cif()
480 cif_conf.audio_ch = channels; in tegra210_mixer_set_audio_cif()
481 cif_conf.client_ch = channels; in tegra210_mixer_set_audio_cif()
482 cif_conf.audio_bits = audio_bits; in tegra210_mixer_set_audio_cif()
483 cif_conf.client_bits = audio_bits; in tegra210_mixer_set_audio_cif()
487 &cif_conf); in tegra210_mixer_set_audio_cif()
H A Dtegra186_asrc.c132 struct tegra_cif_conf cif_conf; in tegra186_asrc_set_audio_cif() local
134 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra186_asrc_set_audio_cif()
150 cif_conf.audio_ch = channels; in tegra186_asrc_set_audio_cif()
151 cif_conf.client_ch = channels; in tegra186_asrc_set_audio_cif()
152 cif_conf.audio_bits = audio_bits; in tegra186_asrc_set_audio_cif()
153 cif_conf.client_bits = TEGRA_ACIF_BITS_24; in tegra186_asrc_set_audio_cif()
155 tegra_set_cif(asrc->regmap, reg, &cif_conf); in tegra186_asrc_set_audio_cif()