Searched refs:np_codec (Results 1 – 2 of 2) sorted by relevance
477 static int rockchip_sound_codec_node_match(struct device_node *np_codec) in rockchip_sound_codec_node_match() argument483 if (!of_device_is_compatible(np_codec, in rockchip_sound_codec_node_match()489 np_codec); in rockchip_sound_codec_node_match()504 struct device_node *np_codec; in rockchip_sound_of_parse_dais() local530 np_codec = of_parse_phandle(dev->of_node, in rockchip_sound_of_parse_dais()532 if (!np_codec) in rockchip_sound_of_parse_dais()535 if (!of_device_is_available(np_codec)) in rockchip_sound_of_parse_dais()538 index = rockchip_sound_codec_node_match(np_codec); in rockchip_sound_of_parse_dais()547 np_cpu = np_codec; in rockchip_sound_of_parse_dais()564 dai->codecs->of_node = np_codec; in rockchip_sound_of_parse_dais()
425 struct device_node *np_codec, *np_i2s, *np_ac97; in tegra_asoc_machine_probe() local498 np_codec = tegra_machine_parse_phandle(dev, "nvidia,audio-codec"); in tegra_asoc_machine_probe()499 if (IS_ERR(np_codec)) in tegra_asoc_machine_probe()500 return PTR_ERR(np_codec); in tegra_asoc_machine_probe()507 card->dai_link->codecs->of_node = np_codec; in tegra_asoc_machine_probe()