Lines Matching refs:request
77 struct mixart_msg request; in mixart_set_pipe_state() local
98 request.message_id = MSG_SYSTEM_WAIT_SYNCHRO_CMD; in mixart_set_pipe_state()
99 request.uid = (struct mixart_uid){0,0}; in mixart_set_pipe_state()
100 request.data = &system_msg_uid; in mixart_set_pipe_state()
101 request.size = sizeof(system_msg_uid); in mixart_set_pipe_state()
103 err = snd_mixart_send_msg_wait_notif(mgr, &request, system_msg_uid); in mixart_set_pipe_state()
116 request.message_id = MSG_STREAM_START_STREAM_GRP_PACKET; in mixart_set_pipe_state()
118 request.message_id = MSG_STREAM_STOP_STREAM_GRP_PACKET; in mixart_set_pipe_state()
120 request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ in mixart_set_pipe_state()
121 request.data = &group_state; in mixart_set_pipe_state()
122 request.size = sizeof(group_state); in mixart_set_pipe_state()
124 err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp); in mixart_set_pipe_state()
135 err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp); in mixart_set_pipe_state()
143 request.message_id = MSG_SYSTEM_SEND_SYNCHRO_CMD; in mixart_set_pipe_state()
144 request.uid = (struct mixart_uid){0,0}; in mixart_set_pipe_state()
145 request.data = NULL; in mixart_set_pipe_state()
146 request.size = 0; in mixart_set_pipe_state()
148 err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat); in mixart_set_pipe_state()
166 struct mixart_msg request; in mixart_set_clock() local
195 request.message_id = MSG_CLOCK_SET_PROPERTIES; in mixart_set_clock()
196 request.uid = mgr->uid_console_manager; in mixart_set_clock()
197 request.data = &clock_properties; in mixart_set_clock()
198 request.size = sizeof(clock_properties); in mixart_set_clock()
200 err = snd_mixart_send_msg(mgr, &request, sizeof(clock_prop_resp), &clock_prop_resp); in mixart_set_clock()
222 struct mixart_msg request; in snd_mixart_add_ref_pipe() local
230 request.message_id = MSG_STREAM_ADD_OUTPUT_GROUP; in snd_mixart_add_ref_pipe()
238 request.message_id = MSG_STREAM_ADD_INPUT_GROUP; in snd_mixart_add_ref_pipe()
261 …request.uid = (struct mixart_uid){0,0}; /* should be StreamManagerUID, but zero is OK if ther… in snd_mixart_add_ref_pipe()
262 request.data = &buf->sgroup_req; in snd_mixart_add_ref_pipe()
263 request.size = sizeof(buf->sgroup_req); in snd_mixart_add_ref_pipe()
303 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(buf->sgroup_resp), &buf->sgroup_resp); in snd_mixart_add_ref_pipe()
340 struct mixart_msg request; in snd_mixart_kill_ref_pipe() local
355 request.message_id = MSG_STREAM_DELETE_GROUP; in snd_mixart_kill_ref_pipe()
356 request.uid = (struct mixart_uid){0,0}; in snd_mixart_kill_ref_pipe()
357 request.data = &pipe->group_uid; /* the streaming group ! */ in snd_mixart_kill_ref_pipe()
358 request.size = sizeof(pipe->group_uid); in snd_mixart_kill_ref_pipe()
361 err = snd_mixart_send_msg(mgr, &request, sizeof(delete_resp), &delete_resp); in snd_mixart_kill_ref_pipe()
378 struct mixart_msg request; in mixart_set_stream_state() local
389 …request.message_id = start ? MSG_STREAM_START_INPUT_STAGE_PACKET : MSG_STREAM_STOP_INPUT_STAGE_PAC… in mixart_set_stream_state()
391 …request.message_id = start ? MSG_STREAM_START_OUTPUT_STAGE_PACKET : MSG_STREAM_STOP_OUTPUT_STAGE_P… in mixart_set_stream_state()
393 request.uid = (struct mixart_uid){0,0}; in mixart_set_stream_state()
394 request.data = &stream_state_req; in mixart_set_stream_state()
395 request.size = sizeof(stream_state_req); in mixart_set_stream_state()
403 return snd_mixart_send_msg_nonblock(chip->mgr, &request); in mixart_set_stream_state()
500 struct mixart_msg request; in mixart_set_format() local
562 request.message_id = MSG_STREAM_SET_INPUT_STAGE_PARAM; in mixart_set_format()
563 request.uid = (struct mixart_uid){0,0}; in mixart_set_format()
564 request.data = &stream_param; in mixart_set_format()
565 request.size = sizeof(stream_param); in mixart_set_format()
567 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_set_format()