Home
last modified time | relevance | path

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

/Linux-v5.4/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.c66 struct audio_client *audio_client; member
182 q6asm_write_async(prtd->audio_client, in event_handler()
192 q6asm_write_async(prtd->audio_client, in event_handler()
201 q6asm_read(prtd->audio_client); in event_handler()
222 if (!prtd || !prtd->audio_client) { in q6asm_dai_prepare()
233 q6asm_cmd(prtd->audio_client, CMD_CLOSE); in q6asm_dai_prepare()
235 prtd->audio_client); in q6asm_dai_prepare()
240 ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, in q6asm_dai_prepare()
252 ret = q6asm_open_write(prtd->audio_client, FORMAT_LINEAR_PCM, in q6asm_dai_prepare()
255 ret = q6asm_open_read(prtd->audio_client, FORMAT_LINEAR_PCM, in q6asm_dai_prepare()
[all …]
Dq6asm.c179 struct audio_client *session[MAX_SESSIONS + 1];
182 struct audio_client { struct
201 static inline void q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, in q6asm_add_hdr() argument
213 static int q6asm_apr_send_session_pkt(struct q6asm *a, struct audio_client *ac, in q6asm_apr_send_session_pkt()
250 static int __q6asm_memory_unmap(struct audio_client *ac, in __q6asm_memory_unmap()
294 static void q6asm_audio_client_free_buf(struct audio_client *ac, in q6asm_audio_client_free_buf()
314 int q6asm_unmap_memory_regions(unsigned int dir, struct audio_client *ac) in q6asm_unmap_memory_regions()
343 static int __q6asm_memory_map_regions(struct audio_client *ac, int dir, in __q6asm_memory_map_regions()
422 int q6asm_map_memory_regions(unsigned int dir, struct audio_client *ac, in q6asm_map_memory_regions()
472 struct audio_client *ac; in q6asm_audio_client_release()
[all …]