/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-msg.h | 39 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 …]
|
D | xf-io.h | 148 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);
|
D | xf-trace.h | 72 extern void xf_trace_submit(u32 core, xf_message_t *m); 75 extern void xf_trace_flush(u32 core, xf_message_t *m);
|
D | xf-component.h | 51 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/ |
D | xf-core.c | 94 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 …]
|
D | xf-msg.c | 74 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()
|
D | xf-io.c | 84 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 …]
|
D | xf-shmem.c | 72 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()
|
D | xf-isr.c | 43 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/ |
D | xa-class-base.h | 115 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);
|
D | xa-class-mixer.c | 178 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 …]
|
D | xa-class-audio-codec.c | 109 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()
|
D | xa-class-base.c | 166 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/ |
D | xf-mem.h | 48 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()
|
D | xf-shmem.h | 170 extern void xf_msg_proxy_complete(xf_message_t *m);
|