Lines Matching full:base
43 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_busy()
51 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_hmac_done()
60 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_key_done()
72 writel(ctx->keylen, cryp->base + STARFIVE_HASH_SHAWKLEN); in starfive_hash_hmac_key()
77 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_hmac_key()
80 writel(*key, cryp->base + STARFIVE_HASH_SHAWKR); in starfive_hash_hmac_key()
85 writeb(*cl, cryp->base + STARFIVE_HASH_SHAWKR); in starfive_hash_hmac_key()
98 csr.v = readl(cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_start()
101 writel(csr.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_start()
134 writel(alg_cr.v, cryp->base + STARFIVE_ALG_CR_OFFSET); in starfive_hash_dma_xfer()
136 writel(sg_dma_len(sg), cryp->base + STARFIVE_DMA_IN_LEN_OFFSET); in starfive_hash_dma_xfer()
160 writel(alg_cr.v, cryp->base + STARFIVE_ALG_CR_OFFSET); in starfive_hash_dma_xfer()
179 put_unaligned(readl(ctx->cryp->base + STARFIVE_HASH_SHARDR), in starfive_hash_copy_hash()
198 base); in starfive_hash_one_request()
205 writel(STARFIVE_HASH_RESET, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_one_request()
220 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_one_request()
263 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_init()
264 req->base.complete, req->base.data); in starfive_hash_init()
280 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_update()
281 req->base.complete, req->base.data); in starfive_hash_update()
297 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_final()
298 req->base.complete, req->base.data); in starfive_hash_final()
314 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_finup()
315 req->base.complete, req->base.data); in starfive_hash_finup()
351 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_export()
352 req->base.complete, req->base.data); in starfive_hash_export()
365 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, in starfive_hash_import()
366 req->base.complete, req->base.data); in starfive_hash_import()
556 .base.init = starfive_hash_init,
557 .base.update = starfive_hash_update,
558 .base.final = starfive_hash_final,
559 .base.finup = starfive_hash_finup,
560 .base.digest = starfive_hash_digest,
561 .base.export = starfive_hash_export,
562 .base.import = starfive_hash_import,
563 .base.init_tfm = starfive_sha224_init_tfm,
564 .base.exit_tfm = starfive_hash_exit_tfm,
565 .base.halg = {
568 .base = {
584 .base.init = starfive_hash_init,
585 .base.update = starfive_hash_update,
586 .base.final = starfive_hash_final,
587 .base.finup = starfive_hash_finup,
588 .base.digest = starfive_hash_digest,
589 .base.export = starfive_hash_export,
590 .base.import = starfive_hash_import,
591 .base.init_tfm = starfive_hmac_sha224_init_tfm,
592 .base.exit_tfm = starfive_hash_exit_tfm,
593 .base.setkey = starfive_hash_setkey,
594 .base.halg = {
597 .base = {
613 .base.init = starfive_hash_init,
614 .base.update = starfive_hash_update,
615 .base.final = starfive_hash_final,
616 .base.finup = starfive_hash_finup,
617 .base.digest = starfive_hash_digest,
618 .base.export = starfive_hash_export,
619 .base.import = starfive_hash_import,
620 .base.init_tfm = starfive_sha256_init_tfm,
621 .base.exit_tfm = starfive_hash_exit_tfm,
622 .base.halg = {
625 .base = {
641 .base.init = starfive_hash_init,
642 .base.update = starfive_hash_update,
643 .base.final = starfive_hash_final,
644 .base.finup = starfive_hash_finup,
645 .base.digest = starfive_hash_digest,
646 .base.export = starfive_hash_export,
647 .base.import = starfive_hash_import,
648 .base.init_tfm = starfive_hmac_sha256_init_tfm,
649 .base.exit_tfm = starfive_hash_exit_tfm,
650 .base.setkey = starfive_hash_setkey,
651 .base.halg = {
654 .base = {
670 .base.init = starfive_hash_init,
671 .base.update = starfive_hash_update,
672 .base.final = starfive_hash_final,
673 .base.finup = starfive_hash_finup,
674 .base.digest = starfive_hash_digest,
675 .base.export = starfive_hash_export,
676 .base.import = starfive_hash_import,
677 .base.init_tfm = starfive_sha384_init_tfm,
678 .base.exit_tfm = starfive_hash_exit_tfm,
679 .base.halg = {
682 .base = {
698 .base.init = starfive_hash_init,
699 .base.update = starfive_hash_update,
700 .base.final = starfive_hash_final,
701 .base.finup = starfive_hash_finup,
702 .base.digest = starfive_hash_digest,
703 .base.export = starfive_hash_export,
704 .base.import = starfive_hash_import,
705 .base.init_tfm = starfive_hmac_sha384_init_tfm,
706 .base.exit_tfm = starfive_hash_exit_tfm,
707 .base.setkey = starfive_hash_setkey,
708 .base.halg = {
711 .base = {
727 .base.init = starfive_hash_init,
728 .base.update = starfive_hash_update,
729 .base.final = starfive_hash_final,
730 .base.finup = starfive_hash_finup,
731 .base.digest = starfive_hash_digest,
732 .base.export = starfive_hash_export,
733 .base.import = starfive_hash_import,
734 .base.init_tfm = starfive_sha512_init_tfm,
735 .base.exit_tfm = starfive_hash_exit_tfm,
736 .base.halg = {
739 .base = {
755 .base.init = starfive_hash_init,
756 .base.update = starfive_hash_update,
757 .base.final = starfive_hash_final,
758 .base.finup = starfive_hash_finup,
759 .base.digest = starfive_hash_digest,
760 .base.export = starfive_hash_export,
761 .base.import = starfive_hash_import,
762 .base.init_tfm = starfive_hmac_sha512_init_tfm,
763 .base.exit_tfm = starfive_hash_exit_tfm,
764 .base.setkey = starfive_hash_setkey,
765 .base.halg = {
768 .base = {
784 .base.init = starfive_hash_init,
785 .base.update = starfive_hash_update,
786 .base.final = starfive_hash_final,
787 .base.finup = starfive_hash_finup,
788 .base.digest = starfive_hash_digest,
789 .base.export = starfive_hash_export,
790 .base.import = starfive_hash_import,
791 .base.init_tfm = starfive_sm3_init_tfm,
792 .base.exit_tfm = starfive_hash_exit_tfm,
793 .base.halg = {
796 .base = {
812 .base.init = starfive_hash_init,
813 .base.update = starfive_hash_update,
814 .base.final = starfive_hash_final,
815 .base.finup = starfive_hash_finup,
816 .base.digest = starfive_hash_digest,
817 .base.export = starfive_hash_export,
818 .base.import = starfive_hash_import,
819 .base.init_tfm = starfive_hmac_sm3_init_tfm,
820 .base.exit_tfm = starfive_hash_exit_tfm,
821 .base.setkey = starfive_hash_setkey,
822 .base.halg = {
825 .base = {