Searched refs:crq_q (Results 1 – 1 of 1) sorted by relevance
478 struct ibmvtpm_crq *crq = &crq_q->crq_addr[crq_q->index]; in ibmvtpm_crq_get_next()481 if (++crq_q->index == crq_q->num_entry) in ibmvtpm_crq_get_next()482 crq_q->index = 0; in ibmvtpm_crq_get_next()604 struct ibmvtpm_crq_queue *crq_q; in tpm_ibmvtpm_probe() local621 crq_q = &ibmvtpm->crq_queue; in tpm_ibmvtpm_probe()623 if (!crq_q->crq_addr) { in tpm_ibmvtpm_probe()628 crq_q->num_entry = CRQ_RES_BUF_SIZE / sizeof(*crq_q->crq_addr); in tpm_ibmvtpm_probe()629 init_waitqueue_head(&crq_q->wq); in tpm_ibmvtpm_probe()664 crq_q->index = 0; in tpm_ibmvtpm_probe()704 if (crq_q->crq_addr) in tpm_ibmvtpm_probe()[all …]