Home
last modified time | relevance | path

Searched refs:xf_handle_t (Results 1 – 5 of 5) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-proto.h38 typedef struct xf_handle xf_handle_t; typedef
56 typedef void (*xf_response_cb)(xf_handle_t *h, xf_user_msg_t *msg);
66 extern int xf_open(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core, xf_response_c…
67 extern void xf_close(xf_handle_t *handle);
68 extern int xf_command(xf_handle_t *handle, u32 dst, u32 opcode, void *buf, u32 length);
69 extern int xf_route(xf_handle_t *src, u32 s_port, xf_handle_t *dst, u32 d_port, u32 num, u32 s…
70 extern int xf_unroute(xf_handle_t *src, u32 s_port);
Dxf-proxy.h159 xf_handle_t *handle;
264 static inline u32 xf_handle_id(xf_handle_t *handle) in xf_handle_id()
270 static inline void * xf_handle_aux(xf_handle_t *handle) in xf_handle_aux()
276 static inline void xf_lock(xf_handle_t *handle) in xf_lock()
282 static inline void xf_unlock(xf_handle_t *handle) in xf_unlock()
288 static inline int xf_response_put(xf_handle_t *handle, xf_user_msg_t *msg) in xf_response_put()
294 static inline int xf_response_get(xf_handle_t *handle, xf_user_msg_t *msg) in xf_response_get()
Dxaf-structs.h33 xf_handle_t handle;
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-proxy.c78 static inline int xf_proxy_cmd(xf_proxy_t *proxy, xf_handle_t *handle, xf_user_msg_t *m)
96 static inline u32 xf_client_alloc(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_alloc()
113 static inline void xf_client_free(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_free()
125 static inline xf_handle_t * xf_client_lookup(xf_proxy_t *proxy, u32 client) in xf_client_lookup()
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()
167 static inline int xf_client_unregister(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_unregister()
250 xf_handle_t *client; in xf_proxy_thread()
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()
414 void xf_close(xf_handle_t *handle) in xf_close()
447 int xf_route(xf_handle_t *src, u32 src_port, xf_handle_t *dst, u32 dst_port, u32 num, u32 size, u32… in xf_route()
[all …]
Dxaf-api.c44 static void xaf_comp_response(xf_handle_t *h, xf_user_msg_t *msg) in xaf_comp_response()
195 xf_handle_t *p_handle; in xaf_comp_create()
303 xf_handle_t *p_handle; in xaf_comp_set_config()
343 xf_handle_t *p_handle; in xaf_comp_get_config()
388 xf_handle_t *p_handle; in xaf_comp_get_status()
465 xf_handle_t *p_handle; in xaf_comp_process()