/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/ |
D | xf-ipc.h | 49 #define xf_proxy_ipc_response_put(ipc, msg) \ argument 50 (write((ipc)->pipe[1], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 52 #define xf_proxy_ipc_response_get(ipc, msg) \ argument 53 (read((ipc)->pipe[0], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) 60 static inline void * xf_ipc_a2b(xf_proxy_ipc_data_t *ipc, u32 address) in xf_ipc_a2b() argument 63 return (unsigned char *) ipc->shmem + address; in xf_ipc_a2b() 71 static inline u32 xf_ipc_b2a(xf_proxy_ipc_data_t *ipc, void *b) in xf_ipc_b2a() argument 77 if ((a = (u32)((u8 *)b - (u8 *)ipc->shmem)) < XF_CFG_REMOTE_IPC_POOL_SIZE) in xf_ipc_b2a() 98 #define xf_ipc_response_put(ipc, msg) \ argument 99 (write((ipc)->pipe[1], (msg), sizeof(*(msg))) == sizeof(*(msg)) ? 0 : -errno) [all …]
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-fio.c | 63 int xf_ipc_send(xf_proxy_ipc_data_t *ipc, xf_proxy_msg_t *msg, void *b) in xf_ipc_send() argument 68 int fd = ipc->fd; in xf_ipc_send() 84 int xf_ipc_wait(xf_proxy_ipc_data_t *ipc, u32 timeout) in xf_ipc_wait() argument 86 int fd = ipc->fd; in xf_ipc_wait() 106 int xf_ipc_recv(xf_proxy_ipc_data_t *ipc, xf_proxy_msg_t *msg, void **buffer) in xf_ipc_recv() argument 108 int fd = ipc->fd; in xf_ipc_recv() 118 XF_CHK_ERR((*buffer = xf_ipc_a2b(ipc, msg->address)) != (void *)-1, -EBADFD); in xf_ipc_recv() 129 *buffer = xf_ipc_a2b(ipc, temp.address); in xf_ipc_recv() 131 XF_CHK_ERR((*buffer = xf_ipc_a2b(ipc, temp.address)) != (void *)-1, -EBADFD); in xf_ipc_recv() 148 int xf_ipc_open(xf_proxy_ipc_data_t *ipc, u32 core, void *p_shmem) in xf_ipc_open() argument [all …]
|
D | xf-proxy.c | 60 XF_CHK_API(xf_ipc_send(&proxy->ipc, &m, msg->buffer)); in xf_proxy_cmd_exec() 91 return XF_CHK_API(xf_ipc_send(&proxy->ipc, &msg, m->buffer)); 260 if ((r = xf_ipc_wait(&proxy->ipc, 0)) < 0) in xf_proxy_thread() 264 while ((r = xf_ipc_recv(&proxy->ipc, &m, &msg.buffer)) == sizeof(m)) in xf_proxy_thread() 322 XF_CHK_API(xf_ipc_open(&proxy->ipc, core, p_shmem)); in xf_proxy_init() 340 xf_ipc_close(&proxy->ipc, core); in xf_proxy_init() 358 xf_ipc_close(&proxy->ipc, core); in xf_proxy_close() 376 XF_CHK_API(xf_ipc_data_init(&handle->ipc)); in xf_open() 435 xf_ipc_data_destroy(&handle->ipc); in xf_close() 556 return XF_CHK_API(xf_ipc_send(&proxy->ipc, &msg, buffer)); in xf_command()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/ |
D | xf-proxy.h | 167 xf_proxy_ipc_data_t ipc; member 210 return xf_ipc_a2b(&proxy->ipc, address); in xf_proxy_a2b() 216 return xf_ipc_b2a(&proxy->ipc, b); in xf_proxy_b2a() 222 return xf_proxy_ipc_response_put(&proxy->ipc, msg); in xf_proxy_response_put() 228 return xf_proxy_ipc_response_get(&proxy->ipc, msg); in xf_proxy_response_get() 238 xf_ipc_data_t ipc; member 290 return xf_ipc_response_put(&handle->ipc, msg); in xf_response_put() 296 return xf_ipc_response_get(&handle->ipc, msg); in xf_response_get()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-ipc.h | 110 WAITI_ON_PTR(&ro->ipc.wait, 15); in xf_ipi_wait() 116 ro->ipc.wait = 0; in xf_ipi_wait() 168 ro->ipc.wait = 1; in xf_ipi_resume() 233 ro->ipc.wait = 0; in xf_ipi_init()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/ |
D | Makefile | 41 vpath %.c $(ROOTDIR)/ipc/xt-shmem/hikey 42 vpath %.c $(ROOTDIR)/ipc/xt-shmem 49 vpath %.S $(ROOTDIR)/ipc/xt-shmem/hikey
|
D | xa_hikey.img | 301 MAIN../ipc/xt-shmem/xf-main.c
|
/device/generic/trusty/ |
D | ueventd.qemu_trusty.rc | 3 /dev/trusty-ipc-dev0 0660 system drmrpc
|
D | init.qemu_trusty.rc | 111 service storageproxyd /vendor/bin/storageproxyd -d /dev/trusty-ipc-dev0 \
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-core.h | 45 xf_ipc_handle_t ipc; member
|
/device/generic/trusty/sepolicy/ |
D | file_contexts | 1 /dev/trusty-ipc-dev0 u:object_r:tee_device:s0
|
/device/linaro/hikey/hifi/firmware/ |
D | hifi-hikey960.img | 303 MAIN../ipc/xt-shmem/xf-main.c
|