Home
last modified time | relevance | path

Searched refs:parg (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/drivers/firewall/
H A Dfirewall.c18 static TEE_Result firewall_get(struct dt_pargs *parg, void *data, in firewall_get() argument
24 assert(parg->args_count >= 0); in firewall_get()
31 fw->arg_count = parg->args_count; in firewall_get()
41 for (i = 0; i < (unsigned int)parg->args_count; i++) in firewall_get()
42 fw->args[i] = parg->args[i]; in firewall_get()
/optee_os/core/arch/riscv/kernel/
H A Dthread_optee_abi.c182 static uint32_t std_entry_with_parg(paddr_t parg, bool with_rpc_arg) in std_entry_with_parg() argument
192 if (core_pbuf_is(CORE_MEM_NSEC_SHM, parg, sz)) { in std_entry_with_parg()
193 if (!IS_ALIGNED_WITH_TYPE(parg, struct optee_msg_arg)) in std_entry_with_parg()
196 arg = phys_to_virt(parg, MEM_AREA_NSEC_SHM, in std_entry_with_parg()
210 if (!core_pbuf_is(CORE_MEM_NSEC_SHM, parg, sz)) in std_entry_with_parg()
216 if (parg & SMALL_PAGE_MASK) in std_entry_with_parg()
222 mobj = mobj_mapped_shm_alloc(&parg, 1, 0, 0); in std_entry_with_parg()
235 EMSG("Bad arg address 0x%"PRIxPA, parg); in std_entry_with_parg()
/optee_os/core/arch/arm/kernel/
H A Dthread_optee_smc.c181 static uint32_t std_entry_with_parg(paddr_t parg, bool with_rpc_arg) in std_entry_with_parg() argument
191 if (core_pbuf_is(CORE_MEM_NSEC_SHM, parg, sz)) { in std_entry_with_parg()
192 if (!IS_ALIGNED_WITH_TYPE(parg, struct optee_msg_arg)) in std_entry_with_parg()
195 arg = phys_to_virt(parg, MEM_AREA_NSEC_SHM, in std_entry_with_parg()
209 if (!core_pbuf_is(CORE_MEM_NSEC_SHM, parg, sz)) in std_entry_with_parg()
214 if (parg & SMALL_PAGE_MASK) in std_entry_with_parg()
220 mobj = mobj_mapped_shm_alloc(&parg, 1, 0, 0); in std_entry_with_parg()
234 EMSG("Bad arg address 0x%"PRIxPA, parg); in std_entry_with_parg()
/optee_os/core/include/kernel/
H A Ddt_driver.h119 typedef TEE_Result (*get_of_device_func)(struct dt_pargs *parg, void *data,