Searched refs:max_sg_len (Results 1 – 8 of 8) sorted by relevance
/drivers/crypto/nx/ |
D | nx-sha512.c | 67 u32 max_sg_len; in nx_sha512_update() local 87 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_update() 88 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha512_update() 89 max_sg_len = min_t(u64, max_sg_len, in nx_sha512_update() 94 &data_len, max_sg_len); in nx_sha512_update() 110 &data_len, max_sg_len); in nx_sha512_update() 127 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha512_update() 132 &data_len, max_sg_len); in nx_sha512_update() 185 u32 max_sg_len; in nx_sha512_final() local 193 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_final() [all …]
|
D | nx-sha256.c | 67 u32 max_sg_len; in nx_sha256_update() local 87 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_update() 88 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_sha256_update() 89 max_sg_len = min_t(u64, max_sg_len, in nx_sha256_update() 94 &data_len, max_sg_len); in nx_sha256_update() 111 max_sg_len); in nx_sha256_update() 128 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha256_update() 133 &data_len, max_sg_len); in nx_sha256_update() 183 u32 max_sg_len; in nx_sha256_final() local 189 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_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() 179 unsigned int max_sg_len; in gmac() local 187 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac() 189 max_sg_len = min_t(u64, max_sg_len, in gmac() 203 NX_PAGE_SIZE * (max_sg_len - 1)); in gmac() 205 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 | 270 unsigned int max_sg_len; in nx_build_sg_lists() local 272 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_build_sg_lists() 273 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in nx_build_sg_lists() 274 max_sg_len = min_t(u64, max_sg_len, in nx_build_sg_lists() 282 nx_outsg = nx_walk_and_build(nx_outsg, max_sg_len, dst, in nx_build_sg_lists() 284 nx_insg = nx_walk_and_build(nx_insg, max_sg_len, src, in nx_build_sg_lists() 343 if (p->length != sizeof(props->max_sg_len)) { in nx_of_update_sglen() 348 p->length, sizeof(props->max_sg_len)); in nx_of_update_sglen() 352 props->max_sg_len = *(u32 *)p->value; in nx_of_update_sglen()
|
D | nx-aes-ccm.c | 169 unsigned int max_sg_len; in generate_pat() local 276 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in generate_pat() 277 nx_driver.of.max_sg_len/sizeof(struct nx_sg)); in generate_pat() 278 max_sg_len = min_t(u64, max_sg_len, in generate_pat()
|
D | nx-842-pseries.c | 105 unsigned int max_sg_len; member 527 devdata->max_sg_len = 0; in nx842_OF_set_defaults() 592 devdata->max_sg_len = min_t(unsigned int, in nx842_OF_upd_maxsglen() 781 __func__, new_devdata->max_sg_len, in nx842_OF_upd() 782 old_devdata->max_sg_len); in nx842_OF_upd()
|
D | nx.h | 56 u32 max_sg_len; member
|