Searched refs:hcu_dev (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-hcu.c | 169 static int ocs_hcu_wait_busy(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_wait_busy() argument 173 return readl_poll_timeout(hcu_dev->io_base + OCS_HCU_STATUS, val, in ocs_hcu_wait_busy() 179 static void ocs_hcu_done_irq_en(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_done_irq_en() argument 182 writel(0xFFFFFFFF, hcu_dev->io_base + OCS_HCU_ISR); in ocs_hcu_done_irq_en() 183 hcu_dev->irq_err = false; in ocs_hcu_done_irq_en() 186 hcu_dev->io_base + OCS_HCU_IER); in ocs_hcu_done_irq_en() 189 static void ocs_hcu_dma_irq_en(struct ocs_hcu_dev *hcu_dev) in ocs_hcu_dma_irq_en() argument 192 writel(0xFFFFFFFF, hcu_dev->io_base + OCS_HCU_DMA_MSI_ISR); in ocs_hcu_dma_irq_en() 193 hcu_dev->irq_err = false; in ocs_hcu_dma_irq_en() 196 hcu_dev->io_base + OCS_HCU_DMA_MSI_IER); in ocs_hcu_dma_irq_en() [all …]
|
H A D | keembay-ocs-hcu-core.c | 46 struct ocs_hcu_dev *hcu_dev; member 73 struct ocs_hcu_dev *hcu_dev; member 170 if (tctx->hcu_dev) in kmb_ocs_hcu_find_dev() 171 return tctx->hcu_dev; in kmb_ocs_hcu_find_dev() 178 tctx->hcu_dev = list_first_entry_or_null(&ocs_hcu.dev_list, in kmb_ocs_hcu_find_dev() 183 return tctx->hcu_dev; in kmb_ocs_hcu_find_dev() 190 struct ocs_hcu_dev *hcu_dev = rctx->hcu_dev; in kmb_ocs_hcu_dma_cleanup() local 191 struct device *dev = hcu_dev->dev; in kmb_ocs_hcu_dma_cleanup() 208 ocs_hcu_dma_list_free(hcu_dev, rctx->dma_list); in kmb_ocs_hcu_dma_cleanup() 230 struct device *dev = rctx->hcu_dev->dev; in kmb_ocs_dma_prepare() [all …]
|
H A D | ocs-hcu.h | 73 struct ocs_hcu_dma_list *ocs_hcu_dma_list_alloc(struct ocs_hcu_dev *hcu_dev, 76 void ocs_hcu_dma_list_free(struct ocs_hcu_dev *hcu_dev, 79 int ocs_hcu_dma_list_add_tail(struct ocs_hcu_dev *hcu_dev, 85 int ocs_hcu_hash_update(struct ocs_hcu_dev *hcu_dev, 89 int ocs_hcu_hash_finup(struct ocs_hcu_dev *hcu_dev, 94 int ocs_hcu_hash_final(struct ocs_hcu_dev *hcu_dev, 98 int ocs_hcu_digest(struct ocs_hcu_dev *hcu_dev, enum ocs_hcu_algo algo, 101 int ocs_hcu_hmac(struct ocs_hcu_dev *hcu_dev, enum ocs_hcu_algo algo,
|