Lines Matching refs:node1

242 static void fill_stream_connect(struct node_object *node1,
814 int node_connect(struct node_object *node1, u32 stream1,
836 if (!node1 || !node2)
840 if (node1 != (struct node_object *)DSP_HGPPNODE &&
842 node1->node_mgr != node2->node_mgr)
846 if (node1 == node2)
850 node1_type = node_get_type(node1);
854 stream1 >= MAX_OUTPUTS(node1)) ||
881 hnode_mgr = node1->node_mgr;
891 node_get_state(node1) != NODE_ALLOCATED) {
907 output = &(node1->create_args.asa.
935 node1->outputs[stream1].type = NODECONNECT;
937 node1->outputs[stream1].dev_id = pipe_id;
1008 if (node1 == (struct node_object *)DSP_HGPPNODE) {
1013 node1->outputs[stream1].type = HOSTCONNECT;
1014 node1->outputs[stream1].dev_id = chnl_id;
1022 /* node1 == > device */
1024 hnode = node1;
1025 pstream = &(node1->outputs[stream1]);
1029 dev_node_obj = node1;
1059 node1->create_args.asa.task_arg_obj.num_outputs++;
1060 fill_stream_def(node1, output, pattrs);
1066 /* Update node1 and node2 stream_connect */
1068 node1->num_outputs++;
1069 if (stream1 > node1->max_output_index)
1070 node1->max_output_index = stream1;
1079 fill_stream_connect(node1, node2, stream1, stream2);
1086 dev_dbg(bridge, "%s: node1: %p stream1: %d node2: %p stream2: %d"
1087 "pattrs: %p status: 0x%x\n", __func__, node1,
2515 static void fill_stream_connect(struct node_object *node1,
2525 node1_type = node_get_type(node1);
2527 if (node1 != (struct node_object *)DSP_HGPPNODE) {
2530 strm_index = node1->num_inputs +
2531 node1->num_outputs - 1;
2532 strm1 = &(node1->stream_connect[strm_index]);
2552 strm2->connected_node = node1;
2553 strm2->ui_connected_node_id = node1->node_uuid;