Home
last modified time | relevance | path

Searched refs:current_buf (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/crypto/caam/
Dcaamrng.c75 int current_buf; member
122 struct buf_data *bd = &ctx->bufs[!(to_current ^ ctx->current_buf)]; in submit_job()
127 dev_dbg(jrdev, "submitting job %d\n", !(to_current ^ ctx->current_buf)); in submit_job()
141 struct buf_data *bd = &ctx->bufs[ctx->current_buf]; in caam_read()
164 __func__, ctx->current_buf, ctx->cur_buf_idx); in caam_read()
183 ctx->current_buf = !ctx->current_buf; in caam_read()
184 dev_dbg(ctx->jrdev, "switched to buffer %d\n", ctx->current_buf); in caam_read()
265 submit_job(ctx, buf_id == ctx->current_buf); in caam_init_buf()
281 ctx->current_buf = 0; in caam_init_rng()
Dcaamhash.c129 int current_buf; member
143 state->current_buf ^= 1; in switch_buf()
146 static inline u8 *current_buf(struct caam_hash_state *state) in current_buf() function
148 return state->current_buf ? state->buf_1 : state->buf_0; in current_buf()
153 return state->current_buf ? state->buf_0 : state->buf_1; in alt_buf()
158 return state->current_buf ? &state->buflen_1 : &state->buflen_0; in current_buflen()
163 return state->current_buf ? &state->buflen_0 : &state->buflen_1; in alt_buflen()
208 state->buf_dma = dma_map_single(jrdev, current_buf(state), buflen, in buf_map_to_sec4_sg()
747 u8 *buf = current_buf(state); in ahash_update_ctx()
1119 u8 *buf = current_buf(state); in ahash_final_no_ctx()
[all …]
/Linux-v4.19/drivers/s390/char/
Dmonwriter.c51 struct mon_buf *current_buf; member
138 monpriv->current_buf = monbuf; in monwrite_new_hdr()
145 struct mon_buf *monbuf = monpriv->current_buf; in monwrite_new_data()
166 list_del(&monpriv->current_buf->list); in monwrite_new_data()
167 kfree(monpriv->current_buf->data); in monwrite_new_data()
168 kfree(monpriv->current_buf); in monwrite_new_data()
169 monpriv->current_buf = NULL; in monwrite_new_data()
241 monpriv->data_to_read = monpriv->current_buf ? in monwrite_write()
242 monpriv->current_buf->hdr.datalen : 0; in monwrite_write()
247 to = monpriv->current_buf->data + in monwrite_write()
/Linux-v4.19/scripts/kconfig/
Dzconf.l34 struct buffer *current_buf; variable