Home
last modified time | relevance | path

Searched refs:codec_np (Results 1 – 13 of 13) sorted by relevance

/sound/soc/fsl/
Dimx-sgtl5000.c61 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()
119 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe()
143 data->dai.codec_of_node = codec_np; in imx_sgtl5000_probe()
173 of_node_put(codec_np); in imx_sgtl5000_probe()
181 of_node_put(codec_np); in imx_sgtl5000_probe()
Dimx-wm8962.c155 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()
278 of_node_put(codec_np); in imx_wm8962_probe()
286 of_node_put(codec_np); in imx_wm8962_probe()
Dimx-es8328.c81 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()
Dmpc8610_hpcd.c195 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()
Dp1022_ds.c205 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()
Dp1022_rdk.c209 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()
Deukrea-tlv320.c91 struct device_node *ssi_np = NULL, *codec_np = NULL; in eukrea_tlv320_probe() local
112 codec_np = of_parse_phandle(ssi_np, "codec-handle", 0); in eukrea_tlv320_probe()
113 if (codec_np) in eukrea_tlv320_probe()
114 eukrea_tlv320_dai.codec_of_node = codec_np; in eukrea_tlv320_probe()
Dfsl-asoc-card.c451 struct device_node *cpu_np, *codec_np, *asrc_np; in fsl_asoc_card_probe() local
482 codec_np = of_parse_phandle(np, "audio-codec", 0); in fsl_asoc_card_probe()
483 if (codec_np) in fsl_asoc_card_probe()
484 codec_dev = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe()
597 priv->dai_link[0].codec_of_node = codec_np; in fsl_asoc_card_probe()
623 priv->dai_link[2].codec_of_node = codec_np; in fsl_asoc_card_probe()
661 of_node_put(codec_np); in fsl_asoc_card_probe()
/sound/soc/mxs/
Dmxs-sgtl5000.c108 struct device_node *saif_np[2], *codec_np; in mxs_sgtl5000_probe() local
112 codec_np = of_parse_phandle(np, "audio-codec", 0); in mxs_sgtl5000_probe()
113 if (!saif_np[0] || !saif_np[1] || !codec_np) { in mxs_sgtl5000_probe()
120 mxs_sgtl5000_dai[i].codec_of_node = codec_np; in mxs_sgtl5000_probe()
127 of_node_put(codec_np); in mxs_sgtl5000_probe()
/sound/soc/atmel/
Dsam9x5_wm8731.c81 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()
Datmel_wm8904.c83 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()
Dsam9g20_wm8731.c162 struct device_node *codec_np, *cpu_np; in at91sam9g20ek_audio_probe() local
216 codec_np = of_parse_phandle(np, "atmel,audio-codec", 0); in at91sam9g20ek_audio_probe()
217 if (!codec_np) { in at91sam9g20ek_audio_probe()
221 at91sam9g20ek_dai.codec_of_node = codec_np; in at91sam9g20ek_audio_probe()
234 of_node_put(codec_np); in at91sam9g20ek_audio_probe()
/sound/soc/ux500/
Dmop500.c74 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()
92 mop500_dai_links[i].codec_of_node = codec_np; in mop500_of_probe()