Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 16 of 16) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/
Dxf-ipc.h49 #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/
Dxf-fio.c63 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 …]
Dxf-proxy.c60 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/
Dxf-proxy.h167 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/
Dxf-ipc.h110 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/
DMakefile41 vpath %.c $(ROOTDIR)/ipc/xt-shmem/hikey
42 vpath %.c $(ROOTDIR)/ipc/xt-shmem
49 vpath %.S $(ROOTDIR)/ipc/xt-shmem/hikey
Dxa_hikey.img301 ��MAIN����../ipc/xt-shmem/xf-main.c���
/device/generic/trusty/
Dueventd.qemu_trusty.rc2 /dev/trusty-ipc-dev0 0660 system drmrpc
Dinit.qemu_trusty.rc111 service storageproxyd /vendor/bin/storageproxyd -d /dev/trusty-ipc-dev0 \
/device/google/marlin/sepolicy/
Dkernel.te3 # ipc
Dhal_dumpstate_impl.te49 # ipc
/device/generic/trusty/sepolicy/
Dfile_contexts1 /dev/trusty-ipc-dev0 u:object_r:tee_device:s0
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-core.h45 xf_ipc_handle_t ipc; member
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dplatform.mk96 plat/hisilicon/hikey960/drivers/ipc/hisi_ipc.c \
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin809 …nfo����R���run address�PwctrlQ�query power manager info����TMB�ipc msg test����UTTMB���ipc msg UT …
864 ��%s(%d):alloc fail[ipc%d,mbx%d,%x]
868 ��%s(%d):ipc%d mbox%d send err:%d
/device/linaro/hikey/hifi/firmware/
Dhifi-hikey960.img303 ��MAIN����../ipc/xt-shmem/xf-main.c���