Searched refs:buf_to_tee (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/common_modules/tzdriver/core/ |
H A D | agent.c | 257 const uint8_t *buf_to_tee, uint32_t buf_len) in send_set_smc_cmd() 264 (unsigned int)mailbox_virt_to_phys((uintptr_t)buf_to_tee); in send_set_smc_cmd() 266 (uint64_t)mailbox_virt_to_phys((uintptr_t)buf_to_tee) >> ADDR_TRANS_NUM; in send_set_smc_cmd() 287 uint8_t *buf_to_tee = NULL; in tc_ns_set_native_hash() local 306 buf_to_tee = mailbox_alloc(buf_len, 0); in tc_ns_set_native_hash() 307 if (!buf_to_tee) { in tc_ns_set_native_hash() 312 if (copy_from_user(buf_to_tee, inbuf, buf_len)) { in tc_ns_set_native_hash() 314 mailbox_free(buf_to_tee); in tc_ns_set_native_hash() 321 mailbox_free(buf_to_tee); in tc_ns_set_native_hash() 325 ret = send_set_smc_cmd(mb_pack, &smc_cmd, cmd_id, buf_to_tee, buf_le in tc_ns_set_native_hash() 255 send_set_smc_cmd(struct mb_cmd_pack *mb_pack, struct tc_ns_smc_cmd *smc_cmd, unsigned int cmd_id, const uint8_t *buf_to_tee, uint32_t buf_len) send_set_smc_cmd() argument [all...] |
/kernel/linux/common_modules/tzdriver/tui/ |
H A D | tui.c | 978 static bool package_notch_msg(struct mb_cmd_pack *mb_pack, uint8_t **buf_to_tee, argument 982 *buf_to_tee = mailbox_alloc(buf_len, 0); 983 if (*buf_to_tee == NULL) { 987 if (memcpy_s(*buf_to_tee, buf_len, &tui_param->value, 990 mailbox_free(*buf_to_tee); 997 (uint32_t)mailbox_virt_to_phys((uintptr_t)*buf_to_tee); 999 (uint64_t)mailbox_virt_to_phys((uintptr_t)*buf_to_tee) >> ADDR_TRANS_NUM; 1073 uint8_t *buf_to_tee = NULL; local 1108 if (!package_notch_msg(mb_pack, &buf_to_tee, 1130 if (buf_to_tee ! [all...] |
Completed in 3 milliseconds