/sound/usb/ |
D | mixer_us16x08.c | 1097 .num_channels = 16, 1104 .num_channels = 16, 1111 .num_channels = 16, 1118 .num_channels = 16, 1125 .num_channels = 16, 1132 .num_channels = 16, 1139 .num_channels = 16, 1146 .num_channels = 16, 1153 .num_channels = 16, 1160 .num_channels = 16, [all …]
|
D | stream.c | 678 int altno, int num_channels, int clock) in audio_format_alloc_init() argument 694 fp->channels = num_channels; in audio_format_alloc_init() 712 unsigned int num_channels = 0, chconfig = 0; in snd_usb_get_audioformat_uac12() local 744 num_channels = iterm->bNrChannels; in snd_usb_get_audioformat_uac12() 768 num_channels = as->bNrChannels; in snd_usb_get_audioformat_uac12() 781 if (!chconfig && (num_channels == input_term->bNrChannels)) in snd_usb_get_audioformat_uac12() 831 altset_idx, altno, num_channels, clock); in snd_usb_get_audioformat_uac12() 849 if (fp->channels != num_channels) in snd_usb_get_audioformat_uac12() 874 unsigned int num_channels; in snd_usb_get_audioformat_uac3() local 895 num_channels = 1; in snd_usb_get_audioformat_uac3() [all …]
|
D | mixer_us16x08.h | 114 int num_channels; member
|
/sound/soc/qcom/qdsp6/ |
D | audioreach.c | 659 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_codec_dma_set_media_format() 681 intf_cfg->cfg.active_channels_mask = (1 << cfg->num_channels) - 1; in audioreach_codec_dma_set_media_format() 756 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_i2s_set_media_format() 815 uint32_t num_channels = mcfg->num_channels; in audioreach_pcm_set_media_format() local 821 if (num_channels > 2) { in audioreach_pcm_set_media_format() 822 dev_err(graph->dev, "Error: Invalid channels (%d)!\n", num_channels); in audioreach_pcm_set_media_format() 826 payload_size = APM_PCM_MODULE_FMT_CMD_PSIZE(num_channels); in audioreach_pcm_set_media_format() 842 cfg->header.payload_size = APM_PCM_OUT_FMT_CFG_PSIZE(media_cfg, num_channels); in audioreach_pcm_set_media_format() 849 media_cfg->num_channels = mcfg->num_channels; in audioreach_pcm_set_media_format() 853 if (num_channels == 1) { in audioreach_pcm_set_media_format() [all …]
|
D | q6afe.h | 173 u16 num_channels; member 181 u16 num_channels; member 187 u16 num_channels; member 204 u16 num_channels; member
|
D | q6asm.c | 92 u16 num_channels; member 103 u16 num_channels; member 117 u16 num_channels; member 130 u16 num_channels; member 149 u8 num_channels; member 166 u16 num_channels; member 184 uint16_t num_channels; member 1115 fmt->num_channels = channels; in q6asm_media_format_block_multi_ch_pcm() 1162 fmt->num_channels = cfg->ch_cfg; in q6asm_stream_media_format_block_flac() 1199 fmt->num_channels = cfg->num_channels; in q6asm_stream_media_format_block_wma_v9() [all …]
|
D | q6afe.c | 441 u16 num_channels; member 492 u32 num_channels; member 511 u16 num_channels; member 535 u16 num_channels; member 1246 pcfg->slim_cfg.num_channels = cfg->num_channels; in q6afe_slim_port_prepare() 1269 pcfg->tdm_cfg.num_channels = cfg->num_channels; in q6afe_tdm_port_prepare() 1284 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare() 1407 switch (cfg->num_channels) { in q6afe_i2s_port_prepare() 1421 if (cfg->num_channels == 2) in q6afe_i2s_port_prepare() 1473 dma_cfg->num_channels = cfg->num_channels; in q6afe_cdc_dma_port_prepare() [all …]
|
D | q6asm.h | 53 u32 num_channels; member 71 u8 num_channels; member 87 u16 num_channels; member
|
D | audioreach.h | 132 uint16_t num_channels; member 449 uint16_t num_channels; member 507 uint16_t num_channels; member 524 uint16_t num_channels; member 679 u16 num_channels; member
|
D | q6afe-dai.c | 123 i2s->num_channels = params_channels(params); in q6i2s_hw_params() 222 tdm->num_channels = tx_num; in q6tdm_set_channel_map() 241 tdm->num_channels = rx_num; in q6tdm_set_channel_map() 263 tdm->num_channels = params_channels(params); in q6tdm_hw_params() 350 cfg->num_channels = params_channels(params); in q6dma_hw_params() 446 pcfg->slim.num_channels = tx_num; in q6slim_set_channel_map() 458 pcfg->slim.num_channels = rx_num; in q6slim_set_channel_map()
|
D | q6asm-dai.c | 748 wma_cfg.num_channels = codec->ch_in; in __q6asm_dai_compr_set_codec_params() 756 if (wma_cfg.num_channels == 1) in __q6asm_dai_compr_set_codec_params() 758 else if (wma_cfg.num_channels == 2) in __q6asm_dai_compr_set_codec_params() 813 alac_cfg.num_channels = codec->ch_in; in __q6asm_dai_compr_set_codec_params() 845 ape_cfg.num_channels = codec->ch_in; in __q6asm_dai_compr_set_codec_params()
|
/sound/soc/sof/ |
D | ipc3-control.c | 69 cdata->num_elems = scontrol->num_channels; in sof_ipc3_set_get_kcontrol_data() 71 msg_bytes = scontrol->num_channels * in sof_ipc3_set_get_kcontrol_data() 124 unsigned int channels = scontrol->num_channels; in sof_ipc3_volume_get() 143 unsigned int channels = scontrol->num_channels; in sof_ipc3_volume_put() 175 unsigned int channels = scontrol->num_channels; in sof_ipc3_switch_get() 192 unsigned int channels = scontrol->num_channels; in sof_ipc3_switch_put() 223 unsigned int channels = scontrol->num_channels; in sof_ipc3_enum_get() 240 unsigned int channels = scontrol->num_channels; in sof_ipc3_enum_put() 518 } else if (cdata->num_elems != scontrol->num_channels) { in snd_sof_update_control() 520 cdata->num_elems, scontrol->num_channels); in snd_sof_update_control()
|
D | ipc4-control.c | 66 for (i = 1; i < scontrol->num_channels; i++) { in sof_ipc4_set_volume_data() 77 for (i = 0; i < scontrol->num_channels; i++) { in sof_ipc4_set_volume_data() 116 unsigned int channels = scontrol->num_channels; in sof_ipc4_volume_put() 160 unsigned int channels = scontrol->num_channels; in sof_ipc4_volume_get()
|
D | topology.c | 778 if (le32_to_cpu(mc->num_channels) > SND_SOC_TPLG_MAX_CHAN) in sof_control_load_volume() 787 if (le32_to_cpu(mc->num_channels) > 2) in sof_control_load_volume() 793 scontrol->num_channels = le32_to_cpu(mc->num_channels); in sof_control_load_volume() 834 scontrol->comp_id, scontrol->num_channels); in sof_control_load_volume() 855 if (le32_to_cpu(ec->num_channels) > SND_SOC_TPLG_MAX_CHAN) in sof_control_load_enum() 859 scontrol->num_channels = le32_to_cpu(ec->num_channels); in sof_control_load_enum() 862 scontrol->comp_id, scontrol->num_channels, scontrol->comp_id); in sof_control_load_enum()
|
/sound/soc/codecs/ |
D | sdw-mockup.c | 87 int num_channels; in sdw_mockup_pcm_hw_params() local 112 num_channels = params_channels(params); in sdw_mockup_pcm_hw_params() 113 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
|
D | rt1308-sdw.c | 549 int retval, port, num_channels, ch_mask; in rt1308_sdw_hw_params() local 570 num_channels = rt1308->slots; in rt1308_sdw_hw_params() 573 num_channels = params_channels(params); in rt1308_sdw_hw_params() 574 ch_mask = (1 << num_channels) - 1; in rt1308_sdw_hw_params() 578 stream_config.ch_count = num_channels; in rt1308_sdw_hw_params()
|
D | rt1318-sdw.c | 606 int retval, port, num_channels, ch_mask; in rt1318_sdw_hw_params() local 628 num_channels = params_channels(params); in rt1318_sdw_hw_params() 629 ch_mask = (1 << num_channels) - 1; in rt1318_sdw_hw_params() 632 stream_config.ch_count = num_channels; in rt1318_sdw_hw_params()
|
D | rt1316-sdw.c | 526 int retval, port, num_channels, ch_mask; in rt1316_sdw_hw_params() local 547 num_channels = params_channels(params); in rt1316_sdw_hw_params() 548 ch_mask = (1 << num_channels) - 1; in rt1316_sdw_hw_params() 551 stream_config.ch_count = num_channels; in rt1316_sdw_hw_params()
|
D | rt5682-sdw.c | 137 int retval, port, num_channels; in rt5682_sdw_hw_params() local 163 num_channels = params_channels(params); in rt5682_sdw_hw_params() 164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
|
D | rt715-sdca.c | 827 int retval, port, num_channels; in rt715_sdca_pcm_hw_params() local 861 num_channels = params_channels(params); in rt715_sdca_pcm_hw_params() 862 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt715_sdca_pcm_hw_params()
|
/sound/soc/sprd/ |
D | sprd-pcm-compress.c | 75 int num_channels; member 294 compr_params.channels = stream->num_channels; in sprd_platform_compr_set_params() 335 stream->num_channels = 2; in sprd_platform_compr_open() 400 for (i = 0; i < stream->num_channels; i++) { in sprd_platform_compr_free() 425 int channels = stream->num_channels, ret = 0, i; in sprd_platform_compr_trigger()
|
/sound/soc/fsl/ |
D | imx-card.c | 82 unsigned int num_channels; member 424 constraint_channels.count = data->plat_data->num_channels; in imx_aif_startup() 802 plat_data->num_channels = ARRAY_SIZE(ak4458_channels); in imx_card_probe() 810 plat_data->num_channels = ARRAY_SIZE(ak4458_channels); in imx_card_probe() 819 plat_data->num_channels = ARRAY_SIZE(ak5558_channels); in imx_card_probe()
|
/sound/pci/ice1712/ |
D | revo.c | 182 #define AK_DAC(xname,xch) { .name = xname, .num_channels = xch } 187 .num_channels = 2, 219 .num_channels = 2,
|
/sound/soc/intel/avs/ |
D | path.c | 87 params_channels(params) == fmt->num_channels && in avs_test_hw_params() 102 variant->fe_fmt->sampling_freq, variant->fe_fmt->num_channels, in avs_path_find_variant() 105 variant->be_fmt->sampling_freq, variant->be_fmt->num_channels, in avs_path_find_variant() 179 fmt->num_channels, fmt->sampling_freq, direction, in avs_copier_create() 203 fmt->bit_depth, fmt->num_channels, in avs_copier_create()
|
/sound/soc/intel/catpt/ |
D | pcm.c | 240 static enum catpt_channel_config catpt_get_channel_config(u32 num_channels) in catpt_get_channel_config() argument 242 switch (num_channels) { in catpt_get_channel_config() 393 afmt.num_channels = params_channels(params); in catpt_dai_hw_params() 394 afmt.channel_config = catpt_get_channel_config(afmt.num_channels); in catpt_dai_hw_params()
|