Home
last modified time | relevance | path

Searched refs:comm_ctx (Results 1 – 2 of 2) sorted by relevance

/hardware/samsung_slsi/exynos5/libsecurepath/
Dtlc_communication.cpp24 mcResult_t tlc_open(mc_comm_ctx *comm_ctx) { in tlc_open() argument
32 mcRet = mcOpenDevice(comm_ctx->device_id); in tlc_open()
40 …mcRet = mcMallocWsm(comm_ctx->device_id, 0, sizeof(tciMessage_t), (uint8_t **)&(comm_ctx->tci_msg)… in tlc_open()
49 bzero(&(comm_ctx->handle), sizeof(mcSessionHandle_t)); // Clear the session handle in tlc_open()
51 comm_ctx->handle.deviceId = comm_ctx->device_id; // The device ID (default device is used) in tlc_open()
53 mcRet = mcOpenSession(&(comm_ctx->handle), &(comm_ctx->uuid), (uint8_t *)(comm_ctx->tci_msg), in tlc_open()
66 mcResult_t tlc_close(mc_comm_ctx *comm_ctx) { in tlc_close() argument
75 mcRet = mcFreeWsm((comm_ctx->device_id), (uint8_t *)(comm_ctx->tci_msg)); in tlc_close()
84 mcRet = mcCloseSession(&(comm_ctx->handle)); in tlc_close()
93 mcRet = mcCloseDevice(comm_ctx->device_id); in tlc_close()
[all …]
Dtlc_communication.h34 mcResult_t tlc_open(mc_comm_ctx *comm_ctx);
35 mcResult_t tlc_close(mc_comm_ctx *comm_ctx);
36 mcResult_t tlc_communicate(mc_comm_ctx *comm_ctx);