/linux-6.12.1/sound/soc/atmel/ |
D | sam9g20_wm8731.c | 122 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local 150 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in at91sam9g20ek_audio_probe() 151 if (!codec_np) { in at91sam9g20ek_audio_probe() 156 at91sam9g20ek_dai.codecs->of_node = codec_np; in at91sam9g20ek_audio_probe() 164 of_node_put(codec_np); in at91sam9g20ek_audio_probe() 171 of_node_put(codec_np); in at91sam9g20ek_audio_probe()
|
D | mikroe-proto.c | 68 struct device_node *codec_np, *cpu_np; in snd_proto_probe() local 108 codec_np = of_parse_phandle(np, "audio-codec", 0); in snd_proto_probe() 109 if (!codec_np) { in snd_proto_probe() 113 dai->codecs->of_node = codec_np; in snd_proto_probe() 133 if (codec_np == bitclkmaster) in snd_proto_probe() 154 of_node_put(codec_np); in snd_proto_probe()
|
D | atmel_wm8904.c | 86 struct device_node *codec_np, *cpu_np; in atmel_asoc_wm8904_dt_init() local 118 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in atmel_asoc_wm8904_dt_init() 119 if (!codec_np) { in atmel_asoc_wm8904_dt_init() 124 dailink->codecs->of_node = codec_np; in atmel_asoc_wm8904_dt_init() 125 of_node_put(codec_np); in atmel_asoc_wm8904_dt_init()
|
D | sam9x5_wm8731.c | 76 struct device_node *codec_np, *cpu_np; in sam9x5_wm8731_driver_probe() local 132 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in sam9x5_wm8731_driver_probe() 133 if (!codec_np) { in sam9x5_wm8731_driver_probe() 139 dai->codecs->of_node = codec_np; in sam9x5_wm8731_driver_probe() 174 of_node_put(codec_np); in sam9x5_wm8731_driver_probe()
|
D | tse850-pcm5142.c | 324 struct device_node *codec_np, *cpu_np; in tse850_dt_init() local 341 codec_np = of_parse_phandle(np, "axentia,audio-codec", 0); in tse850_dt_init() 342 if (!codec_np) { in tse850_dt_init() 346 dailink->codecs->of_node = codec_np; in tse850_dt_init() 347 of_node_put(codec_np); in tse850_dt_init()
|
/linux-6.12.1/sound/soc/fsl/ |
D | imx-sgtl5000.c | 54 struct device_node *ssi_np, *codec_np; in imx_sgtl5000_probe() local 99 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_sgtl5000_probe() 100 if (!ssi_np || !codec_np) { in imx_sgtl5000_probe() 113 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe() 151 data->dai.codecs->of_node = codec_np; in imx_sgtl5000_probe() 181 of_node_put(codec_np); in imx_sgtl5000_probe() 191 of_node_put(codec_np); in imx_sgtl5000_probe()
|
D | fsl-asoc-card.c | 463 static int fsl_asoc_card_spdif_init(struct device_node *codec_np[], in fsl_asoc_card_spdif_init() argument 480 if (!codec_np[i]) in fsl_asoc_card_spdif_init() 483 if (of_device_is_compatible(codec_np[i], "linux,spdif-dit")) { in fsl_asoc_card_spdif_init() 486 } else if (of_device_is_compatible(codec_np[i], "linux,spdif-dir")) { in fsl_asoc_card_spdif_init() 493 if (!codec_np[0]) { in fsl_asoc_card_spdif_init() 519 if (!codec_np[0]) { in fsl_asoc_card_spdif_init() 524 if (codec_np[0] && codec_np[1]) { in fsl_asoc_card_spdif_init() 615 struct device_node *codec_np[2]; in fsl_asoc_card_probe() local 656 codec_np[0] = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe() 657 codec_np[1] = of_parse_phandle(np, "audio-codec", 1); in fsl_asoc_card_probe() [all …]
|
D | imx-es8328.c | 89 struct device_node *ssi_np = NULL, *codec_np = NULL; in imx_es8328_probe() local 147 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 148 if (!ssi_np || !codec_np) { in imx_es8328_probe() 196 data->dai.codecs->of_node = codec_np; in imx_es8328_probe() 232 of_node_put(codec_np); in imx_es8328_probe()
|
D | p1022_ds.c | 200 struct device_node *codec_np = NULL; in p1022_ds_probe() local 208 codec_np = of_parse_phandle(np, "codec-handle", 0); in p1022_ds_probe() 209 if (!codec_np) { in p1022_ds_probe() 247 mdata->dai[0].codecs->of_node = codec_np; in p1022_ds_probe() 286 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_ds_probe() 383 of_node_put(codec_np); in p1022_ds_probe() 390 of_node_put(codec_np); in p1022_ds_probe()
|
D | eukrea-tlv320.c | 89 struct device_node *ssi_np = NULL, *codec_np = NULL, *tmp_np = NULL; in eukrea_tlv320_probe() local 110 codec_np = of_parse_phandle(ssi_np, "codec-handle", 0); in eukrea_tlv320_probe() 111 if (codec_np) in eukrea_tlv320_probe() 112 eukrea_tlv320_dai.codecs->of_node = codec_np; in eukrea_tlv320_probe()
|
D | p1022_rdk.c | 216 struct device_node *codec_np = NULL; in p1022_rdk_probe() local 223 codec_np = of_parse_phandle(np, "codec-handle", 0); in p1022_rdk_probe() 224 if (!codec_np) { in p1022_rdk_probe() 261 mdata->dai[0].codecs->of_node = codec_np; in p1022_rdk_probe() 289 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_rdk_probe() 351 of_node_put(codec_np); in p1022_rdk_probe()
|
D | imx-rpmsg.c | 44 struct device_node *codec_np; in imx_rpmsg_late_probe() local 48 codec_np = data->dai.codecs->of_node; in imx_rpmsg_late_probe() 49 if (codec_np) { in imx_rpmsg_late_probe() 53 codec_i2c = of_find_i2c_device_by_node(codec_np); in imx_rpmsg_late_probe() 57 codec_pdev = of_find_device_by_node(codec_np); in imx_rpmsg_late_probe()
|
/linux-6.12.1/sound/soc/mxs/ |
D | mxs-sgtl5000.c | 113 struct device_node *saif_np[2], *codec_np; in mxs_sgtl5000_probe() local 117 codec_np = of_parse_phandle(np, "audio-codec", 0); in mxs_sgtl5000_probe() 118 if (!saif_np[0] || !saif_np[1] || !codec_np) { in mxs_sgtl5000_probe() 120 of_node_put(codec_np); in mxs_sgtl5000_probe() 128 mxs_sgtl5000_dai[i].codecs->of_node = codec_np; in mxs_sgtl5000_probe() 135 of_node_put(codec_np); in mxs_sgtl5000_probe()
|
/linux-6.12.1/sound/soc/ux500/ |
D | mop500.c | 74 struct device_node *codec_np, *msp_np[2]; in mop500_of_probe() local 79 codec_np = of_parse_phandle(np, "stericsson,audio-codec", 0); in mop500_of_probe() 81 if (!(msp_np[0] && msp_np[1] && codec_np)) { in mop500_of_probe() 85 of_node_put(codec_np); in mop500_of_probe() 94 mop500_dai_links[i].codecs->of_node = codec_np; in mop500_of_probe()
|