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()
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()
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()
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()
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.c108 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()
Dfsl-asoc-card.c387 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/
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.c195 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/
Dmxs-sgtl5000.c130 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/
Dmop500.c78 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()