Lines Matching refs:uint64_t
21 #define OPTEE_NUMBER_OF_ADDR_PER_PAGE (OPTEE_MSG_NONCONTIG_PAGE_SIZE / sizeof(uint64_t))
235 static uint64_t regs_to_u64(uint32_t reg0, uint32_t reg1) in regs_to_u64()
237 return (uint64_t)(((uint64_t)reg0 << 32) | reg1); in regs_to_u64()
240 static void u64_to_regs(uint64_t val, uint32_t *reg0, uint32_t *reg1) in u64_to_regs()
252 static void *optee_construct_page_list(void *buf, uint32_t len, uint64_t *phys_buf);
321 param.b = (uint64_t)shm; in cmd_free_suppl()
334 uint64_t pl_phys_and_offset; in handle_cmd_alloc()
375 arg->params[0].u.tmem.shm_ref = (uint64_t)shm; in handle_cmd_alloc()
652 u64_to_regs((uint64_t)k_mem_phys_addr(shm->addr), ¶m->a1, ¶m->a2); in handle_rpc_call()
653 u64_to_regs((uint64_t)shm, ¶m->a4, ¶m->a5); in handle_rpc_call()
687 u64_to_regs((uint64_t)k_mem_phys_addr(arg), ¶m.a1, ¶m.a2); in optee_call()
914 static void *optee_construct_page_list(void *buf, uint32_t len, uint64_t *phys_buf) in optee_construct_page_list()
926 uint64_t pages[OPTEE_NUMBER_OF_ADDR_PER_PAGE - 1]; in optee_construct_page_list()
927 uint64_t next_page; in optee_construct_page_list()
971 uint64_t pl_phys_and_offset; in optee_shm_register()
996 msg_arg->params->u.tmem.shm_ref = (uint64_t)shm; in optee_shm_register()
1029 msg_arg->params[0].u.rmem.shm_ref = (uint64_t)shm; in optee_shm_unregister()