Searched refs:cpu_np (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/sound/soc/atmel/ |
H A D | sam9x5_wm8731.c | 81 struct device_node *codec_np, *cpu_np; sam9x5_wm8731_driver_probe() local 136 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); sam9x5_wm8731_driver_probe() 137 if (!cpu_np) { sam9x5_wm8731_driver_probe() 142 dai->cpu_of_node = cpu_np; sam9x5_wm8731_driver_probe() 143 dai->platform_of_node = cpu_np; sam9x5_wm8731_driver_probe() 145 priv->ssc_id = of_alias_get_id(cpu_np, "ssc"); sam9x5_wm8731_driver_probe() 156 of_node_put(cpu_np); sam9x5_wm8731_driver_probe()
|
H A D | atmel_wm8904.c | 83 struct device_node *codec_np, *cpu_np; atmel_asoc_wm8904_dt_init() local 105 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); atmel_asoc_wm8904_dt_init() 106 if (!cpu_np) { atmel_asoc_wm8904_dt_init() 111 dailink->cpu_of_node = cpu_np; atmel_asoc_wm8904_dt_init() 112 dailink->platform_of_node = cpu_np; atmel_asoc_wm8904_dt_init() 113 of_node_put(cpu_np); atmel_asoc_wm8904_dt_init()
|
H A D | sam9g20_wm8731.c | 162 struct device_node *codec_np, *cpu_np; at91sam9g20ek_audio_probe() local 226 cpu_np = of_parse_phandle(np, "atmel,ssc-controller", 0); at91sam9g20ek_audio_probe() 227 if (!cpu_np) { at91sam9g20ek_audio_probe() 231 at91sam9g20ek_dai.cpu_of_node = cpu_np; at91sam9g20ek_audio_probe() 232 at91sam9g20ek_dai.platform_of_node = cpu_np; at91sam9g20ek_audio_probe() 235 of_node_put(cpu_np); at91sam9g20ek_audio_probe()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | fsl-asoc-card.c | 451 struct device_node *cpu_np, *codec_np, *asrc_np; fsl_asoc_card_probe() local 465 cpu_np = of_parse_phandle(np, "audio-cpu", 0); fsl_asoc_card_probe() 467 if (!cpu_np) fsl_asoc_card_probe() 468 cpu_np = of_parse_phandle(np, "ssi-controller", 0); fsl_asoc_card_probe() 469 if (!cpu_np) { fsl_asoc_card_probe() 475 cpu_pdev = of_find_device_by_node(cpu_np); fsl_asoc_card_probe() 553 if (strstr(cpu_np->name, "ssi")) { fsl_asoc_card_probe() 560 } else if (strstr(cpu_np->name, "esai")) { fsl_asoc_card_probe() 563 } else if (strstr(cpu_np->name, "sai")) { fsl_asoc_card_probe() 593 priv->dai_link[0].cpu_of_node = cpu_np; fsl_asoc_card_probe() 601 ret = of_property_read_u32(cpu_np, "cell-index", &idx); fsl_asoc_card_probe() 614 priv->dai_link[0].platform_of_node = cpu_np; fsl_asoc_card_probe() 626 priv->dai_link[2].cpu_of_node = cpu_np; fsl_asoc_card_probe() 663 of_node_put(cpu_np); fsl_asoc_card_probe()
|
Completed in 163 milliseconds