/sound/firewire/motu/ |
D | motu-proc.c | 48 struct snd_motu_packet_format *formats; in proc_read_format() local 58 formats = &motu->tx_packet_formats; in proc_read_format() 62 formats->msg_chunks, in proc_read_format() 63 formats->fixed_part_pcm_chunks[mode], in proc_read_format() 64 formats->differed_part_pcm_chunks[mode]); in proc_read_format() 71 formats = &motu->rx_packet_formats; in proc_read_format() 75 formats->msg_chunks, in proc_read_format() 76 formats->fixed_part_pcm_chunks[mode], in proc_read_format() 77 formats->differed_part_pcm_chunks[mode]); in proc_read_format()
|
D | motu-pcm.c | 14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() local 29 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in motu_rate_constraint() 30 formats->differed_part_pcm_chunks[mode]; in motu_rate_constraint() 44 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() local 62 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in motu_channels_constraint() 63 formats->differed_part_pcm_chunks[mode]; in motu_channels_constraint() 73 struct snd_motu_packet_format *formats) in limit_channels_and_rates() argument 85 pcm_channels = formats->fixed_part_pcm_chunks[mode] + in limit_channels_and_rates() 86 formats->differed_part_pcm_chunks[mode]; in limit_channels_and_rates() 104 struct snd_motu_packet_format *formats; in init_hw_info() local [all …]
|
D | motu-protocol-v2.c | 170 static void calculate_fixed_part(struct snd_motu_packet_format *formats, in calculate_fixed_part() argument 177 formats->msg_chunks = 2; in calculate_fixed_part() 218 formats->fixed_part_pcm_chunks[0] = pcm_chunks[0]; in calculate_fixed_part() 219 formats->fixed_part_pcm_chunks[1] = pcm_chunks[1]; in calculate_fixed_part() 220 formats->fixed_part_pcm_chunks[2] = pcm_chunks[2]; in calculate_fixed_part() 223 static void calculate_differed_part(struct snd_motu_packet_format *formats, in calculate_differed_part() argument 248 formats->differed_part_pcm_chunks[0] = pcm_chunks[0]; in calculate_differed_part() 249 formats->differed_part_pcm_chunks[1] = pcm_chunks[1]; in calculate_differed_part()
|
D | motu-protocol-v3.c | 156 static void calculate_fixed_part(struct snd_motu_packet_format *formats, in calculate_fixed_part() argument 163 formats->msg_chunks = 2; in calculate_fixed_part() 217 formats->fixed_part_pcm_chunks[0] = round_up(2 + pcm_chunks[0], 4) - 2; in calculate_fixed_part() 218 formats->fixed_part_pcm_chunks[1] = round_up(2 + pcm_chunks[1], 4) - 2; in calculate_fixed_part() 220 formats->fixed_part_pcm_chunks[2] = in calculate_fixed_part() 224 static void calculate_differed_part(struct snd_motu_packet_format *formats, in calculate_differed_part() argument 272 formats->differed_part_pcm_chunks[i] = pcm_chunks[i]; in calculate_differed_part()
|
D | amdtp-motu.c | 48 struct snd_motu_packet_format *formats) in amdtp_motu_set_parameters() argument 79 pcm_chunks = formats->fixed_part_pcm_chunks[mode] + in amdtp_motu_set_parameters() 80 formats->differed_part_pcm_chunks[mode]; in amdtp_motu_set_parameters() 81 data_chunks = formats->msg_chunks + pcm_chunks; in amdtp_motu_set_parameters() 95 p->pcm_byte_offset = formats->pcm_byte_offset; in amdtp_motu_set_parameters() 98 p->midi_flag_offset = formats->midi_flag_offset; in amdtp_motu_set_parameters() 99 p->midi_byte_offset = formats->midi_byte_offset; in amdtp_motu_set_parameters()
|
/sound/firewire/oxfw/ |
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() 113 u8 **formats; in init_hw_params() local [all …]
|
D | oxfw-stream.c | 60 u8 **formats; in set_stream_format() local 67 formats = oxfw->tx_stream_formats; in set_stream_format() 70 formats = oxfw->rx_stream_formats; in set_stream_format() 76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format() 91 len = 5 + formats[i][4] * 2; in set_stream_format() 93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 196 u8 **formats; in keep_resources() local 204 formats = oxfw->rx_stream_formats; in keep_resources() 208 formats = oxfw->tx_stream_formats; in keep_resources() 219 if (formats[i] == NULL) in keep_resources() [all …]
|
/sound/soc/uniphier/ |
D | aio-ld11.c | 225 .formats = SNDRV_PCM_FMTBIT_S32_LE, 232 .formats = SNDRV_PCM_FMTBIT_S32_LE, 249 .formats = SNDRV_PCM_FMTBIT_S32_LE, 264 .formats = SNDRV_PCM_FMTBIT_S32_LE, 271 .formats = SNDRV_PCM_FMTBIT_S32_LE, 286 .formats = SNDRV_PCM_FMTBIT_S32_LE, 301 .formats = SNDRV_PCM_FMTBIT_S32_LE, 316 .formats = SNDRV_PCM_FMTBIT_S32_LE, 331 .formats = SNDRV_PCM_FMTBIT_S32_LE, 348 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
D | aio-pxs2.c | 178 .formats = SNDRV_PCM_FMTBIT_S32_LE, 193 .formats = SNDRV_PCM_FMTBIT_S32_LE, 200 .formats = SNDRV_PCM_FMTBIT_S32_LE, 215 .formats = SNDRV_PCM_FMTBIT_S32_LE, 222 .formats = SNDRV_PCM_FMTBIT_S32_LE, 237 .formats = SNDRV_PCM_FMTBIT_S32_LE, 252 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 39 .formats = SNDRV_PCM_FMTBIT_S16_LE | 706 .formats = SNDRV_PCM_FMTBIT_S16_LE | 715 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 728 .formats = SNDRV_PCM_FMTBIT_S16_LE | 741 .formats = SNDRV_PCM_FMTBIT_S16_LE | 753 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 765 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 777 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 789 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE, 804 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | [all …]
|
/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 22 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 43 .formats = SNDRV_PCM_FMTBIT_S16_LE | \ 629 .formats = SNDRV_PCM_FMTBIT_S16_LE | 652 .formats = SNDRV_PCM_FMTBIT_S16_LE | 670 .formats = SNDRV_PCM_FMTBIT_S16_LE | 683 .formats = SNDRV_PCM_FMTBIT_S16_LE | 706 .formats = SNDRV_PCM_FMTBIT_S16_LE | 719 .formats = SNDRV_PCM_FMTBIT_S16_LE | 743 .formats = SNDRV_PCM_FMTBIT_S16_LE | 756 .formats = SNDRV_PCM_FMTBIT_S16_LE | [all …]
|
/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-hostless.c | 69 .formats = MTK_HOSTLESS_FORMATS, 76 .formats = MTK_HOSTLESS_FORMATS, 88 .formats = MTK_HOSTLESS_FORMATS, 95 .formats = MTK_HOSTLESS_FORMATS,
|
D | mt6797-dai-pcm.c | 263 .formats = MTK_PCM_FORMATS, 270 .formats = MTK_PCM_FORMATS, 284 .formats = MTK_PCM_FORMATS, 291 .formats = MTK_PCM_FORMATS,
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-hostless.c | 69 .formats = MTK_HOSTLESS_FORMATS, 76 .formats = MTK_HOSTLESS_FORMATS, 88 .formats = MTK_HOSTLESS_FORMATS, 95 .formats = MTK_HOSTLESS_FORMATS,
|
/sound/soc/codecs/ |
D | bt-sco.c | 31 .formats = SNDRV_PCM_FMTBIT_S16_LE, 38 .formats = SNDRV_PCM_FMTBIT_S16_LE, 48 .formats = SNDRV_PCM_FMTBIT_S16_LE, 55 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
D | lochnagar-sc.c | 159 .formats = SNDRV_PCM_FMTBIT_S32_LE, 166 .formats = SNDRV_PCM_FMTBIT_S32_LE, 179 .formats = SNDRV_PCM_FMTBIT_S32_LE, 186 .formats = SNDRV_PCM_FMTBIT_S32_LE, 199 .formats = SNDRV_PCM_FMTBIT_S32_LE, 206 .formats = SNDRV_PCM_FMTBIT_S32_LE,
|
/sound/usb/ |
D | quirks-table.h | 46 .formats = SNDRV_PCM_FMTBIT_S16_LE, 506 .formats = SNDRV_PCM_FMTBIT_S16_LE, 523 .formats = SNDRV_PCM_FMTBIT_S16_LE, 994 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1011 .formats = SNDRV_PCM_FMTBIT_S24_3LE, 1615 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1633 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1682 .formats = SNDRV_PCM_FMTBIT_S32_LE, 1700 .formats = SNDRV_PCM_FMTBIT_S32_LE, 2095 .formats = SNDRV_PCM_FMTBIT_S24_3LE, [all …]
|
/sound/soc/qcom/ |
D | lpass-apq8016.c | 31 .formats = SNDRV_PCM_FMTBIT_S16 | 52 .formats = SNDRV_PCM_FMTBIT_S16 | 73 .formats = SNDRV_PCM_FMTBIT_S16 | 94 .formats = SNDRV_PCM_FMTBIT_S16 | 109 .formats = SNDRV_PCM_FMTBIT_S16 |
|
/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 166 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 172 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 183 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 189 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 200 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
|
/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 79 u64 formats = 0; in i2sbus_pcm_open() local 104 while (ti->formats && ti->rates) { in i2sbus_pcm_open() 109 formats &= v.formats; in i2sbus_pcm_open() 112 formats = v.formats; in i2sbus_pcm_open() 152 if (formats & SNDRV_PCM_FMTBIT_S24_BE) in i2sbus_pcm_open() 153 formats |= SNDRV_PCM_FMTBIT_S32_BE; in i2sbus_pcm_open() 154 if (formats & SNDRV_PCM_FMTBIT_U24_BE) in i2sbus_pcm_open() 155 formats |= SNDRV_PCM_FMTBIT_U32_BE; in i2sbus_pcm_open() 160 hw->formats = formats & (SNDRV_PCM_FMTBIT_S16_BE | in i2sbus_pcm_open() 181 hw->formats &= pcm_format_to_bits(i2sdev->format); in i2sbus_pcm_open() [all …]
|
/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-pcm.c | 27 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE 559 .formats = (SNDRV_PCM_FMTBIT_S16_LE 575 .formats = (SNDRV_PCM_FMTBIT_S16_LE 592 .formats = (SNDRV_PCM_FMTBIT_S16_LE 608 .formats = (SNDRV_PCM_FMTBIT_S16_LE 626 .formats = SNDRV_PCM_FMTBIT_S16_LE, 641 .formats = SNDRV_PCM_FMTBIT_S16_LE, 654 .formats = (SNDRV_PCM_FMTBIT_S16_LE 664 .formats = (SNDRV_PCM_FMTBIT_S16_LE 680 .formats = (SNDRV_PCM_FMTBIT_S16_LE [all …]
|
/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 444 .formats = KIRKWOOD_I2S_FORMATS, 451 .formats = KIRKWOOD_I2S_FORMATS, 463 .formats = KIRKWOOD_SPDIF_FORMATS, 470 .formats = KIRKWOOD_SPDIF_FORMATS, 486 .formats = KIRKWOOD_I2S_FORMATS, 494 .formats = KIRKWOOD_I2S_FORMATS, 507 .formats = KIRKWOOD_SPDIF_FORMATS, 515 .formats = KIRKWOOD_SPDIF_FORMATS,
|
/sound/xen/ |
D | xen_snd_front_cfg.c | 189 u64 formats; in cfg_formats() local 193 formats = 0; in cfg_formats() 199 formats |= CFG_HW_SUPPORTED_FORMATS[i].mask; in cfg_formats() 202 if (formats) in cfg_formats() 203 pcm_hw->formats = formats; in cfg_formats() 225 .formats = USE_FORMATS,
|
/sound/isa/sb/ |
D | sb16_main.c | 149 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_playback_open() 153 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_playback_open() 180 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_capture_open() 184 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_capture_open() 468 .formats = 0, 486 .formats = 0, 523 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open() 539 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open() 542 runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8; in snd_sb16_playback_open() 598 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 | 843 u64 formats = 0; in snd_hdac_query_supported_pcm() local 853 formats |= SNDRV_PCM_FMTBIT_U8; in snd_hdac_query_supported_pcm() 857 formats |= SNDRV_PCM_FMTBIT_S16_LE; in snd_hdac_query_supported_pcm() 862 formats |= SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE; in snd_hdac_query_supported_pcm() 864 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdac_query_supported_pcm() 871 formats |= SNDRV_PCM_FMTBIT_S32_LE; in snd_hdac_query_supported_pcm() 882 formats |= SNDRV_PCM_FMTBIT_FLOAT_LE; in snd_hdac_query_supported_pcm() 892 formats |= SNDRV_PCM_FMTBIT_U8; in snd_hdac_query_supported_pcm() 895 if (formats == 0) { in snd_hdac_query_supported_pcm() 904 *formatsp = formats; in snd_hdac_query_supported_pcm()
|