Searched refs:max_sg_len (Results 1 – 8 of 8) sorted by relevance
/drivers/crypto/nx/ |
D | nx-sha256.c | 72 u32 max_sg_len; in nx_sha256_update() local 92 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_update() 93 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha256_update() 94 max_sg_len = min_t(u64, max_sg_len, in nx_sha256_update() 99 &data_len, max_sg_len); in nx_sha256_update() 116 max_sg_len); in nx_sha256_update() 133 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha256_update() 138 &data_len, max_sg_len); in nx_sha256_update() 188 u32 max_sg_len; in nx_sha256_final() local 194 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_final() [all …]
|
D | nx-sha512.c | 72 u32 max_sg_len; in nx_sha512_update() local 92 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_update() 93 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha512_update() 94 max_sg_len = min_t(u64, max_sg_len, in nx_sha512_update() 99 &data_len, max_sg_len); in nx_sha512_update() 115 &data_len, max_sg_len); in nx_sha512_update() 132 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha512_update() 137 &data_len, max_sg_len); in nx_sha512_update() 190 u32 max_sg_len; in nx_sha512_final() local 198 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_final() [all …]
|
D | nx-aes-gcm.c | 110 unsigned int max_sg_len; in nx_gca() local 122 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_gca() 124 max_sg_len = min_t(u64, max_sg_len, in nx_gca() 135 NX_PAGE_SIZE * (max_sg_len - 1)); in nx_gca() 137 nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len, in nx_gca() 178 unsigned int max_sg_len; in gmac() local 186 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac() 188 max_sg_len = min_t(u64, max_sg_len, in gmac() 202 NX_PAGE_SIZE * (max_sg_len - 1)); in gmac() 204 nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len, in gmac()
|
D | nx-aes-xcbc.c | 175 unsigned int max_sg_len; in nx_xcbc_update() local 196 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_xcbc_update() 198 max_sg_len = min_t(u64, max_sg_len, in nx_xcbc_update() 233 max_sg_len); in nx_xcbc_update() 244 max_sg_len); in nx_xcbc_update()
|
D | nx.c | 271 unsigned int max_sg_len; in nx_build_sg_lists() local 273 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_build_sg_lists() 274 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_build_sg_lists() 275 max_sg_len = min_t(u64, max_sg_len, in nx_build_sg_lists() 283 nx_outsg = nx_walk_and_build(nx_outsg, max_sg_len, dst, in nx_build_sg_lists() 285 nx_insg = nx_walk_and_build(nx_insg, max_sg_len, src, in nx_build_sg_lists() 344 if (p->length != sizeof(props->max_sg_len)) { in nx_of_update_sglen() 349 p->length, sizeof(props->max_sg_len)); in nx_of_update_sglen() 353 props->max_sg_len = *(u32 *)p->value; in nx_of_update_sglen()
|
D | nx-aes-ccm.c | 166 unsigned int max_sg_len; in generate_pat() local 273 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in generate_pat() 274 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in generate_pat() 275 max_sg_len = min_t(u64, max_sg_len, in generate_pat()
|
D | nx-common-pseries.c | 130 unsigned int max_sg_len; member 552 devdata->max_sg_len = 0; in nx842_OF_set_defaults() 619 devdata->max_sg_len = min_t(unsigned int, in nx842_OF_upd_maxsglen() 807 __func__, new_devdata->max_sg_len, in nx842_OF_upd() 808 old_devdata->max_sg_len); in nx842_OF_upd()
|
D | nx.h | 56 u32 max_sg_len; member
|