Home
last modified time | relevance | path

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

/linux/sound/soc/tegra/
H A Dtegra30_ahub.c109 struct tegra30_ahub_cif_conf cif_conf; in tegra30_ahub_allocate_rx_fifo() local
135 cif_conf.threshold = 0; in tegra30_ahub_allocate_rx_fifo()
136 cif_conf.audio_channels = 2; in tegra30_ahub_allocate_rx_fifo()
137 cif_conf.client_channels = 2; in tegra30_ahub_allocate_rx_fifo()
138 cif_conf.audio_bits = TEGRA30_AUDIOCIF_BITS_16; in tegra30_ahub_allocate_rx_fifo()
139 cif_conf.client_bits = TEGRA30_AUDIOCIF_BITS_16; in tegra30_ahub_allocate_rx_fifo()
140 cif_conf.expand = 0; in tegra30_ahub_allocate_rx_fifo()
141 cif_conf.stereo_conv = 0; in tegra30_ahub_allocate_rx_fifo()
142 cif_conf.replicate = 0; in tegra30_ahub_allocate_rx_fifo()
143 cif_conf.direction = TEGRA30_AUDIOCIF_DIRECTION_RX; in tegra30_ahub_allocate_rx_fifo()
[all …]
H A Dtegra186_dspk.c220 struct tegra_cif_conf cif_conf; in tegra186_dspk_hw_params() local
224 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra186_dspk_hw_params()
227 cif_conf.audio_ch = channels; in tegra186_dspk_hw_params()
233 cif_conf.client_ch = 1; in tegra186_dspk_hw_params()
236 cif_conf.client_ch = 2; in tegra186_dspk_hw_params()
245 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra186_dspk_hw_params()
246 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 Dtegra30_i2s.c141 struct tegra30_ahub_cif_conf cif_conf; in tegra30_i2s_hw_params() local
180 cif_conf.threshold = 0; in tegra30_i2s_hw_params()
181 cif_conf.audio_channels = 2; in tegra30_i2s_hw_params()
182 cif_conf.client_channels = 2; in tegra30_i2s_hw_params()
183 cif_conf.audio_bits = TEGRA30_AUDIOCIF_BITS_16; in tegra30_i2s_hw_params()
184 cif_conf.client_bits = TEGRA30_AUDIOCIF_BITS_16; in tegra30_i2s_hw_params()
185 cif_conf.expand = 0; in tegra30_i2s_hw_params()
186 cif_conf.stereo_conv = 0; in tegra30_i2s_hw_params()
187 cif_conf.replicate = 0; in tegra30_i2s_hw_params()
188 cif_conf.truncate = 0; in tegra30_i2s_hw_params()
[all …]
H A Dtegra210_dmic.c78 struct tegra_cif_conf cif_conf; in tegra210_dmic_hw_params() local
82 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_dmic_hw_params()
86 cif_conf.audio_ch = channels; in tegra210_dmic_hw_params()
91 cif_conf.client_ch = 1; in tegra210_dmic_hw_params()
94 cif_conf.client_ch = 2; in tegra210_dmic_hw_params()
140 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.c607 struct tegra_cif_conf cif_conf; in tegra210_i2s_hw_params() local
610 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_i2s_hw_params()
619 cif_conf.audio_ch = channels; in tegra210_i2s_hw_params()
620 cif_conf.client_ch = channels; in tegra210_i2s_hw_params()
622 cif_conf.client_ch = i2s->client_channels; in tegra210_i2s_hw_params()
627 cif_conf.audio_bits = TEGRA_ACIF_BITS_8; in tegra210_i2s_hw_params()
630 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra210_i2s_hw_params()
633 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra210_i2s_hw_params()
652 cif_conf.client_bits = TEGRA_ACIF_BITS_8; in tegra210_i2s_hw_params()
657 cif_conf.client_bits = TEGRA_ACIF_BITS_16; in tegra210_i2s_hw_params()
[all …]
H A Dtegra210_ope.c38 struct tegra_cif_conf cif_conf; in tegra210_ope_set_audio_cif() local
40 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.c271 struct tegra_cif_conf cif_conf; in tegra_admaif_hw_params() local
275 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra_admaif_hw_params()
279 cif_conf.audio_bits = TEGRA_ACIF_BITS_8; in tegra_admaif_hw_params()
280 cif_conf.client_bits = TEGRA_ACIF_BITS_8; in tegra_admaif_hw_params()
284 cif_conf.audio_bits = TEGRA_ACIF_BITS_16; in tegra_admaif_hw_params()
285 cif_conf.client_bits = TEGRA_ACIF_BITS_16; in tegra_admaif_hw_params()
289 cif_conf.audio_bits = TEGRA_ACIF_BITS_32; in tegra_admaif_hw_params()
290 cif_conf.client_bits = TEGRA_ACIF_BITS_32; in tegra_admaif_hw_params()
299 cif_conf.client_ch = channels; in tegra_admaif_hw_params()
300 cif_conf.audio_ch = channels; in tegra_admaif_hw_params()
[all …]
H A Dtegra210_adx.c115 struct tegra_cif_conf cif_conf; in tegra210_adx_set_audio_cif() local
118 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_adx_set_audio_cif()
137 cif_conf.audio_ch = channels; in tegra210_adx_set_audio_cif()
138 cif_conf.client_ch = channels; in tegra210_adx_set_audio_cif()
139 cif_conf.audio_bits = audio_bits; in tegra210_adx_set_audio_cif()
140 cif_conf.client_bits = audio_bits; in tegra210_adx_set_audio_cif()
142 tegra_set_cif(adx->regmap, reg, &cif_conf); in tegra210_adx_set_audio_cif()
H A Dtegra210_amx.c134 struct tegra_cif_conf cif_conf; in tegra210_amx_set_audio_cif() local
136 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_amx_set_audio_cif()
154 cif_conf.audio_ch = channels; in tegra210_amx_set_audio_cif()
155 cif_conf.client_ch = channels; in tegra210_amx_set_audio_cif()
156 cif_conf.audio_bits = audio_bits; in tegra210_amx_set_audio_cif()
157 cif_conf.client_bits = audio_bits; in tegra210_amx_set_audio_cif()
159 tegra_set_cif(amx->regmap, reg, &cif_conf); in tegra210_amx_set_audio_cif()
H A Dtegra210_mixer.c241 struct tegra_cif_conf cif_conf; in tegra210_mixer_set_audio_cif() local
243 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_mixer_set_audio_cif()
258 cif_conf.audio_ch = channels; in tegra210_mixer_set_audio_cif()
259 cif_conf.client_ch = channels; in tegra210_mixer_set_audio_cif()
260 cif_conf.audio_bits = audio_bits; in tegra210_mixer_set_audio_cif()
261 cif_conf.client_bits = audio_bits; in tegra210_mixer_set_audio_cif()
265 &cif_conf); in tegra210_mixer_set_audio_cif()
H A Dtegra210_sfc.c3126 struct tegra_cif_conf cif_conf; in tegra210_sfc_set_audio_cif() local
3128 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_sfc_set_audio_cif()
3143 cif_conf.audio_ch = channels; in tegra210_sfc_set_audio_cif()
3144 cif_conf.client_ch = channels; in tegra210_sfc_set_audio_cif()
3145 cif_conf.audio_bits = audio_bits; in tegra210_sfc_set_audio_cif()
3146 cif_conf.client_bits = TEGRA_ACIF_BITS_32; in tegra210_sfc_set_audio_cif()
3153 cif_conf.stereo_conv = sfc->stereo_to_mono[path]; in tegra210_sfc_set_audio_cif()
3154 cif_conf.mono_conv = sfc->mono_to_stereo[path]; in tegra210_sfc_set_audio_cif()
3156 tegra_set_cif(sfc->regmap, reg, &cif_conf); in tegra210_sfc_set_audio_cif()
H A Dtegra210_mvc.c434 struct tegra_cif_conf cif_conf; in tegra210_mvc_set_audio_cif() local
436 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra210_mvc_set_audio_cif()
451 cif_conf.audio_ch = channels; in tegra210_mvc_set_audio_cif()
452 cif_conf.client_ch = channels; in tegra210_mvc_set_audio_cif()
453 cif_conf.audio_bits = audio_bits; in tegra210_mvc_set_audio_cif()
454 cif_conf.client_bits = audio_bits; in tegra210_mvc_set_audio_cif()
456 tegra_set_cif(mvc->regmap, reg, &cif_conf); in tegra210_mvc_set_audio_cif()
H A Dtegra186_asrc.c134 struct tegra_cif_conf cif_conf; in tegra186_asrc_set_audio_cif() local
136 memset(&cif_conf, 0, sizeof(struct tegra_cif_conf)); in tegra186_asrc_set_audio_cif()
152 cif_conf.audio_ch = channels; in tegra186_asrc_set_audio_cif()
153 cif_conf.client_ch = channels; in tegra186_asrc_set_audio_cif()
154 cif_conf.audio_bits = audio_bits; in tegra186_asrc_set_audio_cif()
155 cif_conf.client_bits = TEGRA_ACIF_BITS_24; in tegra186_asrc_set_audio_cif()
157 tegra_set_cif(asrc->regmap, reg, &cif_conf); in tegra186_asrc_set_audio_cif()