Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ibmvtpm.c360 CRQ_RES_BUF_SIZE, DMA_BIDIRECTIONAL); in tpm_ibmvtpm_remove()
396 return CRQ_RES_BUF_SIZE + PAGE_SIZE; in tpm_ibmvtpm_get_desired_dma()
398 return CRQ_RES_BUF_SIZE + ibmvtpm->rtce_size; in tpm_ibmvtpm_get_desired_dma()
442 memset(ibmvtpm->crq_queue.crq_addr, 0, CRQ_RES_BUF_SIZE); in ibmvtpm_reset_crq()
446 ibmvtpm->crq_dma_handle, CRQ_RES_BUF_SIZE); in ibmvtpm_reset_crq()
629 crq_q->num_entry = CRQ_RES_BUF_SIZE / sizeof(*crq_q->crq_addr); in tpm_ibmvtpm_probe()
632 CRQ_RES_BUF_SIZE, in tpm_ibmvtpm_probe()
641 ibmvtpm->crq_dma_handle, CRQ_RES_BUF_SIZE); in tpm_ibmvtpm_probe()
710 dma_unmap_single(dev, ibmvtpm->crq_dma_handle, CRQ_RES_BUF_SIZE, in tpm_ibmvtpm_probe()
Dtpm_ibmvtpm.h47 #define CRQ_RES_BUF_SIZE PAGE_SIZE macro