Searched refs:np_codec (Results 1 – 2 of 2) sorted by relevance
475 static int rockchip_sound_codec_node_match(struct device_node *np_codec) in rockchip_sound_codec_node_match() argument 481 if (!of_device_is_compatible(np_codec, in rockchip_sound_codec_node_match() 487 np_codec); in rockchip_sound_codec_node_match() 502 struct device_node *np_codec; in rockchip_sound_of_parse_dais() local 528 np_codec = of_parse_phandle(dev->of_node, in rockchip_sound_of_parse_dais() 530 if (!np_codec) in rockchip_sound_of_parse_dais() 533 if (!of_device_is_available(np_codec)) in rockchip_sound_of_parse_dais() 536 index = rockchip_sound_codec_node_match(np_codec); in rockchip_sound_of_parse_dais() 545 np_cpu = np_codec; in rockchip_sound_of_parse_dais() 562 dai->codecs->of_node = np_codec; in rockchip_sound_of_parse_dais() [all...]
428 struct device_node *np_codec, *np_i2s, *np_ac97; in tegra_asoc_machine_probe() local 501 np_codec = tegra_machine_parse_phandle(dev, "nvidia,audio-codec"); in tegra_asoc_machine_probe() 502 if (IS_ERR(np_codec)) in tegra_asoc_machine_probe() 503 return PTR_ERR(np_codec); in tegra_asoc_machine_probe() 510 card->dai_link->codecs->of_node = np_codec; in tegra_asoc_machine_probe()