Lines Matching refs:sub_node
18 struct device_node *sub_node, in set_card_codec_info() argument
25 codec_node = of_get_child_by_name(sub_node, "codec"); in set_card_codec_info()
48 struct device_node *sub_node, in set_dailink_daifmt() argument
62 daifmt = snd_soc_daifmt_parse_format(sub_node, NULL); in set_dailink_daifmt()
72 ret = of_property_read_string(sub_node, "mediatek,clk-provider", &str); in set_dailink_daifmt()
91 struct device_node *sub_node; in parse_dai_link_info() local
97 for_each_available_child_of_node(dev->of_node, sub_node) { in parse_dai_link_info()
98 if (of_property_read_string(sub_node, "link-name", in parse_dai_link_info()
100 of_node_put(sub_node); in parse_dai_link_info()
110 of_node_put(sub_node); in parse_dai_link_info()
114 ret = set_card_codec_info(card, sub_node, dai_link); in parse_dai_link_info()
116 of_node_put(sub_node); in parse_dai_link_info()
120 ret = set_dailink_daifmt(card, sub_node, dai_link); in parse_dai_link_info()
122 of_node_put(sub_node); in parse_dai_link_info()