Home
last modified time | relevance | path

Searched refs:xf_message_t (Results 1 – 15 of 15) sorted by relevance

/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-msg.h39 typedef struct xf_message xf_message_t; typedef
45 xf_message_t *next;
64 XF_ALIGNED_TYPEDEF(xf_message_t, __xf_message_t);
81 static inline xf_message_t * xf_msg_pool_item(xf_msg_pool_t *pool, u32 i) in xf_msg_pool_item()
83 return (xf_message_t *) &pool->p[i]; in xf_msg_pool_item()
94 xf_message_t *head;
97 xf_message_t *tail;
112 static inline int xf_msg_enqueue(xf_msg_queue_t *queue, xf_message_t *m) in xf_msg_enqueue()
138 static inline xf_message_t * xf_msg_dequeue(xf_msg_queue_t *queue) in xf_msg_dequeue()
140 xf_message_t *m = queue->head; in xf_msg_dequeue()
[all …]
Dxf-io.h148 xf_message_t *unroute;
224 static inline xf_message_t * xf_output_port_control_msg(xf_output_port_t *port) in xf_output_port_control_msg()
237 extern int xf_input_port_put(xf_input_port_t *port, xf_message_t *m);
252 extern void xf_input_port_control_save(xf_input_port_t *port, xf_message_t *m);
268 extern int xf_output_port_put(xf_output_port_t *port, xf_message_t *m);
280 extern void xf_output_port_unroute_start(xf_output_port_t *port, xf_message_t *m);
Dxf-trace.h72 extern void xf_trace_submit(u32 core, xf_message_t *m);
75 extern void xf_trace_flush(u32 core, xf_message_t *m);
Dxf-component.h51 int (*entry)(struct xf_component *, xf_message_t *);
54 int (*exit)(struct xf_component *, xf_message_t *);
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-core.c94 static int xf_proxy_register(u32 core, xf_message_t *m) in xf_proxy_register()
137 static int xf_proxy_alloc(u32 core, xf_message_t *m) in xf_proxy_alloc()
152 static int xf_proxy_free(u32 core, xf_message_t *m) in xf_proxy_free()
168 static int xf_proxy_route(u32 core, xf_message_t *m)
211 static int xf_proxy_unroute(u32 core, xf_message_t *m)
258 static int xf_proxy_output(u32 core, xf_message_t *m) in xf_proxy_output()
277 static int xf_proxy_flush(u32 core, xf_message_t *m) in xf_proxy_flush()
296 static int (* const xf_proxy_cmd[])(u32, xf_message_t *) =
313 static void xf_proxy_command(u32 core, xf_message_t *m) in xf_proxy_command()
341 static inline void xf_msg_local_ipc_put(u32 src, u32 dst, xf_message_t *m) in xf_msg_local_ipc_put()
[all …]
Dxf-msg.c74 xf_message_t * xf_msg_pool_get(xf_msg_pool_t *pool) in xf_msg_pool_get()
82 pool->head = (__xf_message_t *)(((xf_message_t *) _m)->next); in xf_msg_pool_get()
85 ((xf_message_t *) _m)->next = NULL; in xf_msg_pool_get()
88 return (xf_message_t *) _m; in xf_msg_pool_get()
92 void xf_msg_pool_put(xf_msg_pool_t *pool, xf_message_t *m) in xf_msg_pool_put()
103 m->next = (xf_message_t *) pool->head; in xf_msg_pool_put()
Dxf-io.c84 int xf_input_port_put(xf_input_port_t *port, xf_message_t *m) in xf_input_port_put()
137 xf_message_t *m = xf_msg_dequeue(&port->queue); in xf_input_port_complete()
309 xf_message_t *m; in xf_input_port_purge()
330 void xf_input_port_control_save(xf_input_port_t *port, xf_message_t *m) in xf_input_port_control_save()
400 xf_message_t *m; in xf_output_port_route()
464 void xf_output_port_unroute_start(xf_output_port_t *port, xf_message_t *m) in xf_output_port_unroute_start()
479 xf_message_t *m; in xf_output_port_unroute_done()
497 xf_message_t *m = xf_output_port_control_msg(port); in xf_output_port_unroute()
526 int xf_output_port_put(xf_output_port_t *port, xf_message_t *m) in xf_output_port_put()
535 xf_message_t *m = xf_msg_queue_head(&port->queue); in xf_output_port_data()
[all …]
Dxf-shmem.c72 static inline void xf_msg_proxy_put(xf_message_t *m) in xf_msg_proxy_put()
111 static inline xf_message_t * xf_msg_proxy_get(u32 core) in xf_msg_proxy_get()
114 xf_message_t *m; in xf_msg_proxy_get()
153 xf_message_t *m; in xf_shmem_process_input()
211 xf_message_t *m; in xf_shmem_process_output()
322 void xf_msg_proxy_complete(xf_message_t *m) in xf_msg_proxy_complete()
Dxf-isr.c43 void xf_msg_schedule_isr(xf_message_t *m) in xf_msg_schedule_isr()
57 void xf_msg_complete_isr(xf_message_t *m) in xf_msg_complete_isr()
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-base.h115 XA_ERRORCODE (* const * command)(XACodecBase *, xf_message_t *);
240 extern XA_ERRORCODE xa_base_set_param(XACodecBase *base, xf_message_t *m);
243 extern XA_ERRORCODE xa_base_set_param_ext(XACodecBase *base, xf_message_t *m);
246 extern XA_ERRORCODE xa_base_get_param(XACodecBase *base, xf_message_t *m);
249 extern XA_ERRORCODE xa_base_get_param_ext(XACodecBase *base, xf_message_t *m);
Dxa-class-mixer.c178 xf_message_t *m = xf_msg_dequeue(&mixer->output.queue); in xa_mixer_prepare_runtime()
208 static XA_ERRORCODE xa_mixer_empty_this_buffer(XACodecBase *base, xf_message_t *m) in xa_mixer_empty_this_buffer()
255 static XA_ERRORCODE xa_mixer_fill_this_buffer(XACodecBase *base, xf_message_t *m) in xa_mixer_fill_this_buffer()
291 static XA_ERRORCODE xa_mixer_port_route(XACodecBase *base, xf_message_t *m) in xa_mixer_port_route()
321 static XA_ERRORCODE xa_mixer_port_unroute(XACodecBase *base, xf_message_t *m) in xa_mixer_port_unroute()
361 static XA_ERRORCODE xa_mixer_pause(XACodecBase *base, xf_message_t *m) in xa_mixer_pause()
400 static XA_ERRORCODE xa_mixer_resume(XACodecBase *base, xf_message_t *m) in xa_mixer_resume()
442 static XA_ERRORCODE xa_mixer_flush(XACodecBase *base, xf_message_t *m) in xa_mixer_flush()
727 static XA_ERRORCODE (* const xa_mixer_cmd[])(XACodecBase *, xf_message_t *) =
755 static int xa_mixer_terminate(xf_component_t *component, xf_message_t *m) in xa_mixer_terminate()
[all …]
Dxa-class-audio-codec.c109 xf_message_t *m = xf_msg_queue_head(&codec->output.queue); in xa_codec_prepare_runtime()
159 static XA_ERRORCODE xa_codec_empty_this_buffer(XACodecBase *base, xf_message_t *m) in xa_codec_empty_this_buffer()
201 static XA_ERRORCODE xa_codec_fill_this_buffer(XACodecBase *base, xf_message_t *m) in xa_codec_fill_this_buffer()
262 static XA_ERRORCODE xa_codec_port_route(XACodecBase *base, xf_message_t *m) in xa_codec_port_route()
292 static XA_ERRORCODE xa_codec_port_unroute(XACodecBase *base, xf_message_t *m) in xa_codec_port_unroute()
331 static XA_ERRORCODE xa_codec_flush(XACodecBase *base, xf_message_t *m) in xa_codec_flush()
656 static XA_ERRORCODE (* const xa_codec_cmd[])(XACodecBase *, xf_message_t *) =
673 static int xa_audio_codec_terminate(xf_component_t *component, xf_message_t *m) in xa_audio_codec_terminate()
705 static int xa_audio_codec_destroy(xf_component_t *component, xf_message_t *m) in xa_audio_codec_destroy()
726 static int xa_audio_codec_cleanup(xf_component_t *component, xf_message_t *m) in xa_audio_codec_cleanup()
Dxa-class-base.c166 XA_ERRORCODE xa_base_set_param(XACodecBase *base, xf_message_t *m) in xa_base_set_param()
210 XA_ERRORCODE xa_base_get_param(XACodecBase *base, xf_message_t *m) in xa_base_get_param()
244 XA_ERRORCODE xa_base_set_param_ext(XACodecBase *base, xf_message_t *m) in xa_base_set_param_ext()
308 XA_ERRORCODE xa_base_get_param_ext(XACodecBase *base, xf_message_t *m) in xa_base_get_param_ext()
419 static int xa_base_command(xf_component_t *component, xf_message_t *m) in xa_base_command()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/
Dxf-mem.h48 static inline void xf_shmem_alloc_addref(u32 core, xf_message_t *m) in xf_shmem_alloc_addref()
53 static inline void xf_shmem_alloc_rmref(u32 core, xf_message_t *m) in xf_shmem_alloc_rmref()
114 static inline int xf_shmem_alloc(u32 core, xf_message_t *m) in xf_shmem_alloc()
133 static inline void xf_shmem_free(u32 core, xf_message_t *m) in xf_shmem_free()
Dxf-shmem.h170 extern void xf_msg_proxy_complete(xf_message_t *m);