Lines Matching full:operation
69 TEEC_Operation operation; in rk_write_oem_otp_key() local
99 memset(&operation, 0, sizeof(TEEC_Operation)); in rk_write_oem_otp_key()
100 operation.params[0].value.a = key_id; in rk_write_oem_otp_key()
101 operation.params[1].tmpref.buffer = key; in rk_write_oem_otp_key()
102 operation.params[1].tmpref.size = key_len; in rk_write_oem_otp_key()
103 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INPUT, in rk_write_oem_otp_key()
109 &operation, &error_origin); in rk_write_oem_otp_key()
126 TEEC_Operation operation; in rk_oem_otp_key_is_written() local
151 memset(&operation, 0, sizeof(TEEC_Operation)); in rk_oem_otp_key_is_written()
152 operation.params[0].value.a = key_id; in rk_oem_otp_key_is_written()
153 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INOUT, in rk_oem_otp_key_is_written()
159 &operation, &error_origin); in rk_oem_otp_key_is_written()
166 *is_written = operation.params[0].value.b; in rk_oem_otp_key_is_written()
181 TEEC_Operation operation; in rk_set_oem_hr_otp_read_lock() local
204 memset(&operation, 0, sizeof(TEEC_Operation)); in rk_set_oem_hr_otp_read_lock()
205 operation.params[0].value.a = key_id; in rk_set_oem_hr_otp_read_lock()
206 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INPUT, in rk_set_oem_hr_otp_read_lock()
212 &operation, &error_origin); in rk_set_oem_hr_otp_read_lock()
230 TEEC_Operation operation; in rk_oem_otp_key_cipher_virt() local
244 RK_CRYPTO_CHECK_PARAM(config->operation != RK_OP_CIPHER_ENC && in rk_oem_otp_key_cipher_virt()
245 config->operation != RK_OP_CIPHER_DEC); in rk_oem_otp_key_cipher_virt()
293 memset(&operation, 0, sizeof(TEEC_Operation)); in rk_oem_otp_key_cipher_virt()
294 operation.params[0].value.a = key_id; in rk_oem_otp_key_cipher_virt()
295 operation.params[1].tmpref.buffer = config; in rk_oem_otp_key_cipher_virt()
296 operation.params[1].tmpref.size = sizeof(rk_cipher_config); in rk_oem_otp_key_cipher_virt()
297 operation.params[2].memref.parent = &sm; in rk_oem_otp_key_cipher_virt()
298 operation.params[2].memref.offset = 0; in rk_oem_otp_key_cipher_virt()
299 operation.params[2].memref.size = sm.size; in rk_oem_otp_key_cipher_virt()
301 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INPUT, in rk_oem_otp_key_cipher_virt()
307 &operation, &error_origin); in rk_oem_otp_key_cipher_virt()
331 TEEC_Operation operation; in rk_oem_otp_key_cipher() local
348 RK_CRYPTO_CHECK_PARAM(config->operation != RK_OP_CIPHER_ENC && in rk_oem_otp_key_cipher()
349 config->operation != RK_OP_CIPHER_DEC); in rk_oem_otp_key_cipher()
406 memset(&operation, 0, sizeof(TEEC_Operation)); in rk_oem_otp_key_cipher()
407 operation.params[0].value.a = key_id; in rk_oem_otp_key_cipher()
408 operation.params[1].tmpref.buffer = config; in rk_oem_otp_key_cipher()
409 operation.params[1].tmpref.size = sizeof(rk_cipher_config); in rk_oem_otp_key_cipher()
410 operation.params[2].value.a = src_mop.phys_addr; in rk_oem_otp_key_cipher()
411 operation.params[2].value.b = len_cipher; in rk_oem_otp_key_cipher()
412 operation.params[3].value.a = dst_mop.phys_addr; in rk_oem_otp_key_cipher()
414 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_INPUT, in rk_oem_otp_key_cipher()
420 &operation, &error_origin); in rk_oem_otp_key_cipher()