Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-proxy.c49 static inline int xf_proxy_cmd_exec(xf_proxy_t *proxy, xf_user_msg_t *msg) in xf_proxy_cmd_exec() argument
57 XF_CHK_ERR((m.address = xf_proxy_b2a(proxy, msg->buffer)) != XF_PROXY_BADADDR, -EINVAL); in xf_proxy_cmd_exec()
60 XF_CHK_API(xf_ipc_send(&proxy->ipc, &m, msg->buffer)); in xf_proxy_cmd_exec()
63 XF_CHK_API(xf_proxy_response_get(proxy, &m)); in xf_proxy_cmd_exec()
69 XF_CHK_ERR((msg->buffer = xf_proxy_a2b(proxy, m.address)) != (void *)-1, -EBADFD); in xf_proxy_cmd_exec()
71 …TRACE(EXEC, _b("proxy[%p]: command done: [%08x:%p:%u]"), proxy, msg->opcode, msg->buffer, msg->len… in xf_proxy_cmd_exec()
78 static inline int xf_proxy_cmd(xf_proxy_t *proxy, xf_handle_t *handle, xf_user_msg_t *m)
83 msg.id = __XF_MSG_ID(__XF_AP_CLIENT(proxy->core, handle->client), m->id);
88 XF_CHK_ERR((msg.address = xf_proxy_b2a(proxy, m->buffer)) != XF_PROXY_BADADDR, -EINVAL);
91 return XF_CHK_API(xf_ipc_send(&proxy->ipc, &msg, m->buffer));
[all …]
Dxaf-api.c71 xf_proxy_t *p_proxy = &p_adev->proxy; in xaf_comp_post_init_config()
136 p_proxy = &p_adev->proxy; in xaf_adev_open()
174 p_proxy = &p_adev->proxy; in xaf_adev_close()
226 XF_CHK_API(xf_open(&p_adev->proxy, p_handle, comp_id, 0, xaf_comp_response)); in xaf_comp_create()
240 …XF_CHK_API(xf_pool_alloc(&p_adev->proxy, ninbuf, XAF_INBUF_SIZE, XF_POOL_INPUT, &p_comp->inpool, X… in xaf_comp_create()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/
Dxf-shmem.h120 #define __XF_PROXY_READ_cmd_write_idx(proxy) \ argument
121 XF_PROXY_READ_ATOMIC(proxy->remote.cmd_write_idx)
123 #define __XF_PROXY_READ_cmd_read_idx(proxy) \ argument
124 proxy->local.cmd_read_idx
126 #define __XF_PROXY_READ_rsp_write_idx(proxy) \ argument
127 proxy->local.rsp_write_idx
129 #define __XF_PROXY_READ_rsp_read_idx(proxy) \ argument
130 XF_PROXY_READ_ATOMIC(proxy->remote.rsp_read_idx)
133 #define __XF_PROXY_WRITE_cmd_write_idx(proxy, v) \ argument
134 XF_PROXY_WRITE_ATOMIC(proxy->remote.cmd_write_idx, v)
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-proxy.h118 xf_proxy_t *proxy; member
190 static inline u32 xf_proxy_id(xf_proxy_t *proxy) in xf_proxy_id() argument
192 return proxy->core; in xf_proxy_id()
196 static inline void xf_proxy_lock(xf_proxy_t *proxy) in xf_proxy_lock() argument
198 __xf_lock(&proxy->lock); in xf_proxy_lock()
202 static inline void xf_proxy_unlock(xf_proxy_t *proxy) in xf_proxy_unlock() argument
204 __xf_unlock(&proxy->lock); in xf_proxy_unlock()
208 static inline void * xf_proxy_a2b(xf_proxy_t *proxy, u32 address) in xf_proxy_a2b() argument
210 return xf_ipc_a2b(&proxy->ipc, address); in xf_proxy_a2b()
214 static inline u32 xf_proxy_b2a(xf_proxy_t *proxy, void *b) in xf_proxy_b2a() argument
[all …]
Dxf-proto.h66 extern int xf_open(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core, xf_response_c…
73 extern int xf_pool_alloc(xf_proxy_t *proxy, u32 number, u32 length, xf_pool_type_t type, xf_po…
80 extern int xf_proxy_init(xf_proxy_t *proxy, u32 core, void *p_shmem);
81 extern void xf_proxy_close(xf_proxy_t *proxy);
Dxaf-structs.h66 xf_proxy_t proxy; member
/device/linaro/hikey/hifi/xaf/host-apf/
DAndroid.mk18 proxy/xf-proxy.c \
19 proxy/xaf-api.c \
20 proxy/xf-trace.c \
21 proxy/xf-fio.c \
/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp119 auto proxy = cuttlefish::SharedFD::VsockClient(2, FLAGS_tpm_vsock_port, SOCK_STREAM); in main() local
120 CHECK(proxy->IsOpen()) << proxy->StrError(); in main()
136 auto proxy_to_device = std::async(std::launch::async, ReadResponseLoop, proxy, device_fd); in main()
137 auto device_to_proxy = std::async(std::launch::async, SendCommandLoop, device_fd, proxy); in main()
141 << "(" << proxy->StrError() << ")"; in main()
144 << "(" << proxy->StrError() << ")"; in main()
/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/
Dxf-ipc.h124 extern int xf_ipc_open(xf_proxy_ipc_data_t *proxy, u32 core, void *p_shmem);
127 extern void xf_ipc_close(xf_proxy_ipc_data_t *proxy, u32 core);
/device/google/cuttlefish/shared/sepolicy/vendor/
Dkernel.te11 # TODO(b/65049764): Get rid of GCE proxy and similar daemons started before Android init
12 # gce.meta.proxy and gce.ex.outer write to /dev/console which for some reason does not appear
Dgceservice.te23 # The proxy process uses the default label ("kernel") because it is
25 # TODO(b/65049764): Update once GCE metadata proxy is moved outside of the emulator or gets labelled
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dper_proxy.te1 # Policy for /system/bin/pm-proxy
Dper_mgr.te1 # Policy for pm-service and pm-proxy
Dfile_contexts91 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
/device/google/wahoo/sepolicy/vendor/
Dper_proxy.te1 # Policy for /system/bin/pm-proxy
Dper_mgr.te1 # Policy for pm-service and pm-proxy
Dfile_contexts133 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
/device/google/bonito-sepolicy/vendor/qcom/common/
Dper_proxy.te1 # Policy for /system/bin/pm-proxy
Dper_mgr.te1 # Policy for pm-service and pm-proxy
Dfile_contexts98 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.h35 _VERBOSE_TAG(proxy, "network proxy support") \
/device/generic/trusty/
Dinit.qemu_trusty.rc9 # The storage proxy is a vendor binary, and so cannot access /data/ss
/device/google/coral-sepolicy/vendor/qcom/common/
Dfile_contexts86 /(vendor|system/vendor)/bin/pm-proxy u:object_r:vendor_per_mgr_exec:s0
/device/google/wahoo/
Dinit.hardware.rc546 service vendor.per_proxy /vendor/bin/pm-proxy
/device/google/bonito/
Dinit.hardware.rc475 service vendor.per_proxy /vendor/bin/pm-proxy

12