audio_client 66 sound/soc/qcom/qdsp6/q6asm-dai.c struct audio_client *audio_client; audio_client 182 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_write_async(prtd->audio_client, audio_client 192 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_write_async(prtd->audio_client, audio_client 201 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_read(prtd->audio_client); audio_client 222 sound/soc/qcom/qdsp6/q6asm-dai.c if (!prtd || !prtd->audio_client) { audio_client 233 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_cmd(prtd->audio_client, CMD_CLOSE); audio_client 235 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client); audio_client 240 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, audio_client 252 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_open_write(prtd->audio_client, FORMAT_LINEAR_PCM, audio_client 255 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_open_read(prtd->audio_client, FORMAT_LINEAR_PCM, audio_client 261 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_audio_client_free(prtd->audio_client); audio_client 262 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = NULL; audio_client 266 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->session_id = q6asm_get_session_id(prtd->audio_client); audio_client 276 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client, runtime->rate, audio_client 280 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_enc_cfg_blk_pcm_format_support(prtd->audio_client, audio_client 286 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_read(prtd->audio_client); audio_client 307 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_run_nowait(prtd->audio_client, 0, 0, 0); audio_client 311 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_cmd_nowait(prtd->audio_client, CMD_EOS); audio_client 315 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_cmd_nowait(prtd->audio_client, CMD_PAUSE); audio_client 350 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = q6asm_audio_client_alloc(dev, audio_client 353 sound/soc/qcom/qdsp6/q6asm-dai.c if (IS_ERR(prtd->audio_client)) { audio_client 355 sound/soc/qcom/qdsp6/q6asm-dai.c ret = PTR_ERR(prtd->audio_client); audio_client 423 sound/soc/qcom/qdsp6/q6asm-dai.c if (prtd->audio_client) { audio_client 425 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_cmd(prtd->audio_client, CMD_CLOSE); audio_client 428 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client); audio_client 429 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_audio_client_free(prtd->audio_client); audio_client 430 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = NULL; audio_client 508 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_write_async(prtd->audio_client, prtd->pcm_count, audio_client 534 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_write_async(prtd->audio_client, audio_client 570 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = q6asm_audio_client_alloc(dev, audio_client 573 sound/soc/qcom/qdsp6/q6asm-dai.c if (IS_ERR(prtd->audio_client)) { audio_client 575 sound/soc/qcom/qdsp6/q6asm-dai.c ret = PTR_ERR(prtd->audio_client); audio_client 600 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_audio_client_free(prtd->audio_client); audio_client 613 sound/soc/qcom/qdsp6/q6asm-dai.c if (prtd->audio_client) { audio_client 615 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_cmd(prtd->audio_client, CMD_CLOSE); audio_client 619 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client); audio_client 620 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_audio_client_free(prtd->audio_client); audio_client 621 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = NULL; audio_client 647 sound/soc/qcom/qdsp6/q6asm-dai.c if (!prtd || !prtd->audio_client) { audio_client 657 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_open_write(prtd->audio_client, params->codec.id, audio_client 662 sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_audio_client_free(prtd->audio_client); audio_client 663 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->audio_client = NULL; audio_client 668 sound/soc/qcom/qdsp6/q6asm-dai.c prtd->session_id = q6asm_get_session_id(prtd->audio_client); audio_client 676 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_map_memory_regions(dir, prtd->audio_client, prtd->phys, audio_client 700 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_run_nowait(prtd->audio_client, 0, 0, 0); audio_client 704 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_cmd_nowait(prtd->audio_client, CMD_EOS); audio_client 708 sound/soc/qcom/qdsp6/q6asm-dai.c ret = q6asm_cmd_nowait(prtd->audio_client, CMD_PAUSE); audio_client 179 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *session[MAX_SESSIONS + 1]; audio_client 201 sound/soc/qcom/qdsp6/q6asm.c static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, audio_client 213 sound/soc/qcom/qdsp6/q6asm.c static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, audio_client 250 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_memory_unmap(struct audio_client *ac, audio_client 294 sound/soc/qcom/qdsp6/q6asm.c static void q6asm_audio_client_free_buf(struct audio_client *ac, audio_client 314 sound/soc/qcom/qdsp6/q6asm.c int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) audio_client 343 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_memory_map_regions(struct audio_client *ac, int dir, audio_client 422 sound/soc/qcom/qdsp6/q6asm.c int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, audio_client 472 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *ac; audio_client 476 sound/soc/qcom/qdsp6/q6asm.c ac = container_of(ref, struct audio_client, refcount); audio_client 491 sound/soc/qcom/qdsp6/q6asm.c void q6asm_audio_client_free(struct audio_client *ac) audio_client 497 sound/soc/qcom/qdsp6/q6asm.c static struct audio_client *q6asm_get_audio_client(struct q6asm *a, audio_client 500 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *ac = NULL; audio_client 530 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *ac; audio_client 671 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *ac = NULL; audio_client 742 sound/soc/qcom/qdsp6/q6asm.c int q6asm_get_session_id(struct audio_client *c) audio_client 760 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *q6asm_audio_client_alloc(struct device *dev, q6asm_cb cb, audio_client 765 sound/soc/qcom/qdsp6/q6asm.c struct audio_client *ac; audio_client 801 sound/soc/qcom/qdsp6/q6asm.c static int q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt) audio_client 845 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_write(struct audio_client *ac, uint32_t format, audio_client 897 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_run(struct audio_client *ac, uint32_t flags, audio_client 941 sound/soc/qcom/qdsp6/q6asm.c int q6asm_run(struct audio_client *ac, uint32_t flags, audio_client 958 sound/soc/qcom/qdsp6/q6asm.c int q6asm_run_nowait(struct audio_client *ac, uint32_t flags, audio_client 976 sound/soc/qcom/qdsp6/q6asm.c int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, audio_client 1034 sound/soc/qcom/qdsp6/q6asm.c int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, audio_client 1085 sound/soc/qcom/qdsp6/q6asm.c int q6asm_read(struct audio_client *ac) audio_client 1134 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_open_read(struct audio_client *ac, audio_client 1186 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_read(struct audio_client *ac, uint32_t format, audio_client 1204 sound/soc/qcom/qdsp6/q6asm.c int q6asm_write_async(struct audio_client *ac, uint32_t len, uint32_t msw_ts, audio_client 1260 sound/soc/qcom/qdsp6/q6asm.c static void q6asm_reset_buf_state(struct audio_client *ac) audio_client 1273 sound/soc/qcom/qdsp6/q6asm.c static int __q6asm_cmd(struct audio_client *ac, int cmd, bool wait) audio_client 1326 sound/soc/qcom/qdsp6/q6asm.c int q6asm_cmd(struct audio_client *ac, int cmd) audio_client 1340 sound/soc/qcom/qdsp6/q6asm.c int q6asm_cmd_nowait(struct audio_client *ac, int cmd) audio_client 37 sound/soc/qcom/qdsp6/q6asm.h struct audio_client; audio_client 38 sound/soc/qcom/qdsp6/q6asm.h struct audio_client *q6asm_audio_client_alloc(struct device *dev, audio_client 41 sound/soc/qcom/qdsp6/q6asm.h void q6asm_audio_client_free(struct audio_client *ac); audio_client 42 sound/soc/qcom/qdsp6/q6asm.h int q6asm_write_async(struct audio_client *ac, uint32_t len, uint32_t msw_ts, audio_client 44 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_write(struct audio_client *ac, uint32_t format, audio_client 47 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_read(struct audio_client *ac, uint32_t format, audio_client 49 sound/soc/qcom/qdsp6/q6asm.h int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac, audio_client 51 sound/soc/qcom/qdsp6/q6asm.h int q6asm_read(struct audio_client *ac); audio_client 53 sound/soc/qcom/qdsp6/q6asm.h int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac, audio_client 57 sound/soc/qcom/qdsp6/q6asm.h int q6asm_run(struct audio_client *ac, uint32_t flags, uint32_t msw_ts, audio_client 59 sound/soc/qcom/qdsp6/q6asm.h int q6asm_run_nowait(struct audio_client *ac, uint32_t flags, uint32_t msw_ts, audio_client 61 sound/soc/qcom/qdsp6/q6asm.h int q6asm_cmd(struct audio_client *ac, int cmd); audio_client 62 sound/soc/qcom/qdsp6/q6asm.h int q6asm_cmd_nowait(struct audio_client *ac, int cmd); audio_client 63 sound/soc/qcom/qdsp6/q6asm.h int q6asm_get_session_id(struct audio_client *ac); audio_client 65 sound/soc/qcom/qdsp6/q6asm.h struct audio_client *ac, audio_client 68 sound/soc/qcom/qdsp6/q6asm.h int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac);