Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/nx/
H A Dnx.c45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync()
573 NX_DEBUGFS_INIT(&nx_driver); in nx_register_algs()
575 nx_driver.of.status = NX_OKAY; in nx_register_algs()
656 if (nx_driver.of.status != NX_OKAY) { in nx_crypto_ctx_init()
687 nx_ctx->stats = &nx_driver.stats; in nx_crypto_ctx_init()
774 if (nx_driver.viodev) { in nx_probe()
780 nx_driver.viodev = viodev; in nx_probe()
782 nx_of_init(&viodev->dev, &nx_driver.of); in nx_probe()
792 if (nx_driver.of.status == NX_OKAY) { in nx_remove()
793 NX_DEBUGFS_FINI(&nx_driver); in nx_remove()
[all …]
H A Dnx-sha256.c93 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha256_update()
195 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha256_final()
H A Dnx-sha512.c93 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha512_update()
199 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha512_final()
H A Dnx.h190 extern struct nx_crypto_driver nx_driver;
H A Dnx-aes-gcm.c122 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_gca()
186 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac()
H A Dnx-aes-xcbc.c196 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_xcbc_update()
H A Dnx-aes-ccm.c274 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in generate_pat()