/sound/soc/codecs/ |
D | adau1977.c | 128 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 …]
|
D | mc13783.c | 309 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()
|
D | tlv320aic3x.c | 83 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()
|
D | adau17x1.c | 571 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()
|
D | tas2552.c | 446 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()
|
D | ab8500-codec.c | 2226 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()
|
D | wm9081.c | 1190 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()
|
D | wm8993.c | 1352 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()
|
D | da7219.c | 1213 int slots, int slot_width) in da7219_set_dai_tdm_slot() argument 1247 frame_size = slots * slot_width; in da7219_set_dai_tdm_slot()
|
D | wm8904.c | 1522 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()
|
D | arizona.c | 1741 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()
|
D | max98090.c | 1692 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/ |
D | davinci-mcasp.c | 86 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/ |
D | uniperif_reader.c | 83 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()
|
D | uniperif_player.c | 444 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/ |
D | fsl_esai.c | 58 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()
|
D | fsl-asoc-card.c | 66 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()
|
D | imx-ssi.c | 62 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in imx_ssi_set_dai_tdm_slot() argument
|
/sound/soc/ux500/ |
D | ux500_msp_dai.c | 584 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()
|
D | ux500_msp_dai.h | 58 int slot_width; member
|
/sound/soc/pxa/ |
D | pxa-ssp.c | 384 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/ |
D | simple-card.c | 158 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/ |
D | sst-mfld-platform-pcm.c | 457 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()
|
D | sst-atom-controls.c | 778 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/ |
D | soc-core.c | 2223 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()
|