/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-ipc.h | 93 static inline void xf_ipi_enable(u32 core, int on) in xf_ipi_enable() 102 static inline void xf_ipi_wait(u32 core) in xf_ipi_wait() 131 static inline void xf_ipi_wait(u32 core) in xf_ipi_wait() 163 static inline void xf_ipi_resume(u32 core) in xf_ipi_resume() 172 static inline void xf_ipi_resume(u32 core) in xf_ipi_resume() 220 static inline void xf_ipi_assert(u32 core) in xf_ipi_assert() 227 static inline int xf_ipi_init(u32 core) in xf_ipi_init() 242 static inline int xf_ipi_init(u32 core) in xf_ipi_init() 270 static inline u32 xf_ipc_b2a(u32 core, void *b) in xf_ipc_b2a() 283 static inline void * xf_ipc_a2b(u32 core, u32 address) in xf_ipc_a2b() [all …]
|
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() 62 static inline void * xf_mem_alloc(u32 size, u32 align, u32 core, u32 shared) in xf_mem_alloc() 77 #define xf_mem_alloc(size, align, core, shared) \ argument 88 static inline void xf_mem_free(void *p, u32 size, u32 core, u32 shared) in xf_mem_free() 104 #define xf_mem_free(p, size, core, shared) \ argument 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() 148 static inline void * xf_scratch_mem_init(u32 core) in xf_scratch_mem_init() 159 static inline int xf_mm_alloc_buffer(u32 size, u32 align, u32 core, xf_mm_buffer_t *b) in xf_mm_alloc_buffer() [all …]
|
D | xf-shmem.h | 101 #define XF_SHMEM_DATA(core) \ argument 113 #define XF_PROXY_READ(core, field) \ argument 116 #define XF_PROXY_WRITE(core, field, v) \ argument 146 #define XF_PROXY_COMMAND(core, idx) \ argument 150 #define XF_PROXY_RESPONSE(core, idx) \ argument 157 static inline int xf_shmem_enabled(u32 core) in xf_shmem_enabled()
|
D | xf-hal.h | 59 static inline u32 xf_isr_disable(u32 core) in xf_isr_disable() 66 static inline void xf_isr_restore(u32 core, u32 status) in xf_isr_restore()
|
D | xf-sys.h | 69 #define XF_CORE_DATA(core) (&xf_core_data[core]) argument
|
/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() 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() 313 static void xf_proxy_command(u32 core, xf_message_t *m) in xf_proxy_command() 382 static inline xf_message_t * xf_msg_local_ipc_get(u32 core) in xf_msg_local_ipc_get() 427 static inline int xf_msg_local_put(u32 core, xf_message_t *m) in xf_msg_local_put() 442 static inline xf_message_t * xf_msg_local_get(u32 core) in xf_msg_local_get() 457 static inline xf_message_t * xf_msg_local_response_get(u32 core) in xf_msg_local_response_get() [all …]
|
D | xf-shmem.c | 111 static inline xf_message_t * xf_msg_proxy_get(u32 core) in xf_msg_proxy_get() 151 static u32 xf_shmem_process_input(u32 core) in xf_shmem_process_input() 209 static u32 xf_shmem_process_output(u32 core) in xf_shmem_process_output() 297 void xf_shmem_process_queues(u32 core) in xf_shmem_process_queues() 329 int xf_shmem_init(u32 core) in xf_shmem_init()
|
D | xf-isr.c | 45 u32 core = XF_MSG_DST_CORE(m->id); in xf_msg_schedule_isr() local 59 u32 core = XF_MSG_DST_CORE(m->id); in xf_msg_complete_isr() local
|
D | xf-io.c | 52 int xf_input_port_init(xf_input_port_t *port, u32 size, u32 align, u32 core) in xf_input_port_init() 360 void xf_input_port_destroy(xf_input_port_t *port, u32 core) in xf_input_port_destroy() 398 u32 core = XF_MSG_DST_CORE(id); in xf_output_port_route() local 498 u32 core = XF_MSG_DST_CORE(m->id); in xf_output_port_unroute() local 628 void xf_output_port_destroy(xf_output_port_t *port, u32 core) in xf_output_port_destroy()
|
D | xf-msg.c | 43 int xf_msg_pool_init(xf_msg_pool_t *pool, u32 n, u32 core) in xf_msg_pool_init() 67 void xf_msg_pool_destroy(xf_msg_pool_t *pool, u32 core) in xf_msg_pool_destroy()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/ |
D | xf-board.h | 39 #define XF_CFG_SHMEM_ADDRESS(core) HIFI_HIKEY_SHARE_MEM_ADDR argument 42 #define XF_CFG_TRACE_START(core) 0x78000000 argument 43 #define XF_CFG_TRACE_END(core) 0x7FFFFFFF argument 58 #define SYS_IPC_CPUIRST(base, core) WORD_REF(base + 0x804 + ((core) << 3)) argument 65 #define SYS_IPC_CPUIMST(base, core) WORD_REF(base + 0x800 + ((core) * 8)) argument 75 #define XF_PROXY_IPI_NUM(core) 15 argument 128 #define XF_PROXY_NOTIFY_PEER(core) h2_wake_core() argument 130 #define XF_PROXY_SYNC_PEER(core) h2_local_ack() argument
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 138 static inline int xf_client_register(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core) in xf_client_register() 194 u32 core = proxy->core; in xf_proxy_buffer_alloc() local 223 u32 core = proxy->core; in xf_proxy_buffer_free() local 313 int xf_proxy_init(xf_proxy_t *proxy, u32 core, void *p_shmem) in xf_proxy_init() 352 u32 core = proxy->core; in xf_proxy_close() local 368 int xf_open(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core, xf_response_cb response) in xf_open()
|
D | xf-fio.c | 148 int xf_ipc_open(xf_proxy_ipc_data_t *ipc, u32 core, void *p_shmem) in xf_ipc_open() 180 void xf_ipc_close(xf_proxy_ipc_data_t *ipc, u32 core) in xf_ipc_close()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/ |
D | xa-class-base.c | 53 static XA_ERRORCODE xa_base_preinit(XACodecBase *base, u32 core) in xa_base_preinit() 85 static XA_ERRORCODE xa_base_postinit(XACodecBase *base, u32 core) in xa_base_postinit() 491 void xa_base_destroy(XACodecBase *base, u32 size, u32 core) in xa_base_destroy() 505 XACodecBase * xa_base_factory(u32 core, u32 size, xa_codec_func_t process) in xa_base_factory()
|
D | xa-class-audio-codec.c | 415 …DE xa_codec_memtab(XACodecBase *base, WORD32 idx, WORD32 type, WORD32 size, WORD32 align, u32 core) in xa_codec_memtab() 708 u32 core = xf_component_core(component); in xa_audio_codec_destroy() local 762 xf_component_t * xa_audio_codec_factory(u32 core, xa_codec_func_t process) in xa_audio_codec_factory()
|
D | xa-class-mixer.c | 500 …DE xa_mixer_memtab(XACodecBase *base, WORD32 idx, WORD32 type, WORD32 size, WORD32 align, u32 core) in xa_mixer_memtab() 789 u32 core = xf_component_core(component); in xa_mixer_destroy() local 847 xf_component_t * xa_mixer_factory(u32 core, xa_codec_func_t process) in xa_mixer_factory()
|
D | xa-class-base.h | 218 #define XMALLOC(p, size, align, core) \ argument
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-trace.h | 79 #define xf_trace_submit(core, m) (void)0 argument 80 #define xf_trace_flush(core, m) (void)0 argument
|
D | xf-core.h | 82 #define XF_CORE_RO_DATA(core) ((xf_core_ro_data_t *)(&xf_core_ro_data[(core)])) argument 85 #define XF_CORE_RW_DATA(core) ((xf_core_rw_data_t *)(&xf_core_rw_data[(core)])) argument
|
D | xf-opcode.h | 47 #define __XF_PORT_SPEC(core, id, port) ((core) | ((id) << 2) | ((port) << 8)) argument 71 #define __XF_AP_PROXY(core) ((core) | 0x8000) argument 72 #define __XF_DSP_PROXY(core) ((core) | 0x8000) argument 73 #define __XF_AP_CLIENT(core, client) ((core) | ((client) << 6) | 0x8000) argument
|
D | xf-timebase.h | 113 static inline u32 xf_core_timebase(u32 core) in xf_core_timebase()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/ |
D | xf-main.c | 102 int xf_ipc_init(u32 core) in xf_ipc_init() 123 static void xf_core_loop(u32 core) in xf_core_loop()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/ |
D | xf-opcode.h | 40 #define __XF_PORT_SPEC(core, id, port) ((core) | ((id) << 2) | ((port) << 8)) argument 64 #define __XF_AP_PROXY(core) ((core) | 0x8000) argument 65 #define __XF_DSP_PROXY(core) ((core) | 0x8000) argument 66 #define __XF_AP_CLIENT(core, client) ((core) | ((client) << 6) | 0x8000) argument
|
D | xf-proxy.h | 179 u32 core; member
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/app/ |
D | xa-factory.c | 144 xf_component_t * xf_component_factory(u32 core, xf_id_t id, u32 length) in xf_component_factory()
|