Home
last modified time | relevance | path

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

/drivers/crypto/nx/
Dnx-sha256.c79 u32 max_sg_len; in nx_sha256_update() local
99 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_update()
100 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha256_update()
101 max_sg_len = min_t(u64, max_sg_len, in nx_sha256_update()
106 &data_len, max_sg_len); in nx_sha256_update()
123 max_sg_len); in nx_sha256_update()
140 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha256_update()
145 &data_len, max_sg_len); in nx_sha256_update()
196 u32 max_sg_len; in nx_sha256_final() local
202 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_final()
[all …]
Dnx-sha512.c79 u32 max_sg_len; in nx_sha512_update() local
99 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_update()
100 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha512_update()
101 max_sg_len = min_t(u64, max_sg_len, in nx_sha512_update()
106 &data_len, max_sg_len); in nx_sha512_update()
122 &data_len, max_sg_len); in nx_sha512_update()
139 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha512_update()
144 &data_len, max_sg_len); in nx_sha512_update()
198 u32 max_sg_len; in nx_sha512_final() local
206 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_final()
[all …]
Dnx-aes-gcm.c121 unsigned int max_sg_len; in nx_gca() local
133 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_gca()
135 max_sg_len = min_t(u64, max_sg_len, in nx_gca()
146 NX_PAGE_SIZE * (max_sg_len - 1)); in nx_gca()
148 nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len, in nx_gca()
190 unsigned int max_sg_len; in gmac() local
198 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac()
200 max_sg_len = min_t(u64, max_sg_len, in gmac()
214 NX_PAGE_SIZE * (max_sg_len - 1)); in gmac()
216 nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len, in gmac()
Dnx-aes-xcbc.c189 unsigned int max_sg_len; in nx_xcbc_update() local
210 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_xcbc_update()
212 max_sg_len = min_t(u64, max_sg_len, in nx_xcbc_update()
247 max_sg_len); in nx_xcbc_update()
258 max_sg_len); in nx_xcbc_update()
Dnx.c283 unsigned int max_sg_len; in nx_build_sg_lists() local
285 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_build_sg_lists()
286 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_build_sg_lists()
287 max_sg_len = min_t(u64, max_sg_len, in nx_build_sg_lists()
295 nx_outsg = nx_walk_and_build(nx_outsg, max_sg_len, dst, in nx_build_sg_lists()
297 nx_insg = nx_walk_and_build(nx_insg, max_sg_len, src, in nx_build_sg_lists()
356 if (p->length != sizeof(props->max_sg_len)) { in nx_of_update_sglen()
361 p->length, sizeof(props->max_sg_len)); in nx_of_update_sglen()
365 props->max_sg_len = *(u32 *)p->value; in nx_of_update_sglen()
Dnx-aes-ccm.c181 unsigned int max_sg_len; in generate_pat() local
288 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in generate_pat()
289 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in generate_pat()
290 max_sg_len = min_t(u64, max_sg_len, in generate_pat()
Dnx-842-pseries.c118 unsigned int max_sg_len; member
542 devdata->max_sg_len = 0; in nx842_OF_set_defaults()
607 devdata->max_sg_len = min_t(unsigned int, in nx842_OF_upd_maxsglen()
796 __func__, new_devdata->max_sg_len, in nx842_OF_upd()
797 old_devdata->max_sg_len); in nx842_OF_upd()
Dnx.h58 u32 max_sg_len; member