Lines Matching defs:mctx
74 struct stm32_crc_ctx *mctx = crypto_tfm_ctx(tfm);
76 mctx->key = 0;
77 mctx->poly = CRC32_POLY_LE;
83 struct stm32_crc_ctx *mctx = crypto_tfm_ctx(tfm);
85 mctx->key = CRC32C_INIT_DEFAULT;
86 mctx->poly = CRC32C_POLY_LE;
93 struct stm32_crc_ctx *mctx = crypto_shash_ctx(tfm);
98 mctx->key = get_unaligned_le32(key);
118 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
131 writel_relaxed(bitrev32(mctx->key), crc->regs + CRC_INIT);
132 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL);
151 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
162 if (mctx->poly == CRC32_POLY_LE)
177 writel_relaxed(bitrev32(mctx->poly), crc->regs + CRC_POL);
245 struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
248 put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ?