Lines Matching refs:temp_buf
78 u8 *temp_buf; in ftpm_tee_tpm_op_send() local
112 temp_buf = tee_shm_get_va(shm, 0); in ftpm_tee_tpm_op_send()
113 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
116 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
118 memset(temp_buf, 0, (MAX_COMMAND_SIZE + MAX_RESPONSE_SIZE)); in ftpm_tee_tpm_op_send()
119 memcpy(temp_buf, buf, len); in ftpm_tee_tpm_op_send()
138 temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); in ftpm_tee_tpm_op_send()
139 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
142 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
145 resp_header = (struct tpm_header *)temp_buf; in ftpm_tee_tpm_op_send()
162 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send()