Lines Matching refs:audio_client
259 struct audio_client *session[MAX_SESSIONS + 1];
262 struct audio_client { struct
280 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument
292 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt()
329 static int __q6asm_memory_unmap(struct audio_client *ac, in __q6asm_memory_unmap()
373 static void q6asm_audio_client_free_buf(struct audio_client *ac, in q6asm_audio_client_free_buf()
393 int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) in q6asm_unmap_memory_regions()
422 static int __q6asm_memory_map_regions(struct audio_client *ac, int dir, in __q6asm_memory_map_regions()
501 int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, in q6asm_map_memory_regions()
551 struct audio_client *ac; in q6asm_audio_client_release()
555 ac = container_of(ref, struct audio_client, refcount); in q6asm_audio_client_release()
570 void q6asm_audio_client_free(struct audio_client *ac) in q6asm_audio_client_free()
576 static struct audio_client *q6asm_get_audio_client(struct q6asm *a, in q6asm_get_audio_client()
579 struct audio_client *ac = NULL; in q6asm_get_audio_client()
609 struct audio_client *ac; in q6asm_stream_callback()
753 struct audio_client *ac = NULL; in q6asm_srvc_callback()
824 int q6asm_get_session_id(struct audio_client *c) in q6asm_get_session_id()
842 struct audio_client *q6asm_audio_client_alloc(struct device *dev, q6asm_cb cb, in q6asm_audio_client_alloc()
847 struct audio_client *ac; in q6asm_audio_client_alloc()
881 static int q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt) in q6asm_ac_send_cmd_sync()
927 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, in q6asm_open_write()
1009 static int __q6asm_run(struct audio_client *ac, uint32_t stream_id, in __q6asm_run()
1055 int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, in q6asm_run()
1073 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id, in q6asm_run_nowait()
1092 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, in q6asm_media_format_block_multi_ch_pcm()
1141 int q6asm_stream_media_format_block_flac(struct audio_client *ac, in q6asm_stream_media_format_block_flac()
1178 int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac, in q6asm_stream_media_format_block_wma_v9()
1216 int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac, in q6asm_stream_media_format_block_wma_v10()
1255 int q6asm_stream_media_format_block_alac(struct audio_client *ac, in q6asm_stream_media_format_block_alac()
1297 int q6asm_stream_media_format_block_ape(struct audio_client *ac, in q6asm_stream_media_format_block_ape()
1337 static int q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id, in q6asm_stream_remove_silence()
1367 int q6asm_stream_remove_initial_silence(struct audio_client *ac, in q6asm_stream_remove_initial_silence()
1377 int q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id, in q6asm_stream_remove_trailing_silence()
1397 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, in q6asm_enc_cfg_blk_pcm_format_support()
1452 int q6asm_read(struct audio_client *ac, uint32_t stream_id) in q6asm_read()
1501 static int __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, in __q6asm_open_read()
1554 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id, in q6asm_open_read()
1573 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len, in q6asm_write_async()
1626 static void q6asm_reset_buf_state(struct audio_client *ac) in q6asm_reset_buf_state()
1639 static int __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd, in __q6asm_cmd()
1693 int q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd) in q6asm_cmd()
1708 int q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd) in q6asm_cmd_nowait()