Home
last modified time | relevance | path

Searched refs:slot_width (Results 1 – 25 of 30) sorted by relevance

12

/sound/soc/codecs/
Dadau1977.c128 unsigned int slot_width; member
300 unsigned int slot_width; in adau1977_hw_params() local
339 slot_width = 16; in adau1977_hw_params()
344 slot_width = 32; in adau1977_hw_params()
351 if (adau1977->slot_width) in adau1977_hw_params()
352 slot_width = adau1977->slot_width; in adau1977_hw_params()
354 if (slot_width == 16) in adau1977_hw_params()
510 adau1977->slot_width = 0; in adau1977_set_tdm_slot()
598 adau1977->slot_width = width; in adau1977_set_tdm_slot()
712 if (adau1977->slot_width == 16) in adau1977_startup()
[all …]
Dmc13783.c309 int slot_width) in mc13783_set_tdm_slot_dac() argument
354 int slot_width) in mc13783_set_tdm_slot_codec() argument
376 int slot_width) in mc13783_set_tdm_slot_sync() argument
381 slot_width); in mc13783_set_tdm_slot_sync()
386 slot_width); in mc13783_set_tdm_slot_sync()
Dtlv320aic3x.c83 unsigned int slot_width; member
1042 int width = aic3x->slot_width; in aic3x_hw_params()
1191 int width = aic3x->slot_width; in aic3x_prepare()
1298 int slots, int slot_width) in aic3x_set_dai_tdm_slot() argument
1321 switch (slot_width) { in aic3x_set_dai_tdm_slot()
1328 dev_err(codec->dev, "Unsupported slot width %d\n", slot_width); in aic3x_set_dai_tdm_slot()
1334 aic3x->slot_width = slot_width; in aic3x_set_dai_tdm_slot()
Dadau17x1.c571 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in adau17x1_set_dai_tdm_slot() argument
582 slot_width = 32; in adau17x1_set_dai_tdm_slot()
602 switch (slot_width * slots) { in adau17x1_set_dai_tdm_slot()
Dtas2552.c446 int slots, int slot_width) in tas2552_set_dai_tdm_slot() argument
464 tas2552->tdm_delay = lsb * slot_width; in tas2552_set_dai_tdm_slot()
Dab8500-codec.c2226 int slots, int slot_width) in ab8500_codec_set_dai_tdm_slot() argument
2235 switch (slot_width) { in ab8500_codec_set_dai_tdm_slot()
2250 __func__, slot_width); in ab8500_codec_set_dai_tdm_slot()
2255 __func__, slot_width); in ab8500_codec_set_dai_tdm_slot()
Dwm9081.c1190 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in wm9081_set_tdm_slot() argument
1201 wm9081->tdm_width = slot_width; in wm9081_set_tdm_slot()
Dwm8993.c1352 unsigned int rx_mask, int slots, int slot_width) in wm8993_set_tdm_slot() argument
1394 wm8993->tdm_width = slot_width; in wm8993_set_tdm_slot()
Dda7219.c1213 int slots, int slot_width) in da7219_set_dai_tdm_slot() argument
1247 frame_size = slots * slot_width; in da7219_set_dai_tdm_slot()
Dwm8904.c1522 unsigned int rx_mask, int slots, int slot_width) in wm8904_set_tdm_slot() argument
1560 wm8904->tdm_width = slot_width; in wm8904_set_tdm_slot()
Darizona.c1741 unsigned int rx_mask, int slots, int slot_width) in arizona_set_tdm_slot() argument
1764 arizona->tdm_width[dai->id - 1] = slot_width; in arizona_set_tdm_slot()
Dmax98090.c1692 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in max98090_set_tdm_slot() argument
1703 max98090->tdm_width = slot_width; in max98090_set_tdm_slot()
/sound/soc/davinci/
Ddavinci-mcasp.c86 int slot_width; member
572 mcasp->slot_width = div / mcasp->tdm_slots; in __davinci_mcasp_set_clkdiv()
663 int slots, int slot_width) in davinci_mcasp_set_tdm_slot() argument
669 __func__, tx_mask, rx_mask, slots, slot_width); in davinci_mcasp_set_tdm_slot()
678 if (slot_width && in davinci_mcasp_set_tdm_slot()
679 (slot_width < 8 || slot_width > 32 || slot_width % 4 != 0)) { in davinci_mcasp_set_tdm_slot()
681 __func__, slot_width); in davinci_mcasp_set_tdm_slot()
688 mcasp->slot_width = slot_width; in davinci_mcasp_set_tdm_slot()
699 u32 slot_width = sample_width; in davinci_config_channel_size() local
718 if (mcasp->slot_width) { in davinci_config_channel_size()
[all …]
/sound/soc/sti/
Duniperif_reader.c83 int slot_width; in uni_reader_prepare() local
129 slot_width = 32; in uni_reader_prepare()
133 slot_width = 16; in uni_reader_prepare()
136 slot_width = 32; in uni_reader_prepare()
142 switch (slot_width) { in uni_reader_prepare()
Duniperif_player.c444 int output_frame_size, slot_width, clk_div; in uni_player_prepare_pcm() local
449 slot_width = 32; in uni_player_prepare_pcm()
453 slot_width = 16; in uni_player_prepare_pcm()
456 slot_width = 32; in uni_player_prepare_pcm()
460 output_frame_size = slot_width * runtime->channels; in uni_player_prepare_pcm()
467 if ((slot_width == 32) && (clk_div % 128)) { in uni_player_prepare_pcm()
472 if ((slot_width == 16) && (clk_div % 64)) { in uni_player_prepare_pcm()
481 switch (slot_width) { in uni_player_prepare_pcm()
/sound/soc/fsl/
Dfsl_esai.c58 u32 slot_width; member
355 u32 rx_mask, int slots, int slot_width) in fsl_esai_set_dai_tdm_slot() argument
365 esai_priv->slot_width = slot_width; in fsl_esai_set_dai_tdm_slot()
520 u32 slot_width = width; in fsl_esai_hw_params() local
525 if (esai_priv->slot_width) in fsl_esai_hw_params()
526 slot_width = esai_priv->slot_width; in fsl_esai_hw_params()
528 bclk = params_rate(params) * slot_width * esai_priv->slots; in fsl_esai_hw_params()
550 val = ESAI_xCR_xSWS(slot_width, width) | (tx ? ESAI_xCR_PADC : 0); in fsl_esai_hw_params()
Dfsl-asoc-card.c66 u32 slot_width; member
158 if (cpu_priv->slot_width) { in fsl_asoc_card_hw_params()
160 cpu_priv->slot_width); in fsl_asoc_card_hw_params()
517 priv->cpu_priv.slot_width = 32; in fsl_asoc_card_probe()
Dimx-ssi.c62 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in imx_ssi_set_dai_tdm_slot() argument
/sound/soc/ux500/
Dux500_msp_dai.c584 int slots, int slot_width) in ux500_msp_dai_set_tdm_slot() argument
609 if (!(slot_width == 16)) { in ux500_msp_dai_set_tdm_slot()
611 __func__, slot_width); in ux500_msp_dai_set_tdm_slot()
614 drvdata->slot_width = slot_width; in ux500_msp_dai_set_tdm_slot()
699 drvdata->msp->playback_dma_data.data_size = drvdata->slot_width; in ux500_msp_dai_probe()
700 drvdata->msp->capture_dma_data.data_size = drvdata->slot_width; in ux500_msp_dai_probe()
763 drvdata->slot_width = 16; in ux500_msp_drv_probe()
Dux500_msp_dai.h58 int slot_width; member
/sound/soc/pxa/
Dpxa-ssp.c384 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in pxa_ssp_set_dai_tdm_slot() argument
394 if (slot_width > 16) in pxa_ssp_set_dai_tdm_slot()
395 sscr0 |= SSCR0_EDSS | SSCR0_DataSize(slot_width - 16); in pxa_ssp_set_dai_tdm_slot()
397 sscr0 |= SSCR0_DataSize(slot_width); in pxa_ssp_set_dai_tdm_slot()
/sound/soc/generic/
Dsimple-card.c158 set->slot_width); in __asoc_simple_card_dai_init()
250 &dai->slots, &dai->slot_width); in asoc_simple_card_sub_parse_of()
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c457 int slots, int slot_width) { in sst_platform_set_ssp_slot() argument
463 ret = sst_fill_ssp_slot(dai, tx_mask, rx_mask, slots, slot_width); in sst_platform_set_ssp_slot()
Dsst-atom-controls.c778 unsigned int rx_mask, int slots, int slot_width) in sst_fill_ssp_slot() argument
785 ctx->ssp_cmd.nb_bits_per_slots = slot_width; in sst_fill_ssp_slot()
/sound/soc/
Dsoc-core.c2223 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in snd_soc_dai_set_tdm_slot() argument
2236 slots, slot_width); in snd_soc_dai_set_tdm_slot()
3318 unsigned int *slot_width) in snd_soc_of_parse_tdm_slot() argument
3342 if (slot_width) in snd_soc_of_parse_tdm_slot()
3343 *slot_width = val; in snd_soc_of_parse_tdm_slot()

12