Lines Matching refs:current_buf
129 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()
1179 u8 *buf = current_buf(state); in ahash_update_no_ctx()
1505 state->current_buf = 0; in ahash_init()
1541 if (state->current_buf) { in ahash_export()