Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6asm.h93 struct audio_client;
94 struct audio_client *q6asm_audio_client_alloc(struct device *dev,
97 void q6asm_audio_client_free(struct audio_client *ac);
98 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
100 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
104 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
106 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
111 int q6asm_read(struct audio_client *ac, uint32_t stream_id);
113 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
118 int q6asm_stream_media_format_block_flac(struct audio_client *ac,
[all …]
Dq6asm-dai.c67 struct audio_client *audio_client; member
185 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
195 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
204 q6asm_read(prtd->audio_client, prtd->stream_id); in event_handler()
226 if (!prtd || !prtd->audio_client) { in q6asm_dai_prepare()
237 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare()
239 prtd->audio_client); in q6asm_dai_prepare()
244 ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, in q6asm_dai_prepare()
256 ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
260 ret = q6asm_open_read(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
[all …]
Dq6asm.c259 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()
[all …]