Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/intel/keembay/
Dkeembay-ocs-ecc.c100 struct ocs_ecc_dev *ecc_dev; member
143 static void ocs_ecc_cmd_start(struct ocs_ecc_dev *ecc_dev, u32 op_size) in ocs_ecc_cmd_start() argument
146 ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_cmd_start()
164 static int ocs_ecc_trigger_op(struct ocs_ecc_dev *ecc_dev, u32 op_size, in ocs_ecc_trigger_op() argument
167 reinit_completion(&ecc_dev->irq_done); in ocs_ecc_trigger_op()
169 iowrite32(ECC_ENABLE_INTR, ecc_dev->base_reg + HW_OFFS_OCS_ECC_IER); in ocs_ecc_trigger_op()
170 iowrite32(op_size | inst, ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_trigger_op()
172 return wait_for_completion_interruptible(&ecc_dev->irq_done); in ocs_ecc_trigger_op()
205 if (tctx->ecc_dev) in kmb_ocs_ecc_find_dev()
206 return tctx->ecc_dev; in kmb_ocs_ecc_find_dev()
[all …]