Home
last modified time | relevance | path

Searched refs:unalign_base (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c30 cmdq->unalign_base = dma_alloc_coherent(DEV(ndev), cmdq->qsize, in nitrox_cmdq_init()
33 if (!cmdq->unalign_base) in nitrox_cmdq_init()
37 cmdq->base = cmdq->unalign_base + (cmdq->dma - cmdq->unalign_dma); in nitrox_cmdq_init()
67 if (!cmdq->unalign_base) in nitrox_cmdq_cleanup()
74 cmdq->unalign_base, cmdq->unalign_dma); in nitrox_cmdq_cleanup()
79 cmdq->unalign_base = NULL; in nitrox_cmdq_cleanup()
Dnitrox_dev.h63 u8 *unalign_base; member
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c59 dmem->unalign_base = dma_alloc_coherent(&nic->pdev->dev, dmem->size, in nicvf_alloc_q_desc_mem()
61 if (!dmem->unalign_base) in nicvf_alloc_q_desc_mem()
66 dmem->base = dmem->unalign_base + (dmem->phys_base - dmem->dma); in nicvf_alloc_q_desc_mem()
77 dmem->unalign_base, dmem->dma); in nicvf_free_q_desc_mem()
78 dmem->unalign_base = NULL; in nicvf_free_q_desc_mem()
Dnicvf_queues.h212 void *unalign_base; member