/linux-6.1.9/sound/soc/atmel/ |
D | sam9g20_wm8731.c | 120 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local 148 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in at91sam9g20ek_audio_probe() 149 if (!codec_np) { in at91sam9g20ek_audio_probe() 154 at91sam9g20ek_dai.codecs->of_node = codec_np; in at91sam9g20ek_audio_probe() 162 of_node_put(codec_np); in at91sam9g20ek_audio_probe() 169 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 | 87 struct device_node *codec_np, *cpu_np; in atmel_asoc_wm8904_dt_init() local 119 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in atmel_asoc_wm8904_dt_init() 120 if (!codec_np) { in atmel_asoc_wm8904_dt_init() 125 dailink->codecs->of_node = codec_np; in atmel_asoc_wm8904_dt_init() 126 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 | 326 struct device_node *codec_np, *cpu_np; in tse850_dt_init() local 343 codec_np = of_parse_phandle(np, "axentia,audio-codec", 0); in tse850_dt_init() 344 if (!codec_np) { in tse850_dt_init() 348 dailink->codecs->of_node = codec_np; in tse850_dt_init() 349 of_node_put(codec_np); in tse850_dt_init()
|
/linux-6.1.9/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 | imx-es8328.c | 74 struct device_node *ssi_np = NULL, *codec_np = NULL; in imx_es8328_probe() local 132 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 133 if (!ssi_np || !codec_np) { in imx_es8328_probe() 173 data->dai.codecs->of_node = codec_np; in imx_es8328_probe() 208 of_node_put(codec_np); in imx_es8328_probe()
|
D | mpc8610_hpcd.c | 190 struct device_node *codec_np = NULL; in mpc8610_hpcd_probe() local 198 codec_np = of_parse_phandle(np, "codec-handle", 0); in mpc8610_hpcd_probe() 199 if (!codec_np) { in mpc8610_hpcd_probe() 236 machine_data->dai[0].codecs->of_node = codec_np; in mpc8610_hpcd_probe() 275 iprop = of_get_property(codec_np, "clock-frequency", NULL); in mpc8610_hpcd_probe() 374 of_node_put(codec_np); in mpc8610_hpcd_probe() 381 of_node_put(codec_np); in mpc8610_hpcd_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 | p1022_rdk.c | 204 struct device_node *codec_np = NULL; in p1022_rdk_probe() local 211 codec_np = of_parse_phandle(np, "codec-handle", 0); in p1022_rdk_probe() 212 if (!codec_np) { in p1022_rdk_probe() 249 mdata->dai[0].codecs->of_node = codec_np; in p1022_rdk_probe() 277 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_rdk_probe() 339 of_node_put(codec_np); in p1022_rdk_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 | fsl-asoc-card.c | 530 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local 565 codec_np = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe() 566 if (codec_np) { in fsl_asoc_card_probe() 570 codec_i2c = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe() 576 codec_pdev = of_find_device_by_node(codec_np); in fsl_asoc_card_probe() 703 if (codec_np == bitclkprovider) in fsl_asoc_card_probe() 704 daifmt |= (codec_np == frameprovider) ? in fsl_asoc_card_probe() 707 daifmt |= (codec_np == frameprovider) ? in fsl_asoc_card_probe() 788 priv->dai_link[0].codecs->of_node = codec_np; in fsl_asoc_card_probe() 818 priv->dai_link[2].codecs->of_node = codec_np; in fsl_asoc_card_probe() [all …]
|
/linux-6.1.9/sound/soc/mxs/ |
D | mxs-sgtl5000.c | 114 struct device_node *saif_np[2], *codec_np; in mxs_sgtl5000_probe() local 118 codec_np = of_parse_phandle(np, "audio-codec", 0); in mxs_sgtl5000_probe() 119 if (!saif_np[0] || !saif_np[1] || !codec_np) { in mxs_sgtl5000_probe() 121 of_node_put(codec_np); in mxs_sgtl5000_probe() 129 mxs_sgtl5000_dai[i].codecs->of_node = codec_np; in mxs_sgtl5000_probe() 136 of_node_put(codec_np); in mxs_sgtl5000_probe()
|
/linux-6.1.9/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()
|