Home
last modified time | relevance | path

Searched refs:audio_client (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/sound/soc/qcom/qdsp6/
Dq6asm.h94 struct audio_client;
95 struct audio_client *q6asm_audio_client_alloc(struct device *dev,
98 void q6asm_audio_client_free(struct audio_client *ac);
99 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
101 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
105 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
107 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
112 int q6asm_read(struct audio_client *ac, uint32_t stream_id);
114 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
119 int q6asm_stream_media_format_block_flac(struct audio_client *ac,
[all …]
Dq6asm-dai.c66 struct audio_client *audio_client; member
190 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
200 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
209 q6asm_read(prtd->audio_client, prtd->stream_id); in event_handler()
231 if (!prtd || !prtd->audio_client) { in q6asm_dai_prepare()
242 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare()
244 prtd->audio_client); in q6asm_dai_prepare()
249 ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, in q6asm_dai_prepare()
261 ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
265 ret = q6asm_open_read(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
[all …]
Dq6asm.c258 struct audio_client *session[MAX_SESSIONS + 1];
261 struct audio_client { struct
279 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument
291 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt()
328 static int __q6asm_memory_unmap(struct audio_client *ac, in __q6asm_memory_unmap()
372 static void q6asm_audio_client_free_buf(struct audio_client *ac, in q6asm_audio_client_free_buf()
392 int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) in q6asm_unmap_memory_regions()
421 static int __q6asm_memory_map_regions(struct audio_client *ac, int dir, in __q6asm_memory_map_regions()
500 int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, in q6asm_map_memory_regions()
550 struct audio_client *ac; in q6asm_audio_client_release()
[all …]