/sound/soc/atmel/ |
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() 131 if (codec_np == bitclkmaster) in snd_proto_probe() 140 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() 159 of_node_put(codec_np); in sam9x5_wm8731_driver_probe()
|
D | sam9g20_wm8731.c | 150 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local 204 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in at91sam9g20ek_audio_probe() 205 if (!codec_np) { in at91sam9g20ek_audio_probe() 209 at91sam9g20ek_dai.codecs->of_node = codec_np; in at91sam9g20ek_audio_probe() 222 of_node_put(codec_np); in at91sam9g20ek_audio_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()
|
/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() 183 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 131 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 132 if (!ssi_np || !codec_np) { in imx_es8328_probe() 172 data->dai.codecs->of_node = codec_np; in imx_es8328_probe() 205 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 | 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 | eukrea-tlv320.c | 89 struct device_node *ssi_np = NULL, *codec_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 | 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 | fsl-asoc-card.c | 483 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local 514 codec_np = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe() 515 if (codec_np) in fsl_asoc_card_probe() 516 codec_dev = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe() 638 priv->dai_link[0].codecs->of_node = codec_np; in fsl_asoc_card_probe() 668 priv->dai_link[2].codecs->of_node = codec_np; in fsl_asoc_card_probe() 706 of_node_put(codec_np); in fsl_asoc_card_probe()
|
/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() 126 mxs_sgtl5000_dai[i].codecs->of_node = codec_np; in mxs_sgtl5000_probe() 133 of_node_put(codec_np); in mxs_sgtl5000_probe()
|
/sound/soc/ux500/ |
D | mop500.c | 75 struct device_node *codec_np, *msp_np[2]; in mop500_of_probe() local 80 codec_np = of_parse_phandle(np, "stericsson,audio-codec", 0); in mop500_of_probe() 82 if (!(msp_np[0] && msp_np[1] && codec_np)) { in mop500_of_probe() 93 mop500_dai_links[i].codecs->of_node = codec_np; in mop500_of_probe()
|