Lines Matching refs:device_node

230 static enum graph_type __graph_get_type(struct device_node *lnk)  in __graph_get_type()
232 struct device_node *np, *parent_np; in __graph_get_type()
274 struct device_node *lnk) in graph_get_type()
307 static int graph_lnk_is_multi(struct device_node *lnk) in graph_lnk_is_multi()
312 static struct device_node *graph_get_next_multi_ep(struct device_node **port) in graph_get_next_multi_ep()
314 struct device_node *ports = of_get_parent(*port); in graph_get_next_multi_ep()
315 struct device_node *ep = NULL; in graph_get_next_multi_ep()
316 struct device_node *rep = NULL; in graph_get_next_multi_ep()
356 static int graph_get_dai_id(struct device_node *ep) in graph_get_dai_id()
358 struct device_node *node; in graph_get_dai_id()
359 struct device_node *endpoint; in graph_get_dai_id()
410 static int asoc_simple_parse_dai(struct device_node *ep, in asoc_simple_parse_dai()
414 struct device_node *node; in asoc_simple_parse_dai()
461 static void graph_parse_convert(struct device_node *ep, in graph_parse_convert()
464 struct device_node *port = of_get_parent(ep); in graph_parse_convert()
465 struct device_node *ports = of_get_parent(port); in graph_parse_convert()
477 static void graph_parse_mclk_fs(struct device_node *ep, in graph_parse_mclk_fs()
480 struct device_node *port = of_get_parent(ep); in graph_parse_mclk_fs()
481 struct device_node *ports = of_get_parent(port); in graph_parse_mclk_fs()
494 struct device_node *ep, in __graph_parse_node()
580 struct device_node *rport = of_get_parent(ep); in __graph_parse_node()
581 struct device_node *rports = of_get_parent(rport); in __graph_parse_node()
604 struct device_node *port, in graph_parse_node()
607 struct device_node *ep; in graph_parse_node()
636 static void graph_parse_daifmt(struct device_node *node, in graph_parse_daifmt()
687 struct device_node *port, in graph_link_init()
692 struct device_node *ep; in graph_link_init()
693 struct device_node *ports; in graph_link_init()
741 struct device_node *lnk, in audio_graph2_link_normal()
744 struct device_node *cpu_port = lnk; in audio_graph2_link_normal()
745 struct device_node *cpu_ep = port_to_endpoint(cpu_port); in audio_graph2_link_normal()
746 struct device_node *codec_port = of_graph_get_remote_port(cpu_ep); in audio_graph2_link_normal()
775 struct device_node *lnk, in audio_graph2_link_dpcm()
778 struct device_node *ep = port_to_endpoint(lnk); in audio_graph2_link_dpcm()
779 struct device_node *rep = of_graph_get_remote_endpoint(ep); in audio_graph2_link_dpcm()
780 struct device_node *rport = of_graph_get_remote_port(ep); in audio_graph2_link_dpcm()
867 struct device_node *lnk, in audio_graph2_link_c2c()
871 struct device_node *port0, *port1, *ports; in audio_graph2_link_c2c()
872 struct device_node *codec0_port, *codec1_port; in audio_graph2_link_c2c()
873 struct device_node *ep0, *ep1; in audio_graph2_link_c2c()
966 struct device_node *lnk, in graph_link()
1010 static int graph_counter(struct device_node *lnk) in graph_counter()
1036 struct device_node *lnk, in graph_count_normal()
1039 struct device_node *cpu_port = lnk; in graph_count_normal()
1040 struct device_node *cpu_ep = port_to_endpoint(cpu_port); in graph_count_normal()
1041 struct device_node *codec_port = of_graph_get_remote_port(cpu_ep); in graph_count_normal()
1059 struct device_node *lnk, in graph_count_dpcm()
1062 struct device_node *ep = port_to_endpoint(lnk); in graph_count_dpcm()
1063 struct device_node *rport = of_graph_get_remote_port(ep); in graph_count_dpcm()
1094 struct device_node *lnk, in graph_count_c2c()
1097 struct device_node *ports = of_get_parent(lnk); in graph_count_c2c()
1098 struct device_node *port0 = lnk; in graph_count_c2c()
1099 struct device_node *port1 = of_get_next_child(ports, lnk); in graph_count_c2c()
1100 struct device_node *ep0 = port_to_endpoint(port0); in graph_count_c2c()
1101 struct device_node *ep1 = port_to_endpoint(port1); in graph_count_c2c()
1102 struct device_node *codec0 = of_graph_get_remote_port(ep0); in graph_count_c2c()
1103 struct device_node *codec1 = of_graph_get_remote_port(ep1); in graph_count_c2c()
1132 struct device_node *lnk, in graph_count()
1178 struct device_node *lnk, in graph_for_each_link()
1183 struct device_node *node = dev->of_node; in graph_for_each_link()
1184 struct device_node *lnk; in graph_for_each_link()