Symbol: audio_client
sound/soc/qcom/qdsp6/q6asm-dai.c
1016
ret = q6asm_run_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1020
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1025
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1123
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
196
q6asm_read(prtd->audio_client, prtd->stream_id);
sound/soc/qcom/qdsp6/q6asm-dai.c
218
if (!prtd || !prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
228
ret = q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
234
ret = q6asm_unmap_memory_regions(substream->stream, prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
246
ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
258
ret = q6asm_open_write(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
262
ret = q6asm_open_read(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
272
prtd->session_id = q6asm_get_session_id(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
282
prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
286
ret = q6asm_enc_cfg_blk_pcm_format_support(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
294
q6asm_read(prtd->audio_client, prtd->stream_id);
sound/soc/qcom/qdsp6/q6asm-dai.c
305
q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
307
q6asm_unmap_memory_regions(substream->stream, prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
321
ret = q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
346
ret = q6asm_run_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
350
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
355
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
391
prtd->audio_client = q6asm_audio_client_alloc(dev,
sound/soc/qcom/qdsp6/q6asm-dai.c
394
if (IS_ERR(prtd->audio_client)) {
sound/soc/qcom/qdsp6/q6asm-dai.c
396
ret = PTR_ERR(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
464
if (prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
466
q6asm_cmd(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
469
prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
471
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
472
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
488
ptr = q6asm_get_hw_pointer(prtd->audio_client, substream->stream) * runtime->period_size;
sound/soc/qcom/qdsp6/q6asm-dai.c
532
q6asm_stream_remove_initial_silence(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
536
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
550
q6asm_cmd_nowait(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
587
q6asm_stream_remove_trailing_silence(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
592
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
599
q6asm_cmd_nowait(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
635
prtd->audio_client = q6asm_audio_client_alloc(dev,
sound/soc/qcom/qdsp6/q6asm-dai.c
638
if (IS_ERR(prtd->audio_client)) {
sound/soc/qcom/qdsp6/q6asm-dai.c
640
ret = PTR_ERR(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
665
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
679
if (prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
68
struct audio_client *audio_client;
sound/soc/qcom/qdsp6/q6asm-dai.c
681
q6asm_cmd(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
684
q6asm_cmd(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
690
prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
693
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
694
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
741
ret = q6asm_stream_media_format_block_flac(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
802
prtd->audio_client, stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
806
prtd->audio_client, stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
839
ret = q6asm_stream_media_format_block_alac(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
864
ret = q6asm_stream_media_format_block_ape(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
896
if (!prtd || !prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
907
ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, params->codec.id,
sound/soc/qcom/qdsp6/q6asm-dai.c
917
prtd->session_id = q6asm_get_session_id(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
933
ret = q6asm_map_memory_regions(dir, prtd->audio_client, prtd->phys,
sound/soc/qcom/qdsp6/q6asm-dai.c
950
q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
971
ret = q6asm_open_write(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
989
ret = q6asm_stream_remove_initial_silence(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm.c
1002
static int __q6asm_run(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1045
int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags,
sound/soc/qcom/qdsp6/q6asm.c
1063
int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1082
int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1124
int q6asm_stream_media_format_block_flac(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1156
int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1189
int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1223
int q6asm_stream_media_format_block_alac(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1260
int q6asm_stream_media_format_block_ape(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1295
static int q6asm_stream_remove_silence(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1321
int q6asm_stream_remove_initial_silence(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1331
int q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1351
int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
1399
int q6asm_read(struct audio_client *ac, uint32_t stream_id)
sound/soc/qcom/qdsp6/q6asm.c
1445
static int __q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1493
int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.c
1512
int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
sound/soc/qcom/qdsp6/q6asm.c
1562
static void q6asm_reset_buf_state(struct audio_client *ac)
sound/soc/qcom/qdsp6/q6asm.c
1573
static int __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd,
sound/soc/qcom/qdsp6/q6asm.c
1627
int q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd)
sound/soc/qcom/qdsp6/q6asm.c
1642
int q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd)
sound/soc/qcom/qdsp6/q6asm.c
261
struct audio_client *session[MAX_SESSIONS + 1];
sound/soc/qcom/qdsp6/q6asm.c
282
static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr,
sound/soc/qcom/qdsp6/q6asm.c
294
static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
331
static int __q6asm_memory_unmap(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
371
static void q6asm_audio_client_free_buf(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
391
int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac)
sound/soc/qcom/qdsp6/q6asm.c
420
static int __q6asm_memory_map_regions(struct audio_client *ac, int dir,
sound/soc/qcom/qdsp6/q6asm.c
493
int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.c
543
struct audio_client *ac;
sound/soc/qcom/qdsp6/q6asm.c
547
ac = container_of(ref, struct audio_client, refcount);
sound/soc/qcom/qdsp6/q6asm.c
562
void q6asm_audio_client_free(struct audio_client *ac)
sound/soc/qcom/qdsp6/q6asm.c
568
static struct audio_client *q6asm_get_audio_client(struct q6asm *a,
sound/soc/qcom/qdsp6/q6asm.c
571
struct audio_client *ac = NULL;
sound/soc/qcom/qdsp6/q6asm.c
591
int q6asm_get_hw_pointer(struct audio_client *ac, unsigned int dir)
sound/soc/qcom/qdsp6/q6asm.c
607
struct audio_client *ac;
sound/soc/qcom/qdsp6/q6asm.c
750
struct audio_client *ac = NULL;
sound/soc/qcom/qdsp6/q6asm.c
821
int q6asm_get_session_id(struct audio_client *c)
sound/soc/qcom/qdsp6/q6asm.c
839
struct audio_client *q6asm_audio_client_alloc(struct device *dev, q6asm_cb cb,
sound/soc/qcom/qdsp6/q6asm.c
844
struct audio_client *ac;
sound/soc/qcom/qdsp6/q6asm.c
878
static int q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt)
sound/soc/qcom/qdsp6/q6asm.c
924
int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.h
100
int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.h
104
int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.h
106
int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
111
int q6asm_read(struct audio_client *ac, uint32_t stream_id);
sound/soc/qcom/qdsp6/q6asm.h
113
int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
118
int q6asm_stream_media_format_block_flac(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
121
int q6asm_stream_media_format_block_wma_v9(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
124
int q6asm_stream_media_format_block_wma_v10(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
127
int q6asm_stream_media_format_block_alac(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
130
int q6asm_stream_media_format_block_ape(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
133
int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags,
sound/soc/qcom/qdsp6/q6asm.h
135
int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id,
sound/soc/qcom/qdsp6/q6asm.h
137
int q6asm_stream_remove_initial_silence(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
140
int q6asm_stream_remove_trailing_silence(struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
143
int q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd);
sound/soc/qcom/qdsp6/q6asm.h
144
int q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd);
sound/soc/qcom/qdsp6/q6asm.h
145
int q6asm_get_session_id(struct audio_client *c);
sound/soc/qcom/qdsp6/q6asm.h
147
struct audio_client *ac,
sound/soc/qcom/qdsp6/q6asm.h
150
int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac);
sound/soc/qcom/qdsp6/q6asm.h
151
int q6asm_get_hw_pointer(struct audio_client *ac, unsigned int dir);
sound/soc/qcom/qdsp6/q6asm.h
93
struct audio_client;
sound/soc/qcom/qdsp6/q6asm.h
94
struct audio_client *q6asm_audio_client_alloc(struct device *dev,
sound/soc/qcom/qdsp6/q6asm.h
97
void q6asm_audio_client_free(struct audio_client *ac);
sound/soc/qcom/qdsp6/q6asm.h
98
int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,