/sound/soc/blackfin/ |
D | bf5xx-i2s.c | 55 unsigned int tx_mask; member 218 static int bf5xx_i2s_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in bf5xx_i2s_set_tdm_slot() argument 231 bf5xx_i2s->tx_mask = tx_mask; in bf5xx_i2s_set_tdm_slot() 237 return sport_set_multichannel(sport_handle, slots, tx_mask, rx_mask, 0); in bf5xx_i2s_set_tdm_slot() 277 bf5xx_i2s->tx_mask, bf5xx_i2s->rx_mask, 0); in bf5xx_i2s_resume()
|
D | bf5xx-sport.h | 131 u32 tx_mask, u32 rx_mask, int packed);
|
D | bf5xx-sport.c | 49 int tdm_count, u32 tx_mask, u32 rx_mask, int packed) in sport_set_multichannel() argument 52 __func__, tdm_count, tx_mask, rx_mask, packed); in sport_set_multichannel() 68 sport->regs->mtcs0 = tx_mask; in sport_set_multichannel()
|
/sound/soc/codecs/ |
D | ssm2518.c | 524 static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ssm2518_set_tdm_slot() argument 537 if (tx_mask == 0 || rx_mask != 0) in ssm2518_set_tdm_slot() 541 if (tx_mask != 1) in ssm2518_set_tdm_slot() 547 left_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 548 tx_mask &= ~(1 << left_slot); in ssm2518_set_tdm_slot() 549 if (tx_mask == 0) { in ssm2518_set_tdm_slot() 552 right_slot = __ffs(tx_mask); in ssm2518_set_tdm_slot() 553 tx_mask &= ~(1 << right_slot); in ssm2518_set_tdm_slot() 557 if (tx_mask != 0 || left_slot >= slots || right_slot >= slots) in ssm2518_set_tdm_slot()
|
D | ssm4567.c | 234 static int ssm4567_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ssm4567_set_tdm_slot() argument 242 if (tx_mask == 0) in ssm4567_set_tdm_slot() 245 if (rx_mask && rx_mask != tx_mask) in ssm4567_set_tdm_slot() 248 slot = __ffs(tx_mask); in ssm4567_set_tdm_slot() 249 if (tx_mask != BIT(slot)) in ssm4567_set_tdm_slot()
|
D | mc13783.c | 308 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_dac() argument 353 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_codec() argument 363 if (tx_mask != 0x3) in mc13783_set_tdm_slot_codec() 375 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_sync() argument 380 ret = mc13783_set_tdm_slot_dac(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync() 385 ret = mc13783_set_tdm_slot_codec(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync()
|
D | tas2552.c | 445 unsigned int tx_mask, unsigned int rx_mask, in tas2552_set_dai_tdm_slot() argument 452 if (unlikely(!tx_mask)) { in tas2552_set_dai_tdm_slot() 458 lsb = __ffs(tx_mask); in tas2552_set_dai_tdm_slot() 459 if ((lsb + 1) != __fls(tx_mask)) { in tas2552_set_dai_tdm_slot()
|
D | ab8500-codec.c | 2225 unsigned int tx_mask, unsigned int rx_mask, in ab8500_codec_set_dai_tdm_slot() argument 2286 if (tx_mask & ~0xff) in ab8500_codec_set_dai_tdm_slot() 2290 tx_mask = tx_mask << AB8500_DA_DATA0_OFFSET; in ab8500_codec_set_dai_tdm_slot() 2291 slots_active = hweight32(tx_mask); in ab8500_codec_set_dai_tdm_slot() 2300 slot = ffs(tx_mask); in ab8500_codec_set_dai_tdm_slot() 2307 slot = ffs(tx_mask); in ab8500_codec_set_dai_tdm_slot() 2310 slot = fls(tx_mask); in ab8500_codec_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 581 tx_mask = 3; in adau17x1_set_dai_tdm_slot() 649 switch (tx_mask) { in adau17x1_set_dai_tdm_slot()
|
D | tlv320aic3x.c | 1297 unsigned int tx_mask, unsigned int rx_mask, in aic3x_set_dai_tdm_slot() argument 1304 if (tx_mask != rx_mask) { in aic3x_set_dai_tdm_slot() 1309 if (unlikely(!tx_mask)) { in aic3x_set_dai_tdm_slot() 1315 lsb = __ffs(tx_mask); in aic3x_set_dai_tdm_slot() 1316 if ((lsb + 1) != __fls(tx_mask)) { in aic3x_set_dai_tdm_slot()
|
D | da7219.c | 1212 unsigned int tx_mask, unsigned int rx_mask, in da7219_set_dai_tdm_slot() argument 1222 if (!tx_mask) { in da7219_set_dai_tdm_slot() 1233 if (fls(tx_mask) > DA7219_DAI_TDM_MAX_SLOTS) { in da7219_set_dai_tdm_slot() 1277 (tx_mask << DA7219_DAI_TDM_CH_EN_SHIFT) | in da7219_set_dai_tdm_slot()
|
D | adau1977.c | 499 static int adau1977_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in adau1977_set_tdm_slot() argument 517 if (rx_mask == 0 || tx_mask != 0) in adau1977_set_tdm_slot()
|
D | ad193x.c | 146 static int ad193x_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in ad193x_set_tdm_slot() argument
|
D | arizona.c | 1740 static int arizona_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in arizona_set_tdm_slot() argument 1755 tx_mask = (1 << tx_max_chan) - 1; in arizona_set_tdm_slot() 1760 tx_max_chan, tx_mask); in arizona_set_tdm_slot()
|
D | wm8993.c | 1351 static int wm8993_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in wm8993_set_tdm_slot() argument 1383 switch (tx_mask) { in wm8993_set_tdm_slot()
|
D | wm8904.c | 1521 static int wm8904_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in wm8904_set_tdm_slot() argument 1549 switch (tx_mask) { in wm8904_set_tdm_slot()
|
/sound/soc/ux500/ |
D | ux500_msp_dai.c | 47 multi->tx_channel_0_enable = drvdata->tx_mask; in setup_pcm_multichan() 519 drvdata->tx_mask : in ux500_msp_dai_hw_params() 582 unsigned int tx_mask, in ux500_msp_dai_set_tdm_slot() argument 616 drvdata->tx_mask = tx_mask & cap; in ux500_msp_dai_set_tdm_slot() 761 drvdata->tx_mask = 0x01; in ux500_msp_drv_probe()
|
D | ux500_msp_dai.h | 55 unsigned int tx_mask; member
|
/sound/soc/fsl/ |
D | fsl_esai.c | 60 u32 tx_mask; member 354 static int fsl_esai_set_dai_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, in fsl_esai_set_dai_tdm_slot() argument 367 esai_priv->tx_mask = tx_mask; in fsl_esai_set_dai_tdm_slot() 609 mask = tx ? esai_priv->tx_mask : esai_priv->rx_mask; in fsl_esai_trigger() 910 esai_priv->tx_mask = 0xFFFFFFFF; in fsl_esai_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 77 writel(~tx_mask, ssi->base + SSI_STMSK); in imx_ssi_set_dai_tdm_slot()
|
D | fsl_ssi.c | 1041 static int fsl_ssi_set_dai_tdm_slot(struct snd_soc_dai *cpu_dai, u32 tx_mask, in fsl_ssi_set_dai_tdm_slot() argument 1069 regmap_write(regs, CCSR_SSI_STMSK, ~tx_mask); in fsl_ssi_set_dai_tdm_slot()
|
/sound/soc/ |
D | soc-core.c | 2184 unsigned int *tx_mask, in snd_soc_xlate_tdm_slot_mask() argument 2187 if (*tx_mask || *rx_mask) in snd_soc_xlate_tdm_slot_mask() 2193 *tx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask() 2223 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in snd_soc_dai_set_tdm_slot() argument 2227 &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 2229 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 2231 dai->tx_mask = tx_mask; in snd_soc_dai_set_tdm_slot() 2235 return dai->driver->ops->set_tdm_slot(dai, tx_mask, rx_mask, in snd_soc_dai_set_tdm_slot() 3315 unsigned int *tx_mask, in snd_soc_of_parse_tdm_slot() argument 3323 if (tx_mask) in snd_soc_of_parse_tdm_slot() [all …]
|
/sound/soc/davinci/ |
D | davinci-mcasp.c | 661 unsigned int tx_mask, in davinci_mcasp_set_tdm_slot() argument 669 __func__, tx_mask, rx_mask, slots, slot_width); in davinci_mcasp_set_tdm_slot() 671 if (tx_mask >= (1<<slots) || rx_mask >= (1<<slots)) { in davinci_mcasp_set_tdm_slot() 674 tx_mask, rx_mask, slots); in davinci_mcasp_set_tdm_slot() 686 mcasp->tdm_mask[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in davinci_mcasp_set_tdm_slot()
|
/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 407 pxa_ssp_write_reg(ssp, SSTSA, tx_mask); in pxa_ssp_set_dai_tdm_slot()
|
/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 456 unsigned int tx_mask, unsigned int rx_mask, 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()
|