Lines Matching refs:hooks
875 struct graph2_custom_hooks *hooks, in graph_link() argument
886 if (hooks && hooks->custom_normal) in graph_link()
887 func = hooks->custom_normal; in graph_link()
892 if (hooks && hooks->custom_dpcm) in graph_link()
893 func = hooks->custom_dpcm; in graph_link()
898 if (hooks && hooks->custom_c2c) in graph_link()
899 func = hooks->custom_c2c; in graph_link()
1058 struct graph2_custom_hooks *hooks, in graph_count() argument
1101 struct graph2_custom_hooks *hooks, in graph_for_each_link() argument
1104 struct graph2_custom_hooks *hooks, in graph_for_each_link()
1122 ret = func(priv, hooks, gtype, lnk, li); in graph_for_each_link()
1131 struct graph2_custom_hooks *hooks) in audio_graph2_parse_of() argument
1145 if ((hooks) && (hooks)->hook_pre) { in audio_graph2_parse_of()
1146 ret = (hooks)->hook_pre(priv); in audio_graph2_parse_of()
1151 ret = graph_for_each_link(priv, hooks, li, graph_count); in audio_graph2_parse_of()
1177 ret = graph_for_each_link(priv, hooks, li, graph_link); in audio_graph2_parse_of()
1187 if ((hooks) && (hooks)->hook_post) { in audio_graph2_parse_of()
1188 ret = (hooks)->hook_post(priv); in audio_graph2_parse_of()