Lines Matching refs:stream_id

281 				 uint32_t stream_id)
284 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id);
285 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id);
918 * @stream_id: stream id of q6asm session
926 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
943 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1008 static int __q6asm_run(struct audio_client *ac, uint32_t stream_id,
1025 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1047 * @stream_id: stream id of q6asm session
1054 int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags,
1057 return __q6asm_run(ac, stream_id, flags, msw_ts, lsw_ts, true);
1065 * @stream_id: stream id
1072 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id,
1075 return __q6asm_run(ac, stream_id, flags, msw_ts, lsw_ts, false);
1083 * @stream_id: stream id
1092 uint32_t stream_id,
1111 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1141 uint32_t stream_id,
1157 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1178 uint32_t stream_id,
1194 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1216 uint32_t stream_id,
1232 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1255 uint32_t stream_id,
1271 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1297 uint32_t stream_id,
1313 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1336 static int q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id,
1353 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1367 uint32_t stream_id,
1370 return q6asm_stream_remove_silence(ac, stream_id,
1376 int q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id,
1379 return q6asm_stream_remove_silence(ac, stream_id,
1389 * @stream_id: stream id
1397 uint32_t stream_id, uint32_t rate,
1415 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1447 * @stream_id: stream id
1451 int q6asm_read(struct audio_client *ac, uint32_t stream_id)
1472 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, stream_id);
1500 static int __q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
1516 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id);
1547 * @stream_id: stream id
1553 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
1556 return __q6asm_open_read(ac, stream_id, format, bits_per_sample);
1564 * @stream_id: stream id
1572 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
1594 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, stream_id);
1638 static int __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd,
1644 q6asm_add_hdr(ac, &pkt.hdr, APR_HDR_SIZE, true, stream_id);
1687 * @stream_id: stream id
1692 int q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd)
1694 return __q6asm_cmd(ac, stream_id, cmd, true);
1702 * @stream_id: stream id
1707 int q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd)
1709 return __q6asm_cmd(ac, stream_id, cmd, false);