Lines Matching refs:current_buf
3009 int current_buf; member
3023 state->current_buf ^= 1; in switch_buf()
3026 static inline u8 *current_buf(struct caam_hash_state *state) in current_buf() function
3028 return state->current_buf ? state->buf_1 : state->buf_0; in current_buf()
3033 return state->current_buf ? state->buf_0 : state->buf_1; in alt_buf()
3038 return state->current_buf ? &state->buflen_1 : &state->buflen_0; in current_buflen()
3043 return state->current_buf ? &state->buflen_0 : &state->buflen_1; in alt_buflen()
3056 state->buf_dma = dma_map_single(dev, current_buf(state), buflen, in buf_map_to_qm_sg()
3467 u8 *buf = current_buf(state); in ahash_update_ctx()
3855 u8 *buf = current_buf(state); in ahash_final_no_ctx()
3928 u8 *buf = current_buf(state); in ahash_update_no_ctx()
4291 state->current_buf = 0; in ahash_init()
4327 if (state->current_buf) { in ahash_export()