Lines Matching refs:CR_CRYPEN
116 #define CR_CRYPEN 0x00008000 macro
282 writel_relaxed(readl_relaxed(cryp->regs + cryp->caps->cr) | CR_CRYPEN, in stm32_cryp_enable()
291 !(status & CR_CRYPEN), 10, 100000); in stm32_cryp_wait_enable()
543 stm32_cryp_write(cryp, cryp->caps->cr, cfg | CR_PH_INIT | CR_CRYPEN); in stm32_cryp_gcm_init()
583 cfg &= ~CR_CRYPEN; in stm32_crypt_gcmccm_end_header()
587 cfg |= CR_PH_PAYLOAD | CR_CRYPEN; in stm32_crypt_gcmccm_end_header()
663 stm32_cryp_write(cryp, cryp->caps->cr, cfg | CR_PH_INIT | CR_CRYPEN); in stm32_cryp_ccm_init()
686 cfg |= CR_PH_HEADER | CR_CRYPEN; in stm32_cryp_ccm_init()
1286 cfg |= CR_CRYPEN; in stm32_cryp_read_auth_tag()
1350 cfg &= ~CR_CRYPEN; in stm32_cryp_read_auth_tag()
1368 stm32_cryp_write(cryp, cryp->caps->cr, cr & ~CR_CRYPEN); in stm32_cryp_check_ctr_counter()
1414 cfg &= ~CR_CRYPEN; in stm32_cryp_irq_write_gcm_padded_data()
1426 cfg |= CR_CRYPEN; in stm32_cryp_irq_write_gcm_padded_data()
1483 cfg &= ~CR_CRYPEN; in stm32_cryp_irq_set_npblb()
1487 cfg |= CR_CRYPEN; in stm32_cryp_irq_set_npblb()
1505 cfg &= ~CR_CRYPEN; in stm32_cryp_irq_write_ccm_padded_data()
1524 cfg |= CR_CRYPEN; in stm32_cryp_irq_write_ccm_padded_data()