Symbol: audio_client
sound/soc/qcom/qdsp6/q6asm-dai.c
1013
ret = q6asm_run_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1018
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1023
ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
1121
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
198
q6asm_read(prtd->audio_client, prtd->stream_id);
sound/soc/qcom/qdsp6/q6asm-dai.c
220
if (!prtd || !prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
230
q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
232
prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
238
ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
250
ret = q6asm_open_write(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
254
ret = q6asm_open_read(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
264
prtd->session_id = q6asm_get_session_id(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
274
prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
278
ret = q6asm_enc_cfg_blk_pcm_format_support(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
286
q6asm_read(prtd->audio_client, prtd->stream_id);
sound/soc/qcom/qdsp6/q6asm-dai.c
297
q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
299
q6asm_unmap_memory_regions(substream->stream, prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
300
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
301
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
315
ret = q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
340
ret = q6asm_run_nowait(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
345
ret = q6asm_cmd_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
386
prtd->audio_client = q6asm_audio_client_alloc(dev,
sound/soc/qcom/qdsp6/q6asm-dai.c
389
if (IS_ERR(prtd->audio_client)) {
sound/soc/qcom/qdsp6/q6asm-dai.c
391
ret = PTR_ERR(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
459
if (prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
461
q6asm_cmd(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
465
prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
466
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
467
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
483
ptr = q6asm_get_hw_pointer(prtd->audio_client, substream->stream) * runtime->period_size;
sound/soc/qcom/qdsp6/q6asm-dai.c
527
q6asm_stream_remove_initial_silence(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
531
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
545
q6asm_cmd_nowait(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
584
q6asm_stream_remove_trailing_silence(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
589
q6asm_write_async(prtd->audio_client, prtd->stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
596
q6asm_cmd_nowait(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
632
prtd->audio_client = q6asm_audio_client_alloc(dev,
sound/soc/qcom/qdsp6/q6asm-dai.c
635
if (IS_ERR(prtd->audio_client)) {
sound/soc/qcom/qdsp6/q6asm-dai.c
637
ret = PTR_ERR(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
662
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
676
if (prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
678
q6asm_cmd(prtd->audio_client, prtd->stream_id,
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,
sound/soc/qcom/qdsp6/q6asm-dai.c
689
prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
690
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
691
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
738
ret = q6asm_stream_media_format_block_flac(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
799
prtd->audio_client, stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
803
prtd->audio_client, stream_id,
sound/soc/qcom/qdsp6/q6asm-dai.c
836
ret = q6asm_stream_media_format_block_alac(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
861
ret = q6asm_stream_media_format_block_ape(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
893
if (!prtd || !prtd->audio_client) {
sound/soc/qcom/qdsp6/q6asm-dai.c
904
ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, params->codec.id,
sound/soc/qcom/qdsp6/q6asm-dai.c
914
prtd->session_id = q6asm_get_session_id(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
930
ret = q6asm_map_memory_regions(dir, prtd->audio_client, prtd->phys,
sound/soc/qcom/qdsp6/q6asm-dai.c
945
q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE);
sound/soc/qcom/qdsp6/q6asm-dai.c
948
q6asm_audio_client_free(prtd->audio_client);
sound/soc/qcom/qdsp6/q6asm-dai.c
949
prtd->audio_client = NULL;
sound/soc/qcom/qdsp6/q6asm-dai.c
968
ret = q6asm_open_write(prtd->audio_client,
sound/soc/qcom/qdsp6/q6asm-dai.c
986
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,