/trusty/user/app/sample/spi/swspi-srv/driver/ |
D | swspi.c | 38 static void spi_req_exec_set_clk(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_set_clk() argument 51 static void spi_req_exec_cs_assert(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_cs_assert() argument 66 static void spi_req_exec_cs_deassert(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_cs_deassert() argument 114 static void spi_req_exec_xfer(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_xfer() argument 115 struct spi_req_xfer_args* args = (struct spi_req_xfer_args*)priv; in spi_req_exec_xfer() 155 dev->cmds[dev->curr_cmd].priv = args; in spi_req_xfer() 160 static void spi_req_exec_delay(struct spi_dev_ctx* dev, void* priv) { in spi_req_exec_delay() argument 161 uint64_t delay_ns = *((uint64_t*)priv); in spi_req_exec_delay() 176 dev->cmds[dev->curr_cmd].priv = arg; in spi_req_delay() 197 void* priv = dev->cmds[i].priv; in spi_seq_free() local [all …]
|
D | swspi.h | 47 void (*exec)(struct spi_dev_ctx* dev, void* priv); 48 void* priv; member
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | event.h | 50 void (*open)(const void* priv); 51 void (*mask)(const void* priv); 52 void (*unmask)(const void* priv); 53 void (*close)(const void* priv);
|
D | uctx.h | 39 int uctx_create(void* priv, struct uctx** ctx);
|
/trusty/kernel/lib/trusty/ |
D | vqueue.h | 39 typedef int (*vqueue_cb_t)(struct vqueue* vq, void* priv); 60 void* priv; member 90 void* priv, 119 return vq->notify_cb(vq, vq->priv); in vqueue_notify() 125 return vq->kick_cb(vq, vq->priv); in vqueue_kick()
|
/trusty/user/base/lib/secure_dpu/ |
D | secure_dpu.c | 53 .priv = &ctx, 287 struct secure_dpu_ctx* priv = (struct secure_dpu_ctx*)port->priv; in secure_dpu_on_connect() local 296 if (*(priv->chan) != INVALID_IPC_HANDLE) { in secure_dpu_on_connect() 298 close(*(priv->chan)); in secure_dpu_on_connect() 302 *(priv->chan) = chan; in secure_dpu_on_connect() 310 struct secure_dpu_ctx* priv = (struct secure_dpu_ctx*)port->priv; in secure_dpu_on_disconnect() local 312 assert(priv->chan); in secure_dpu_on_disconnect() 313 *(priv->chan) = INVALID_IPC_HANDLE; in secure_dpu_on_disconnect()
|
/trusty/user/app/sample/hwcrypto/ |
D | hwkey_srv_fake_provider.c | 463 return hwkey_get_derived_key(slot->priv, kbuf, kbuf_len, klen); in derived_keyslot_handler() 507 return hwkey_get_derived_key(data->priv, kbuf, kbuf_len, klen); in get_derived_key_opaque() 514 .priv = &hwcrypto_unittest_derived_data, 753 return get_apploader_key(slot->priv, kbuf, kbuf_len, klen); in get_apploader_sign_key() 767 return get_apploader_key(slot->priv, kbuf, kbuf_len, klen); in get_apploader_sign_unlocked_key() 787 return get_apploader_key(data->priv, kbuf, kbuf_len, klen); in get_apploader_key_opaque() 797 .priv = &apploader_encrypt_key_0, 808 .priv = &apploader_encrypt_key_1, 897 .priv = &apploader_sign_key_0, 905 .priv = &apploader_sign_key_1, [all …]
|
D | hwrng_srv.c | 43 static void hwrng_port_handler(const uevent_t* ev, void* priv); 44 static void hwrng_chan_handler(const uevent_t* ev, void* priv); 184 static void hwrng_chan_handler(const uevent_t* ev, void* priv) { in hwrng_chan_handler() argument 185 struct hwrng_chan_ctx* ctx = priv; in hwrng_chan_handler() 214 static void hwrng_port_handler(const uevent_t* ev, void* priv) { in hwrng_port_handler() argument 239 ctx->evt_handler.priv = ctx; in hwrng_port_handler()
|
D | hwkey_srv_priv.h | 27 const void* priv; member 47 const void* priv; member 84 const void* priv; member
|
D | hwkey_srv.c | 68 static void hwkey_port_handler(const uevent_t* ev, void* priv); 69 static void hwkey_chan_handler(const uevent_t* ev, void* priv); 127 const struct hwkey_opaque_handle_data* handle = slot->priv; in is_allowed_to_read_opaque_key() 584 static void hwkey_chan_handler(const uevent_t* ev, void* priv) { in hwkey_chan_handler() argument 585 struct hwkey_chan_ctx* ctx = priv; in hwkey_chan_handler() 612 static void hwkey_port_handler(const uevent_t* ev, void* priv) { in hwkey_port_handler() argument 640 ctx->evt_handler.priv = ctx; in hwkey_port_handler() 684 const struct hwkey_opaque_handle_data* handle = slot->priv; in get_key_handle() 759 entry->key_slot->priv; in get_opaque_key()
|
/trusty/user/base/app/metrics/ |
D | client.h | 38 port->priv = state; in set_srv_state() 42 return (struct srv_state*)(port->priv); in get_srv_state()
|
/trusty/hardware/nxp/app/hwcrypto/ |
D | hwrng_srv.c | 46 static void hwrng_port_handler(const uevent_t* ev, void* priv); 47 static void hwrng_chan_handler(const uevent_t* ev, void* priv); 181 static void hwrng_chan_handler(const uevent_t* ev, void* priv) { in hwrng_chan_handler() argument 182 struct hwrng_chan_ctx* ctx = priv; in hwrng_chan_handler() 211 static void hwrng_port_handler(const uevent_t* ev, void* priv) { in hwrng_port_handler() argument 236 ctx->evt_handler.priv = ctx; in hwrng_port_handler()
|
D | hwkey_srv.c | 43 static void hwkey_port_handler(const uevent_t* ev, void* priv); 44 static void hwkey_chan_handler(const uevent_t* ev, void* priv); 247 static void hwkey_chan_handler(const uevent_t* ev, void* priv) { in hwkey_chan_handler() argument 248 struct hwkey_chan_ctx* ctx = priv; in hwkey_chan_handler() 275 static void hwkey_port_handler(const uevent_t* ev, void* priv) { in hwkey_port_handler() argument 297 ctx->evt_handler.priv = ctx; in hwkey_port_handler()
|
D | hwkey_srv_priv.h | 25 const void* priv; member
|
D | common.h | 27 void* priv; member
|
/trusty/user/app/sample/hwcrypto/keybox/ |
D | srv.c | 40 static void keybox_port_handler(const uevent_t* ev, void* priv); 41 static void keybox_chan_handler(const uevent_t* ev, void* priv); 140 static void keybox_chan_handler(const uevent_t* ev, void* priv) { in keybox_chan_handler() argument 141 struct keybox_chan_ctx* ctx = (struct keybox_chan_ctx*)priv; in keybox_chan_handler() 158 static void keybox_port_handler(const uevent_t* ev, void* priv) { in keybox_port_handler() argument 183 ctx->evt_handler.priv = ctx; in keybox_port_handler()
|
/trusty/user/base/app/line-coverage/ |
D | coverage.h | 48 port->priv = state; in set_srv_state() 52 return (struct srv_state*)(port->priv); in get_srv_state()
|
/trusty/user/base/app/coverage/ |
D | coverage.h | 48 port->priv = state; in set_srv_state() 52 return (struct srv_state*)(port->priv); in get_srv_state()
|
/trusty/user/app/sample/spi/swspi-srv/ |
D | swspi-srv.c | 69 .priv = &test_dev, 77 .priv = &loopback_dev,
|
/trusty/user/base/lib/tipc/test/srv/ |
D | srv.c | 36 void* priv; member 53 void* priv; member 89 .priv = NULL, 223 if (state->priv) { in _destroy_service() 224 free(state->priv); in _destroy_service() 225 state->priv = NULL; in _destroy_service() 240 state->handler.priv = NULL; in _destroy_service() 264 state->handler.priv = state; in _create_service() 266 state->priv = NULL; in _create_service() 270 state->priv = calloc(1, srv->port_state_size); in _create_service() [all …]
|
/trusty/kernel/include/shared/lk/ |
D | trusty_unittest.h | 150 void* priv; member 313 static inline const void* test_gen_array_param(void* priv, int i) { in test_gen_array_param() argument 314 struct test_array_param* param = (struct test_array_param*)priv; in test_gen_array_param() 330 static inline const void* test_gen_range_param(void* priv, int i) { in test_gen_range_param() argument 331 struct test_range_param* range_param = (struct test_range_param*)priv; in test_gen_range_param() 357 params->generators[j].priv, params->idxs[j]); in update_combined_params() 361 static inline const void* test_gen_combined_param(void* priv, int i) { in test_gen_combined_param() argument 362 struct combined_params* params = (struct combined_params*)priv; in test_gen_combined_param() 405 param_node.param_gen.priv = &range_param;) 416 param_node.param_gen.priv = &array_param;) [all …]
|
/trusty/user/base/lib/tipc/include/lib/tipc/ |
D | tipc.h | 172 typedef void (*event_handler_proc_t)(const struct uevent* ev, void* priv); 182 void* priv; member
|
D | tipc_srv.h | 99 const void* priv; member
|
/trusty/user/app/keymaster/ipc/ |
D | keymaster_ipc.cpp | 42 void* priv; member 61 static void keymaster_port_handler_secure(const uevent_t* ev, void* priv); 62 static void keymaster_port_handler_non_secure(const uevent_t* ev, void* priv); 66 .priv = NULL, 71 .priv = NULL, 74 static void keymaster_chan_handler(const uevent_t* ev, void* priv); 700 ctx->handler.priv = ctx; in keymaster_ctx_open() 778 static void keymaster_chan_handler(const uevent_t* ev, void* priv) { in keymaster_chan_handler() argument 779 keymaster_chan_ctx* ctx = reinterpret_cast<keymaster_chan_ctx*>(priv); in keymaster_chan_handler() 812 void* priv, in keymaster_port_handler() argument [all …]
|
/trusty/kernel/lib/ktipc/test/srv/ |
D | srv.c | 235 .priv = NULL, 251 .priv = NULL, 267 .priv = NULL,
|