Symbol: nx_sg
drivers/crypto/nx/nx-aes-ccm.c
161
struct nx_sg *nx_insg = nx_ctx->in_sg;
drivers/crypto/nx/nx-aes-ccm.c
162
struct nx_sg *nx_outsg = nx_ctx->out_sg;
drivers/crypto/nx/nx-aes-ccm.c
248
sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-ccm.c
250
sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-ccm.c
272
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx-aes-ccm.c
295
sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-gcm.c
106
struct nx_sg *nx_sg = nx_ctx->in_sg;
drivers/crypto/nx/nx-aes-gcm.c
119
max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg),
drivers/crypto/nx/nx-aes-gcm.c
134
nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len,
drivers/crypto/nx/nx-aes-gcm.c
142
nx_ctx->op_aead.inlen = (nx_ctx->in_sg - nx_sg)
drivers/crypto/nx/nx-aes-gcm.c
143
* sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-gcm.c
172
struct nx_sg *nx_sg;
drivers/crypto/nx/nx-aes-gcm.c
183
max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg),
drivers/crypto/nx/nx-aes-gcm.c
201
nx_sg = nx_walk_and_build(nx_ctx->in_sg, max_sg_len,
drivers/crypto/nx/nx-aes-gcm.c
209
nx_ctx->op.inlen = (nx_ctx->in_sg - nx_sg)
drivers/crypto/nx/nx-aes-gcm.c
210
* sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-gcm.c
246
struct nx_sg *in_sg, *out_sg;
drivers/crypto/nx/nx-aes-gcm.c
279
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-gcm.c
280
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
120
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
121
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
171
struct nx_sg *in_sg;
drivers/crypto/nx/nx-aes-xcbc.c
172
struct nx_sg *out_sg;
drivers/crypto/nx/nx-aes-xcbc.c
188
max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg),
drivers/crypto/nx/nx-aes-xcbc.c
202
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
213
sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
250
struct nx_sg *in_sg, *out_sg;
drivers/crypto/nx/nx-aes-xcbc.c
292
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
293
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
62
struct nx_sg *in_sg, *out_sg;
drivers/crypto/nx/nx-aes-xcbc.c
92
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-aes-xcbc.c
93
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha256.c
105
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha256.c
147
struct nx_sg *in_sg, *out_sg;
drivers/crypto/nx/nx-sha256.c
156
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx-sha256.c
186
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha256.c
187
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha256.c
69
struct nx_sg *out_sg;
drivers/crypto/nx/nx-sha256.c
82
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx-sha256.c
89
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha256.c
97
struct nx_sg *in_sg = nx_ctx->in_sg;
drivers/crypto/nx/nx-sha512.c
106
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha512.c
150
struct nx_sg *in_sg, *out_sg;
drivers/crypto/nx/nx-sha512.c
160
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx-sha512.c
190
nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha512.c
191
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha512.c
70
struct nx_sg *out_sg;
drivers/crypto/nx/nx-sha512.c
83
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx-sha512.c
90
nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg);
drivers/crypto/nx/nx-sha512.c
98
struct nx_sg *in_sg = nx_ctx->in_sg;
drivers/crypto/nx/nx.c
146
struct nx_sg *nx_walk_and_build(struct nx_sg *nx_dst,
drivers/crypto/nx/nx.c
153
struct nx_sg *nx_sg = nx_dst;
drivers/crypto/nx/nx.c
159
while (len && (nx_sg - nx_dst) < sglen) {
drivers/crypto/nx/nx.c
162
nx_sg = nx_build_sg_list(nx_sg, walk.addr, &n, sglen - (nx_sg - nx_dst));
drivers/crypto/nx/nx.c
171
return nx_sg;
drivers/crypto/nx/nx.c
182
static long int trim_sg_list(struct nx_sg *sg,
drivers/crypto/nx/nx.c
183
struct nx_sg *end,
drivers/crypto/nx/nx.c
192
struct nx_sg *last = end - 1;
drivers/crypto/nx/nx.c
208
oplen = (sg - end) * sizeof(struct nx_sg);
drivers/crypto/nx/nx.c
245
struct nx_sg *nx_insg = nx_ctx->in_sg;
drivers/crypto/nx/nx.c
246
struct nx_sg *nx_outsg = nx_ctx->out_sg;
drivers/crypto/nx/nx.c
250
nx_driver.of.max_sg_len/sizeof(struct nx_sg));
drivers/crypto/nx/nx.c
653
nx_ctx->in_sg = (struct nx_sg *)((u8 *)nx_ctx->csbcpb + NX_PAGE_SIZE);
drivers/crypto/nx/nx.c
654
nx_ctx->out_sg = (struct nx_sg *)((u8 *)nx_ctx->in_sg + NX_PAGE_SIZE);
drivers/crypto/nx/nx.c
78
struct nx_sg *nx_build_sg_list(struct nx_sg *sg_head,
drivers/crypto/nx/nx.c
84
struct nx_sg *sg;
drivers/crypto/nx/nx.h
130
struct nx_sg *in_sg; /* aligned pointer into kmem to an sg list */
drivers/crypto/nx/nx.h
131
struct nx_sg *out_sg; /* aligned pointer into kmem to an sg list */
drivers/crypto/nx/nx.h
163
struct nx_sg *nx_build_sg_list(struct nx_sg *, u8 *, unsigned int *, u32);
drivers/crypto/nx/nx.h
167
struct nx_sg *nx_walk_and_build(struct nx_sg *, unsigned int,
drivers/crypto/nx/nx.h
24
#define NX_MAX_SG_ENTRIES (NX_PAGE_SIZE/(sizeof(struct nx_sg)))