Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/qcom/qdsp6/
Dq6asm.h37 struct audio_client;
38 struct audio_client *q6asm_audio_client_alloc(struct device *dev,
41 void q6asm_audio_client_free(struct audio_client *ac);
42 int q6asm_write_async(struct audio_client *ac, uint32_t len, uint32_t msw_ts,
44 int q6asm_open_write(struct audio_client *ac, uint32_t format,
47 int q6asm_open_read(struct audio_client *ac, uint32_t format,
49 int q6asm_enc_cfg_blk_pcm_format_support(struct audio_client *ac,
51 int q6asm_read(struct audio_client *ac);
53 int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
57 int q6asm_run(struct audio_client *ac, uint32_t flags, uint32_t msw_ts,
[all …]
Dq6asm-dai.c49 struct audio_client *audio_client; member
151 q6asm_write_async(prtd->audio_client, in event_handler()
161 q6asm_write_async(prtd->audio_client, in event_handler()
170 q6asm_read(prtd->audio_client); in event_handler()
191 if (!prtd || !prtd->audio_client) { in q6asm_dai_prepare()
202 q6asm_cmd(prtd->audio_client, CMD_CLOSE); in q6asm_dai_prepare()
204 prtd->audio_client); in q6asm_dai_prepare()
209 ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, in q6asm_dai_prepare()
221 ret = q6asm_open_write(prtd->audio_client, FORMAT_LINEAR_PCM, in q6asm_dai_prepare()
224 ret = q6asm_open_read(prtd->audio_client, FORMAT_LINEAR_PCM, in q6asm_dai_prepare()
[all …]
Dq6asm.c178 struct audio_client *session[MAX_SESSIONS + 1];
181 struct audio_client { struct
200 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument
212 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt()
249 static int __q6asm_memory_unmap(struct audio_client *ac, in __q6asm_memory_unmap()
293 static void q6asm_audio_client_free_buf(struct audio_client *ac, in q6asm_audio_client_free_buf()
313 int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) in q6asm_unmap_memory_regions()
342 static int __q6asm_memory_map_regions(struct audio_client *ac, int dir, in __q6asm_memory_map_regions()
421 int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, in q6asm_map_memory_regions()
471 struct audio_client *ac; in q6asm_audio_client_release()
[all …]