Lines Matching refs:session_id
576 int session_id) in q6asm_get_audio_client() argument
582 if ((session_id <= 0) || (session_id > MAX_SESSIONS)) { in q6asm_get_audio_client()
583 dev_err(a->dev, "invalid session: %d\n", session_id); in q6asm_get_audio_client()
588 if (!a->session[session_id]) in q6asm_get_audio_client()
590 else if (a->session[session_id]->session != session_id) in q6asm_get_audio_client()
593 ac = a->session[session_id]; in q6asm_get_audio_client()
602 int session_id) in q6asm_stream_callback() argument
612 ac = q6asm_get_audio_client(q6asm, session_id); in q6asm_stream_callback()
757 int session_id; in q6asm_srvc_callback() local
759 session_id = (hdr->dest_port >> 8) & 0xFF; in q6asm_srvc_callback()
760 if (session_id) in q6asm_srvc_callback()
761 return q6asm_stream_callback(adev, data, session_id); in q6asm_srvc_callback()
842 void *priv, int session_id, in q6asm_audio_client_alloc() argument
849 ac = q6asm_get_audio_client(a, session_id + 1); in q6asm_audio_client_alloc()
860 a->session[session_id + 1] = ac; in q6asm_audio_client_alloc()
862 ac->session = session_id + 1; in q6asm_audio_client_alloc()