/sound/firewire/oxfw/ |
D | oxfw-stream.c | 61 u8 **formats; in set_stream_format() local 68 formats = oxfw->tx_stream_formats; in set_stream_format() 71 formats = oxfw->rx_stream_formats; in set_stream_format() 77 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 92 len = 5 + formats[i][4] * 2; in set_stream_format() 94 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 118 u8 **formats; in start_stream() local 125 formats = oxfw->rx_stream_formats; in start_stream() 128 formats = oxfw->tx_stream_formats; in start_stream() 134 if (formats[i] == NULL) in start_stream() [all …]
|
D | oxfw-pcm.c | 13 u8 **formats = rule->private; in hw_rule_rate() local 25 if (formats[i] == NULL) in hw_rule_rate() 28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate() 44 u8 **formats = rule->private; in hw_rule_channels() local 55 if (formats[i] == NULL) in hw_rule_channels() 58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels() 80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates() argument 93 if (formats[i] == NULL) in limit_channels_and_rates() 96 err = snd_oxfw_stream_parse_format(formats[i], &formation); in limit_channels_and_rates() 125 u8 **formats; in init_hw_params() local [all …]
|
/sound/usb/ |
D | quirks-table.h | 60 .formats = SNDRV_PCM_FMTBIT_S16_LE, 520 .formats = SNDRV_PCM_FMTBIT_S16_LE, 537 .formats = SNDRV_PCM_FMTBIT_S16_LE, 1008 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1025 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1629 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1647 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1696 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1714 .formats = SNDRV_PCM_FMTBIT_S32_LE, 2109 .formats = SNDRV_PCM_FMTBIT_S24_3LE, [all …]
|
D | format.c | 452 fp->formats = pcm_format_to_bits(pcm_format); in parse_audio_format_i() 454 fp->formats = parse_audio_format_i_type(chip, fp, format, fmt); in parse_audio_format_i() 455 if (!fp->formats) in parse_audio_format_i() 499 fp->formats = SNDRV_PCM_FMTBIT_U8; /* temporary hack to receive byte streams */ in parse_audio_format_ii() 502 fp->formats = SNDRV_PCM_FMTBIT_MPEG; in parse_audio_format_ii() 508 fp->formats = SNDRV_PCM_FMTBIT_MPEG; in parse_audio_format_ii()
|
/sound/soc/qcom/ |
D | lpass-apq8016.c | 40 .formats = SNDRV_PCM_FMTBIT_S16 | 61 .formats = SNDRV_PCM_FMTBIT_S16 | 82 .formats = SNDRV_PCM_FMTBIT_S16 | 103 .formats = SNDRV_PCM_FMTBIT_S16 | 118 .formats = SNDRV_PCM_FMTBIT_S16 |
|
/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 181 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 187 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 198 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 204 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 215 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
|
/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 80 u64 formats = 0; in i2sbus_pcm_open() local 105 while (ti->formats && ti->rates) { in i2sbus_pcm_open() 110 formats &= v.formats; in i2sbus_pcm_open() 113 formats = v.formats; in i2sbus_pcm_open() 153 if (formats & SNDRV_PCM_FMTBIT_S24_BE) in i2sbus_pcm_open() 154 formats |= SNDRV_PCM_FMTBIT_S32_BE; in i2sbus_pcm_open() 155 if (formats & SNDRV_PCM_FMTBIT_U24_BE) in i2sbus_pcm_open() 156 formats |= SNDRV_PCM_FMTBIT_U32_BE; in i2sbus_pcm_open() 161 hw->formats = formats & (SNDRV_PCM_FMTBIT_S16_BE | in i2sbus_pcm_open() 182 hw->formats &= pcm_format_to_bits(i2sdev->format); in i2sbus_pcm_open() [all …]
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 42 .formats = SNDRV_PCM_FMTBIT_S16_LE, 498 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 505 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 516 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 527 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 538 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 550 .formats = SNDRV_PCM_FMTBIT_S16_LE, 557 .formats = SNDRV_PCM_FMTBIT_S16_LE, 568 .formats = SNDRV_PCM_FMTBIT_S16_LE, 579 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, [all …]
|
/sound/isa/sb/ |
D | sb16_main.c | 161 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_playback_open() 165 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_playback_open() 192 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_capture_open() 196 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_capture_open() 480 .formats = 0, 498 .formats = 0, 535 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open() 551 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open() 554 runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8; in snd_sb16_playback_open() 610 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_capture_open() [all …]
|
/sound/hda/ |
D | hdac_device.c | 860 u64 formats = 0; in snd_hdac_query_supported_pcm() local 870 formats |= SNDRV_PCM_FMTBIT_U8; in snd_hdac_query_supported_pcm() 874 formats |= SNDRV_PCM_FMTBIT_S16_LE; in snd_hdac_query_supported_pcm() 879 formats |= SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE; in snd_hdac_query_supported_pcm() 881 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdac_query_supported_pcm() 888 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdac_query_supported_pcm() 899 formats |= SNDRV_PCM_FMTBIT_FLOAT_LE; in snd_hdac_query_supported_pcm() 909 formats |= SNDRV_PCM_FMTBIT_U8; in snd_hdac_query_supported_pcm() 912 if (formats == 0) { in snd_hdac_query_supported_pcm() 921 *formatsp = formats; in snd_hdac_query_supported_pcm()
|
/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 450 .formats = KIRKWOOD_I2S_FORMATS, 457 .formats = KIRKWOOD_I2S_FORMATS, 469 .formats = KIRKWOOD_SPDIF_FORMATS, 476 .formats = KIRKWOOD_SPDIF_FORMATS, 492 .formats = KIRKWOOD_I2S_FORMATS, 500 .formats = KIRKWOOD_I2S_FORMATS, 513 .formats = KIRKWOOD_SPDIF_FORMATS, 521 .formats = KIRKWOOD_SPDIF_FORMATS,
|
/sound/soc/codecs/ |
D | ad73311.c | 48 .formats = SNDRV_PCM_FMTBIT_S16_LE, }, 54 .formats = SNDRV_PCM_FMTBIT_S16_LE, },
|
D | gtm601.c | 43 .formats = SNDRV_PCM_FMTBIT_S16_LE, 50 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
D | ak4554.c | 55 .formats = SNDRV_PCM_FMTBIT_S16_LE, 62 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
D | bt-sco.c | 35 .formats = SNDRV_PCM_FMTBIT_S16_LE, 42 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
D | wm8997.c | 961 .formats = WM8997_FORMATS, 968 .formats = WM8997_FORMATS, 983 .formats = WM8997_FORMATS, 990 .formats = WM8997_FORMATS, 1004 .formats = WM8997_FORMATS, 1011 .formats = WM8997_FORMATS, 1023 .formats = WM8997_FORMATS, 1030 .formats = WM8997_FORMATS, 1042 .formats = WM8997_FORMATS, 1049 .formats = WM8997_FORMATS,
|
D | cq93vc.c | 114 .formats = CQ93VC_FORMATS,}, 120 .formats = CQ93VC_FORMATS,},
|
D | wm5102.c | 1753 .formats = WM5102_FORMATS, 1760 .formats = WM5102_FORMATS, 1775 .formats = WM5102_FORMATS, 1782 .formats = WM5102_FORMATS, 1797 .formats = WM5102_FORMATS, 1804 .formats = WM5102_FORMATS, 1818 .formats = WM5102_FORMATS, 1825 .formats = WM5102_FORMATS, 1837 .formats = WM5102_FORMATS, 1844 .formats = WM5102_FORMATS, [all …]
|
D | ac97.c | 58 .formats = SND_SOC_STD_AC97_FMTS,}, 64 .formats = SND_SOC_STD_AC97_FMTS,},
|
D | pcm3008.c | 90 .formats = SNDRV_PCM_FMTBIT_S16_LE, 97 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/sound/soc/sh/ |
D | hac.c | 278 .formats = AC97_FMTS, 284 .formats = AC97_FMTS, 296 .formats = AC97_FMTS, 302 .formats = AC97_FMTS,
|
D | ssi.c | 350 .formats = SSI_FMTS, 356 .formats = SSI_FMTS, 367 .formats = SSI_FMTS, 373 .formats = SSI_FMTS,
|
/sound/soc/sirf/ |
D | sirf-audio-port.c | 35 .formats = SNDRV_PCM_FMTBIT_S16_LE, 41 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 509 .formats = SNDRV_PCM_FMTBIT_S16_LE, 516 .formats = SNDRV_PCM_FMTBIT_S16_LE, 528 .formats = SNDRV_PCM_FMTBIT_S16_LE, 540 .formats = SNDRV_PCM_FMTBIT_S16_LE, 547 .formats = SNDRV_PCM_FMTBIT_S16_LE, 558 .formats = SNDRV_PCM_FMTBIT_S16_LE, 565 .formats = SNDRV_PCM_FMTBIT_S16_LE, 576 .formats = SNDRV_PCM_FMTBIT_S16_LE, 583 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/sound/drivers/ |
D | dummy.c | 119 u64 formats; member 170 .formats = SNDRV_PCM_FMTBIT_S32_LE, 180 .formats = SNDRV_PCM_FMTBIT_S32_LE, 190 .formats = SNDRV_PCM_FMTBIT_S16_LE, 199 .formats = SNDRV_PCM_FMTBIT_S16_LE, 209 .formats = SNDRV_PCM_FMTBIT_S16_LE, 528 .formats = USE_FORMATS, 929 if (dummy->pcm_hw.formats & (1ULL << i)) in print_formats() 970 FIELD_ENTRY(formats, "%#llx"), 1084 if (m->formats) in snd_dummy_probe() [all …]
|