Lines Matching refs:hooks
931 struct graph2_custom_hooks *hooks, in graph_link() argument
942 if (hooks && hooks->custom_normal) in graph_link()
943 func = hooks->custom_normal; in graph_link()
948 if (hooks && hooks->custom_dpcm) in graph_link()
949 func = hooks->custom_dpcm; in graph_link()
954 if (hooks && hooks->custom_c2c) in graph_link()
955 func = hooks->custom_c2c; in graph_link()
1098 struct graph2_custom_hooks *hooks, in graph_count() argument
1141 struct graph2_custom_hooks *hooks, in graph_for_each_link() argument
1144 struct graph2_custom_hooks *hooks, in graph_for_each_link()
1162 ret = func(priv, hooks, gtype, lnk, li); in graph_for_each_link()
1171 struct graph2_custom_hooks *hooks) in audio_graph2_parse_of() argument
1187 if ((hooks) && (hooks)->hook_pre) { in audio_graph2_parse_of()
1188 ret = (hooks)->hook_pre(priv); in audio_graph2_parse_of()
1193 ret = graph_for_each_link(priv, hooks, li, graph_count); in audio_graph2_parse_of()
1219 ret = graph_for_each_link(priv, hooks, li, graph_link); in audio_graph2_parse_of()
1229 if ((hooks) && (hooks)->hook_post) { in audio_graph2_parse_of()
1230 ret = (hooks)->hook_post(priv); in audio_graph2_parse_of()