Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dsmccc.h39 static inline bool smccc_is_fast_call(register_t funcid) in smccc_is_fast_call() argument
41 return funcid & (ARM_SMCCC_FAST_CALL << ARM_SMCCC_TYPE_SHIFT); in smccc_is_fast_call()
45 static inline bool smccc_is_conv_64(register_t funcid) in smccc_is_conv_64() argument
47 return funcid & (ARM_SMCCC_CONV_64 << ARM_SMCCC_CONV_SHIFT); in smccc_is_conv_64()
51 static inline uint32_t smccc_get_fn(register_t funcid) in smccc_get_fn() argument
53 return funcid & ARM_SMCCC_FUNC_MASK; in smccc_get_fn()
57 static inline uint32_t smccc_get_owner(register_t funcid) in smccc_get_owner() argument
59 return (funcid >> ARM_SMCCC_OWNER_SHIFT) & ARM_SMCCC_OWNER_MASK; in smccc_get_owner()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvsmc.c242 register_t funcid = get_user_reg(regs, 0); in vsmccc_handle_call() local
268 if ( smccc_is_conv_64(funcid) && is_32bit_domain(current->domain) ) in vsmccc_handle_call()
280 if ( funcid >= ARM_SMCCC_RESERVED_RANGE_START && in vsmccc_handle_call()
281 funcid <= ARM_SMCCC_RESERVED_RANGE_END ) in vsmccc_handle_call()
285 switch ( smccc_get_owner(funcid) ) in vsmccc_handle_call()
298 gprintk(XENLOG_INFO, "Unhandled SMC/HVC: %08"PRIregister"\n", funcid); in vsmccc_handle_call()

Completed in 3 milliseconds