Home
last modified time | relevance | path

Searched refs:crq_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/char/tpm/
H A Dtpm_ibmvtpm.c361 free_page((unsigned long)ibmvtpm->crq_queue.crq_addr); in tpm_ibmvtpm_remove()
440 memset(ibmvtpm->crq_queue.crq_addr, 0, CRQ_RES_BUF_SIZE); in ibmvtpm_reset_crq()
477 struct ibmvtpm_crq *crq = &crq_q->crq_addr[crq_q->index]; in ibmvtpm_crq_get_next()
621 crq_q->crq_addr = (struct ibmvtpm_crq *)get_zeroed_page(GFP_KERNEL); in tpm_ibmvtpm_probe()
622 if (!crq_q->crq_addr) { in tpm_ibmvtpm_probe()
627 crq_q->num_entry = CRQ_RES_BUF_SIZE / sizeof(*crq_q->crq_addr); in tpm_ibmvtpm_probe()
629 ibmvtpm->crq_dma_handle = dma_map_single(dev, crq_q->crq_addr, in tpm_ibmvtpm_probe()
713 if (crq_q->crq_addr) in tpm_ibmvtpm_probe()
714 free_page((unsigned long)crq_q->crq_addr); in tpm_ibmvtpm_probe()
H A Dtpm_ibmvtpm.h26 struct ibmvtpm_crq *crq_addr; member