Home
last modified time | relevance | path

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

/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c36 #define ARTPEC_CACHE_LINE_MAX 32 macro
786 2 * ARTPEC_CACHE_LINE_MAX; in artpec6_crypto_alloc_bounce()
793 bbuf->buf = PTR_ALIGN(base, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_alloc_bounce()
840 if (!IS_ALIGNED(addr, ARTPEC_CACHE_LINE_MAX)) { in artpec6_crypto_setup_sg_descrs_in()
842 ALIGN(addr, ARTPEC_CACHE_LINE_MAX) - in artpec6_crypto_setup_sg_descrs_in()
847 } else if (chunk < ARTPEC_CACHE_LINE_MAX) { in artpec6_crypto_setup_sg_descrs_in()
853 chunk = chunk & ~(ARTPEC_CACHE_LINE_MAX-1); in artpec6_crypto_setup_sg_descrs_in()
2900 ac->pad_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX, in artpec6_crypto_probe()
2904 ac->pad_buffer = PTR_ALIGN(ac->pad_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
2906 ac->zero_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX, in artpec6_crypto_probe()
[all …]