* @close_session: close a session
* @invoke_func: invoke a trusted function
* @cancel_req: request cancel of an ongoing invoke or open
- * @supp_revc: called for supplicant to get a command
+ * @supp_recv: called for supplicant to get a command
* @supp_send: called for supplicant to send a response
*/
struct tee_driver_ops {
/**
* tee_shm_va2pa() - Get physical address of a virtual address
* @shm: Shared memory handle
- * @va: Virtual address to tranlsate
+ * @va: Virtual address to translate
* @pa: Returned physical address
* @returns 0 on success and < 0 on failure
*/
/**
* tee_shm_pa2va() - Get virtual address of a physical address
* @shm: Shared memory handle
- * @pa: Physical address to tranlsate
+ * @pa: Physical address to translate
* @va: Returned virtual address
* @returns 0 on success and < 0 on failure
*/
* optee_to_msg_param() - convert from struct tee_params to OPTEE_MSG parameters
* @msg_params: OPTEE_MSG parameters
* @num_params: number of elements in the parameter arrays
- * @params: subsystem itnernal parameter representation
+ * @params: subsystem internal parameter representation
* Returns 0 on success or <0 on failure
*/
int optee_to_msg_param(struct optee_msg_param *msg_params, size_t num_params,
#define OPTEE_MSG_ATTR_META BIT(8)
/*
- * The temporary shared memory object is not physically contigous and this
+ * The temporary shared memory object is not physically contiguous and this
* temp memref is followed by another fragment until the last temp memref
* that doesn't have this bit set.
*/
* struct optee_msg_arg::arg holds values defined by OPTEE_MSG_RPC_CMD_* below
*
* RPC communication with tee-supplicant is reversed compared to normal
- * client communication desribed above. The supplicant receives requests
+ * client communication described above. The supplicant receives requests
* and sends responses.
*/
* optee_msg_arg.
* OPTEE_SMC_RETURN_ETHREAD_LIMIT Number of Trusted OS threads exceeded,
* try again later.
- * OPTEE_SMC_RETURN_EBADADDR Bad physcial pointer to struct
+ * OPTEE_SMC_RETURN_EBADADDR Bad physicial pointer to struct
* optee_msg_arg.
* OPTEE_SMC_RETURN_EBADCMD Bad/unknown cmd in struct optee_msg_arg
* OPTEE_SMC_RETURN_IS_RPC() Call suspended by RPC call to normal
/**
* tee_shm_va2pa() - Get physical address of a virtual address
* @shm: Shared memory handle
- * @va: Virtual address to tranlsate
+ * @va: Virtual address to translate
* @pa: Returned physical address
* @returns 0 on success and < 0 on failure
*/
/**
* tee_shm_pa2va() - Get virtual address of a physical address
* @shm: Shared memory handle
- * @pa: Physical address to tranlsate
+ * @pa: Physical address to translate
* @va: Returned virtual address
* @returns 0 on success and < 0 on failure
*/