/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 49 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 …]
|
D | xaf-api.c | 71 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/ |
D | xf-shmem.h | 120 #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/ |
D | xf-proxy.h | 118 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 …]
|
D | xf-proto.h | 66 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);
|
D | xaf-structs.h | 66 xf_proxy_t proxy; member
|
/device/linaro/hikey/hifi/xaf/host-apf/ |
D | Android.mk | 18 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/ |
D | main.cpp | 119 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/ |
D | xf-ipc.h | 124 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/ |
D | kernel.te | 11 # 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
|
D | gceservice.te | 23 # 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/ |
D | per_proxy.te | 1 # Policy for /system/bin/pm-proxy
|
D | per_mgr.te | 1 # Policy for pm-service and pm-proxy
|
D | file_contexts | 91 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
|
/device/google/wahoo/sepolicy/vendor/ |
D | per_proxy.te | 1 # Policy for /system/bin/pm-proxy
|
D | per_mgr.te | 1 # Policy for pm-service and pm-proxy
|
D | file_contexts | 133 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
|
/device/google/bonito-sepolicy/vendor/qcom/common/ |
D | per_proxy.te | 1 # Policy for /system/bin/pm-proxy
|
D | per_mgr.te | 1 # Policy for pm-service and pm-proxy
|
D | file_contexts | 98 /vendor/bin/pm-proxy u:object_r:per_proxy_exec:s0
|
/device/generic/goldfish-opengl/android-emu/android/utils/ |
D | debug.h | 35 _VERBOSE_TAG(proxy, "network proxy support") \
|
/device/generic/trusty/ |
D | init.qemu_trusty.rc | 9 # The storage proxy is a vendor binary, and so cannot access /data/ss
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | file_contexts | 86 /(vendor|system/vendor)/bin/pm-proxy u:object_r:vendor_per_mgr_exec:s0
|
/device/google/wahoo/ |
D | init.hardware.rc | 546 service vendor.per_proxy /vendor/bin/pm-proxy
|
/device/google/bonito/ |
D | init.hardware.rc | 475 service vendor.per_proxy /vendor/bin/pm-proxy
|