Home
last modified time | relevance | path

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

/linux-4.4.14/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
1029 int width = aic3x->slot_width; in aic3x_hw_params()
1178 int width = aic3x->slot_width; in aic3x_prepare()
1285 int slots, int slot_width) in aic3x_set_dai_tdm_slot() argument
1308 switch (slot_width) { in aic3x_set_dai_tdm_slot()
1315 dev_err(codec->dev, "Unsupported slot width %d\n", slot_width); in aic3x_set_dai_tdm_slot()
1321 aic3x->slot_width = slot_width; in aic3x_set_dai_tdm_slot()
Dadau17x1.c549 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in adau17x1_set_dai_tdm_slot() argument
560 slot_width = 32; in adau17x1_set_dai_tdm_slot()
580 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()
Drt5670.c2553 unsigned int rx_mask, int slots, int slot_width) in rt5670_set_tdm_slot() argument
2577 switch (slot_width) { in rt5670_set_tdm_slot()
Drt5645.c2784 unsigned int rx_mask, int slots, int slot_width) in rt5645_set_tdm_slot() argument
2829 switch (slot_width) { in rt5645_set_tdm_slot()
Drt5677.c4407 unsigned int rx_mask, int slots, int slot_width) in rt5677_set_tdm_slot() argument
4431 switch (slot_width) { in rt5677_set_tdm_slot()
/linux-4.4.14/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()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c84 int slot_width; member
570 mcasp->slot_width = div / mcasp->tdm_slots; in __davinci_mcasp_set_clkdiv()
661 int slots, int slot_width) in davinci_mcasp_set_tdm_slot() argument
667 __func__, tx_mask, rx_mask, slots, slot_width); in davinci_mcasp_set_tdm_slot()
676 if (slot_width && in davinci_mcasp_set_tdm_slot()
677 (slot_width < 8 || slot_width > 32 || slot_width % 4 != 0)) { in davinci_mcasp_set_tdm_slot()
679 __func__, slot_width); in davinci_mcasp_set_tdm_slot()
686 mcasp->slot_width = slot_width; in davinci_mcasp_set_tdm_slot()
697 u32 slot_width = sample_width; in davinci_config_channel_size() local
716 if (mcasp->slot_width) { in davinci_config_channel_size()
[all …]
/linux-4.4.14/sound/soc/fsl/
Dfsl_esai.c58 u32 slot_width; member
346 u32 rx_mask, int slots, int slot_width) in fsl_esai_set_dai_tdm_slot() argument
366 esai_priv->slot_width = slot_width; in fsl_esai_set_dai_tdm_slot()
516 u32 slot_width = width; in fsl_esai_hw_params() local
521 if (esai_priv->slot_width) in fsl_esai_hw_params()
522 slot_width = esai_priv->slot_width; in fsl_esai_hw_params()
524 bclk = params_rate(params) * slot_width * esai_priv->slots; in fsl_esai_hw_params()
546 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
Dfsl_ssi.c1040 u32 rx_mask, int slots, int slot_width) in fsl_ssi_set_dai_tdm_slot() argument
/linux-4.4.14/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
/linux-4.4.14/include/sound/
Dsimple_card.h21 int slot_width; member
Dsoc-dai.h129 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width);
164 int slots, int slot_width);
Dsoc.h1630 unsigned int *slot_width);
/linux-4.4.14/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()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_sas.h185 u32 slot_width; member
189 #define MVS_CHIP_SLOT_SZ (1U << mvi->chip->slot_width)
Dmv_init.c370 (1L << mvs_chips[ent->driver_data].slot_width) * in mvs_pci_alloc()
/linux-4.4.14/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()
/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp.h52 u8 slot_width; member
67 SMBIOS_SLOT_WIDTH = offsetof(struct smbios_system_slot, slot_width),
/linux-4.4.14/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c451 int slots, int slot_width) { in sst_platform_set_ssp_slot() argument
457 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()
Dsst-atom-controls.h873 unsigned int rx_mask, int slots, int slot_width);
/linux-4.4.14/sound/soc/
Dsoc-core.c2221 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) in snd_soc_dai_set_tdm_slot() argument
2234 slots, slot_width); in snd_soc_dai_set_tdm_slot()
3316 unsigned int *slot_width) in snd_soc_of_parse_tdm_slot() argument
3340 if (slot_width) in snd_soc_of_parse_tdm_slot()
3341 *slot_width = val; in snd_soc_of_parse_tdm_slot()