Searched refs:codec_node (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/sound/soc/mediatek/common/ |
D | mtk-soundcard-driver.c | 20 struct device_node *codec_node; in set_card_codec_info() local 23 codec_node = of_get_child_by_name(sub_node, "codec"); in set_card_codec_info() 24 if (!codec_node) { in set_card_codec_info() 30 ret = snd_soc_of_get_dai_link_codecs(dev, codec_node, dai_link); in set_card_codec_info() 32 of_node_put(codec_node); in set_card_codec_info()
|
/Linux-v6.6/sound/soc/mediatek/mt7986/ |
D | mt7986-wm8960.c | 17 struct device_node *codec_node; member 128 priv->codec_node = of_parse_phandle(codec, "sound-dai", 0); in mt7986_wm8960_machine_probe() 131 if (!priv->codec_node) { in mt7986_wm8960_machine_probe() 145 dai_link->codecs->of_node = priv->codec_node; in mt7986_wm8960_machine_probe() 161 of_node_put(priv->codec_node); in mt7986_wm8960_machine_probe() 171 of_node_put(priv->codec_node); in mt7986_wm8960_machine_remove()
|
/Linux-v6.6/sound/soc/mediatek/mt2701/ |
D | mt2701-wm8960.c | 109 struct device_node *platform_node, *codec_node; in mt2701_wm8960_machine_probe() local 127 codec_node = of_parse_phandle(pdev->dev.of_node, in mt2701_wm8960_machine_probe() 129 if (!codec_node) { in mt2701_wm8960_machine_probe() 138 dai_link->codecs->of_node = codec_node; in mt2701_wm8960_machine_probe() 153 of_node_put(codec_node); in mt2701_wm8960_machine_probe()
|
D | mt2701-cs42448.c | 332 struct device_node *platform_node, *codec_node, *codec_node_bt_mrg; in mt2701_cs42448_machine_probe() local 356 codec_node = of_parse_phandle(pdev->dev.of_node, in mt2701_cs42448_machine_probe() 358 if (!codec_node) { in mt2701_cs42448_machine_probe() 366 dai_link->codecs->of_node = codec_node; in mt2701_cs42448_machine_probe()
|
/Linux-v6.6/sound/soc/mediatek/mt8173/ |
D | mt8173-max98090.c | 149 struct device_node *codec_node, *platform_node; in mt8173_max98090_dev_probe() local 165 codec_node = of_parse_phandle(pdev->dev.of_node, in mt8173_max98090_dev_probe() 167 if (!codec_node) { in mt8173_max98090_dev_probe() 176 dai_link->codecs->of_node = codec_node; in mt8173_max98090_dev_probe() 182 of_node_put(codec_node); in mt8173_max98090_dev_probe()
|
/Linux-v6.6/sound/soc/mediatek/mt6797/ |
D | mt6797-mt6351.c | 197 struct device_node *platform_node, *codec_node; in mt6797_mt6351_dev_probe() local 215 codec_node = of_parse_phandle(pdev->dev.of_node, in mt6797_mt6351_dev_probe() 217 if (!codec_node) { in mt6797_mt6351_dev_probe() 226 dai_link->codecs->of_node = codec_node; in mt6797_mt6351_dev_probe() 234 of_node_put(codec_node); in mt6797_mt6351_dev_probe()
|
/Linux-v6.6/sound/soc/ti/ |
D | j721e-evm.c | 619 struct device_node *dai_node, *codec_node; in j721e_soc_probe_cpb() local 630 codec_node = of_parse_phandle(node, "ti,cpb-codec", 0); in j721e_soc_probe_cpb() 631 if (!codec_node) { in j721e_soc_probe_cpb() 671 priv->dai_links[*link_idx].codecs->of_node = codec_node; in j721e_soc_probe_cpb() 691 priv->dai_links[*link_idx].codecs->of_node = codec_node; in j721e_soc_probe_cpb() 700 priv->codec_conf[*conf_idx].dlc.of_node = codec_node; in j721e_soc_probe_cpb() 710 of_node_put(codec_node); in j721e_soc_probe_cpb()
|
/Linux-v6.6/sound/soc/codecs/ |
D | cpcap.c | 1667 struct device_node *codec_node = in cpcap_codec_probe() local 1669 if (!codec_node) in cpcap_codec_probe() 1672 pdev->dev.of_node = codec_node; in cpcap_codec_probe()
|