Lines Matching refs:rtce_buf
110 if (!ibmvtpm->rtce_buf) { in tpm_ibmvtpm_recv()
125 memcpy((void *)buf, (void *)ibmvtpm->rtce_buf, len); in tpm_ibmvtpm_recv()
126 memset(ibmvtpm->rtce_buf, 0, len); in tpm_ibmvtpm_recv()
206 if (!ibmvtpm->rtce_buf) { in tpm_ibmvtpm_send()
229 memcpy((void *)ibmvtpm->rtce_buf, (void *)buf, count); in tpm_ibmvtpm_send()
363 if (ibmvtpm->rtce_buf) { in tpm_ibmvtpm_remove()
366 kfree(ibmvtpm->rtce_buf); in tpm_ibmvtpm_remove()
525 ibmvtpm->rtce_buf = kmalloc(ibmvtpm->rtce_size, in ibmvtpm_crq_process()
527 if (!ibmvtpm->rtce_buf) { in ibmvtpm_crq_process()
533 ibmvtpm->rtce_buf, ibmvtpm->rtce_size, in ibmvtpm_crq_process()
538 kfree(ibmvtpm->rtce_buf); in ibmvtpm_crq_process()
539 ibmvtpm->rtce_buf = NULL; in ibmvtpm_crq_process()
682 ibmvtpm->rtce_buf != NULL, in tpm_ibmvtpm_probe()