/sound/soc/fsl/ |
D | imx-sgtl5000.c | 61 struct device_node *ssi_np, *codec_np; in imx_sgtl5000_probe() local 105 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_sgtl5000_probe() 106 if (!ssi_np || !codec_np) { in imx_sgtl5000_probe() 118 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe() 141 data->dai.codec_of_node = codec_np; in imx_sgtl5000_probe() 171 of_node_put(codec_np); in imx_sgtl5000_probe() 180 if (codec_np) in imx_sgtl5000_probe() 181 of_node_put(codec_np); in imx_sgtl5000_probe()
|
D | imx-wm8962.c | 155 struct device_node *ssi_np, *codec_np; in imx_wm8962_probe() local 202 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_wm8962_probe() 203 if (!ssi_np || !codec_np) { in imx_wm8962_probe() 215 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_wm8962_probe() 245 data->dai.codec_of_node = codec_np; in imx_wm8962_probe() 277 of_node_put(codec_np); in imx_wm8962_probe() 286 if (codec_np) in imx_wm8962_probe() 287 of_node_put(codec_np); in imx_wm8962_probe()
|
D | imx-es8328.c | 81 struct device_node *ssi_np = NULL, *codec_np = NULL; in imx_es8328_probe() local 137 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 138 if (!ssi_np || !codec_np) { in imx_es8328_probe() 164 data->dai.codec_of_node = codec_np; in imx_es8328_probe() 197 of_node_put(codec_np); in imx_es8328_probe()
|
D | mpc8610_hpcd.c | 195 struct device_node *codec_np = NULL; in mpc8610_hpcd_probe() local 202 codec_np = of_parse_phandle(np, "codec-handle", 0); in mpc8610_hpcd_probe() 203 if (!codec_np) { in mpc8610_hpcd_probe() 218 machine_data->dai[0].codec_of_node = codec_np; in mpc8610_hpcd_probe() 257 iprop = of_get_property(codec_np, "clock-frequency", NULL); in mpc8610_hpcd_probe() 356 of_node_put(codec_np); in mpc8610_hpcd_probe() 363 of_node_put(codec_np); in mpc8610_hpcd_probe()
|
D | p1022_ds.c | 205 struct device_node *codec_np = NULL; in p1022_ds_probe() local 212 codec_np = of_parse_phandle(np, "codec-handle", 0); in p1022_ds_probe() 213 if (!codec_np) { in p1022_ds_probe() 228 mdata->dai[0].codec_of_node = codec_np; in p1022_ds_probe() 267 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_ds_probe() 364 of_node_put(codec_np); in p1022_ds_probe() 371 of_node_put(codec_np); in p1022_ds_probe()
|
D | p1022_rdk.c | 209 struct device_node *codec_np = NULL; in p1022_rdk_probe() local 215 codec_np = of_parse_phandle(np, "codec-handle", 0); in p1022_rdk_probe() 216 if (!codec_np) { in p1022_rdk_probe() 231 mdata->dai[0].codec_of_node = codec_np; in p1022_rdk_probe() 259 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_rdk_probe() 321 of_node_put(codec_np); in p1022_rdk_probe()
|
D | eukrea-tlv320.c | 108 struct device_node *ssi_np = NULL, *codec_np = NULL; in eukrea_tlv320_probe() local 129 codec_np = of_parse_phandle(ssi_np, "codec-handle", 0); in eukrea_tlv320_probe() 130 if (codec_np) in eukrea_tlv320_probe() 131 eukrea_tlv320_dai.codec_of_node = codec_np; in eukrea_tlv320_probe()
|
D | fsl-asoc-card.c | 387 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local 405 codec_np = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe() 406 if (!cpu_np || !codec_np) { in fsl_asoc_card_probe() 419 codec_dev = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe() 500 priv->dai_link[0].codec_of_node = codec_np; in fsl_asoc_card_probe() 511 priv->dai_link[2].codec_of_node = codec_np; in fsl_asoc_card_probe() 548 of_node_put(codec_np); in fsl_asoc_card_probe()
|
/sound/soc/atmel/ |
D | sam9x5_wm8731.c | 81 struct device_node *codec_np, *cpu_np; in sam9x5_wm8731_driver_probe() local 127 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in sam9x5_wm8731_driver_probe() 128 if (!codec_np) { in sam9x5_wm8731_driver_probe() 134 dai->codec_of_node = codec_np; in sam9x5_wm8731_driver_probe() 155 of_node_put(codec_np); in sam9x5_wm8731_driver_probe()
|
D | atmel_wm8904.c | 83 struct device_node *codec_np, *cpu_np; in atmel_asoc_wm8904_dt_init() local 115 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in atmel_asoc_wm8904_dt_init() 116 if (!codec_np) { in atmel_asoc_wm8904_dt_init() 121 dailink->codec_of_node = codec_np; in atmel_asoc_wm8904_dt_init() 122 of_node_put(codec_np); in atmel_asoc_wm8904_dt_init()
|
D | sam9g20_wm8731.c | 195 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local 252 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in at91sam9g20ek_audio_probe() 253 if (!codec_np) { in at91sam9g20ek_audio_probe() 257 at91sam9g20ek_dai.codec_of_node = codec_np; in at91sam9g20ek_audio_probe() 270 of_node_put(codec_np); in at91sam9g20ek_audio_probe()
|
/sound/soc/mxs/ |
D | mxs-sgtl5000.c | 130 struct device_node *saif_np[2], *codec_np; in mxs_sgtl5000_probe() local 134 codec_np = of_parse_phandle(np, "audio-codec", 0); in mxs_sgtl5000_probe() 135 if (!saif_np[0] || !saif_np[1] || !codec_np) { in mxs_sgtl5000_probe() 142 mxs_sgtl5000_dai[i].codec_of_node = codec_np; in mxs_sgtl5000_probe() 149 of_node_put(codec_np); in mxs_sgtl5000_probe()
|
/sound/soc/ux500/ |
D | mop500.c | 78 struct device_node *codec_np, *msp_np[2]; in mop500_of_probe() local 83 codec_np = of_parse_phandle(np, "stericsson,audio-codec", 0); in mop500_of_probe() 85 if (!(msp_np[0] && msp_np[1] && codec_np)) { in mop500_of_probe() 96 mop500_dai_links[i].codec_of_node = codec_np; in mop500_of_probe()
|