/linux-6.8/sound/soc/mediatek/ |
D | Kconfig | 12 that can be used with other codecs. 23 with the CS42448 codecs. 33 with the WM8960 codecs. 43 that can be used with other codecs. 53 with the MT6351 codecs. 63 that can be used with other codecs. 73 boards with the WM8960 codecs. 83 that can be used with other codecs. 109 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs" 115 with the RT5650 and RT5514 codecs. [all …]
|
/linux-6.8/drivers/media/platform/qcom/venus/ |
D | hfi_parser.c | 41 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() argument 51 if (cap->codec & codecs && cap->domain == domain) in for_each_codec() 66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode() argument 81 codecs, domain, fill_buf_mode, type, 1); in parse_alloc_mode() 100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level() argument 111 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_profile_level() 128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps() argument 140 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_caps() 157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats() argument 185 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_raw_formats() [all …]
|
/linux-6.8/sound/aoa/fabrics/ |
D | layout.c | 7 * This fabric module looks for sound codecs based on the 51 * fabric has to know the codec anyway and all codecs might have 65 struct codec_connect_info codecs[MAX_CODECS_PER_BUS]; member 276 .codecs[0] = { 280 .codecs[1] = { 287 .codecs[0] = { 294 .codecs[0] = { 302 .codecs[0] = { 309 .codecs[0] = { 317 .codecs[0] = { [all …]
|
/linux-6.8/sound/soc/intel/avs/boards/ |
D | hdaudio.c | 15 #include "../../../codecs/hda.h" 48 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_links() 50 if (!dl[i].codecs || !dl[i].cpus) in avs_create_dai_links() 57 dl[i].codecs->name = devm_kstrdup(dev, cname, GFP_KERNEL); in avs_create_dai_links() 58 if (!dl[i].codecs->name) in avs_create_dai_links() 61 dl[i].codecs->dai_name = pcm->name; in avs_create_dai_links() 190 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe() 191 if (!binder->platforms || !binder->codecs) in avs_hdaudio_probe() 194 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe() 195 if (!binder->codecs->name) in avs_hdaudio_probe() [all …]
|
D | ssm4567.c | 16 #include "../../../codecs/nau8825.h" 102 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link() 103 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 108 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343B:00"); in avs_create_dai_link() 109 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, "ssm4567-hifi"); in avs_create_dai_link() 110 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343B:01"); in avs_create_dai_link() 111 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, "ssm4567-hifi"); in avs_create_dai_link() 112 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 113 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
D | max98927.c | 111 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link() 112 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 117 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV0_NAME); in avs_create_dai_link() 118 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_CODEC_NAME); in avs_create_dai_link() 119 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV1_NAME); in avs_create_dai_link() 120 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_CODEC_NAME); in avs_create_dai_link() 121 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 122 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
D | max98373.c | 114 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link() 115 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 120 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_DEV0_NAME); in avs_create_dai_link() 121 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_CODEC_NAME); in avs_create_dai_link() 122 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_DEV1_NAME); in avs_create_dai_link() 123 dl->codecs[1].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_CODEC_NAME); in avs_create_dai_link() 124 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 125 !dl->codecs[1].name || !dl->codecs[1].dai_name) in avs_create_dai_link()
|
D | rt5514.c | 17 #include "../../../codecs/rt5514.h" 103 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 104 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 109 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5514:00"); in avs_create_dai_link() 110 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT5514_CODEC_DAI); in avs_create_dai_link() 111 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | max98357a.c | 65 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 66 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 71 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "MX98357A:00"); in avs_create_dai_link() 72 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "HiFi"); in avs_create_dai_link() 73 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | rt286.c | 15 #include "../../../codecs/rt286.h" 133 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 134 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 139 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link() 140 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT286_CODEC_DAI); in avs_create_dai_link() 141 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | rt298.c | 16 #include "../../../codecs/rt298.h" 150 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 151 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 156 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link() 157 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT298_CODEC_DAI); in avs_create_dai_link() 158 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | rt5663.c | 17 #include "../../../codecs/rt5663.h" 152 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 153 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 158 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5663:00"); in avs_create_dai_link() 159 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT5663_CODEC_DAI); in avs_create_dai_link() 160 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | rt274.c | 15 #include "../../../codecs/rt274.h" 164 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 165 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 170 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT34C2:00"); in avs_create_dai_link() 171 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, RT274_CODEC_DAI); in avs_create_dai_link() 172 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
D | da7219.c | 18 #include "../../../codecs/da7219.h" 184 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link() 185 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 190 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-DLGS7219:00"); in avs_create_dai_link() 191 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, DA7219_DAI_NAME); in avs_create_dai_link() 192 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
|
/linux-6.8/sound/soc/intel/boards/ |
D | sof_ssp_common.c | 25 static const struct codec_map codecs[] = { variable 71 for (i = 0; i < ARRAY_SIZE(codecs); i++) { in sof_ssp_detect_codec_type() 72 if (!acpi_dev_present(codecs[i].acpi_hid, NULL, -1)) in sof_ssp_detect_codec_type() 75 dev_dbg(dev, "codec %s found\n", codecs[i].name); in sof_ssp_detect_codec_type() 76 return codecs[i].codec_type; in sof_ssp_detect_codec_type() 103 for (i = 0; i < ARRAY_SIZE(codecs); i++) { in sof_ssp_get_codec_name() 104 if (codecs[i].codec_type != codec_type) in sof_ssp_get_codec_name() 107 return codecs[i].name; in sof_ssp_get_codec_name()
|
D | sof_board_helpers.c | 124 /* codecs - caller to handle */ in sof_intel_board_set_codec_link() 172 /* codecs */ in sof_intel_board_set_dmic_link() 173 link->codecs = dmic_component; in sof_intel_board_set_dmic_link() 195 struct snd_soc_dai_link_component *cpus, *codecs; in sof_intel_board_set_intel_hdmi_link() local 218 /* codecs */ in sof_intel_board_set_intel_hdmi_link() 220 codecs = devm_kzalloc(dev, in sof_intel_board_set_intel_hdmi_link() 223 if (!codecs) in sof_intel_board_set_intel_hdmi_link() 226 codecs->name = "ehdaudio0D2"; in sof_intel_board_set_intel_hdmi_link() 227 codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_intel_board_set_intel_hdmi_link() 229 if (!codecs->dai_name) in sof_intel_board_set_intel_hdmi_link() [all …]
|
/linux-6.8/sound/soc/intel/common/ |
D | soc-acpi-intel-jsl-match.c | 14 .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, 19 .codecs = {"MX98373"} 24 .codecs = {"10EC1015"} 29 .codecs = {"RTL1015"} 34 .codecs = {"MX98360A"} 39 .codecs = {"10EC5650"} 44 .codecs = {"10EC5682", "RTL5682"},
|
D | soc-acpi-intel-kbl-match.c | 17 .codecs = {"10508825"} 22 .codecs = {"10EC5663"} 27 .codecs = {"10EC5663", "10EC5514"} 32 .codecs = {"MX98357A"} 37 .codecs = {"MX98927"} 42 .codecs = {"MX98373"}
|
/linux-6.8/sound/soc/mediatek/mt8173/ |
D | mt8173-rt5650-rt5676.c | 3 * mt8173-rt5650-rt5676.c -- MT8173 machine driver with RT5650/5676 codecs 12 #include "../../codecs/rt5645.h" 13 #include "../../codecs/rt5677.h" 265 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 267 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_rt5676_dev_probe() 273 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_rt5676_dev_probe() 275 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) { in mt8173_rt5650_rt5676_dev_probe() 282 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() 284 mt8173_rt5650_rt5676_dais[DAI_LINK_INTERCODEC].codecs->of_node = in mt8173_rt5650_rt5676_dev_probe() 285 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() [all …]
|
D | mt8173-rt5650.c | 3 * mt8173-rt5650.c -- MT8173 machine driver with RT5650 codecs 12 #include "../../codecs/rt5645.h" 289 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_dev_probe() 291 if (!mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_dev_probe() 297 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_dev_probe() 298 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node; in mt8173_rt5650_dev_probe() 310 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].dai_name = in mt8173_rt5650_dev_probe() 325 mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node = in mt8173_rt5650_dev_probe() 327 if (!mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node) { in mt8173_rt5650_dev_probe()
|
D | mt8173-rt5650-rt5514.c | 3 * mt8173-rt5650-rt5514.c -- MT8173 machine driver with RT5650/5514 codecs 12 #include "../../codecs/rt5645.h" 209 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node = in mt8173_rt5650_rt5514_dev_probe() 211 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) { in mt8173_rt5650_rt5514_dev_probe() 217 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node = in mt8173_rt5650_rt5514_dev_probe() 219 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) { in mt8173_rt5650_rt5514_dev_probe() 226 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node; in mt8173_rt5650_rt5514_dev_probe()
|
/linux-6.8/include/sound/ |
D | soc-acpi.h | 33 /* check all codecs */ 51 /* check all codecs */ 144 * This choice was found to be valid on platforms with ES8336 codecs. 162 * @comp_ids: list of compatible audio codecs using the same machine driver, 173 * audio codecs whose presence if checked with ACPI 205 * @num_codecs: number of secondary codecs used in the platform 206 * @codecs: holds the codec IDs 211 u8 codecs[SND_SOC_ACPI_MAX_CODECS][ACPI_ID_LEN]; member
|
/linux-6.8/Documentation/sound/hd-audio/ |
D | controls.rst | 8 Realtek codecs 35 IDT/Sigmatel codecs 41 (see HD-Audio.txt). Note that on some codecs the analog-loopback 62 VIA codecs 101 Conexant codecs 105 See Realtek codecs. 108 Analog codecs
|
/linux-6.8/sound/soc/rockchip/ |
D | rockchip_rt5645.c | 18 #include "../codecs/rt5645.h" 174 rk_dailink.codecs->of_node = of_parse_phandle(np, in snd_rk_mc_probe() 176 if (!rk_dailink.codecs->of_node) { in snd_rk_mc_probe() 213 of_node_put(rk_dailink.codecs->of_node); in snd_rk_mc_probe() 214 rk_dailink.codecs->of_node = NULL; in snd_rk_mc_probe() 223 of_node_put(rk_dailink.codecs->of_node); in snd_rk_mc_remove() 224 rk_dailink.codecs->of_node = NULL; in snd_rk_mc_remove()
|
/linux-6.8/Documentation/devicetree/bindings/sound/ |
D | cirrus,madera.yaml | 7 title: Cirrus Logic Madera class audio CODECs 13 This describes audio configuration bindings for these codecs. 75 CS47L35_DMIC_REF_xxx values For all other codecs one of 103 codecs that do not have OUT6. 112 of this value. The second cell is ignored for codecs that
|