Lines Matching refs:qce_write

26 static inline void qce_write(struct qce_device *qce, u32 offset, u32 val)
37 qce_write(qce, offset + i * sizeof(u32), val[i]);
46 qce_write(qce, offset + i * sizeof(u32), 0);
89 qce_write(qce, REG_STATUS, 0);
90 qce_write(qce, REG_CONFIG, config);
96 qce_write(qce, REG_GOPROC, BIT(GO_SHIFT) | BIT(RESULTS_DUMP_SHIFT));
98 qce_write(qce, REG_GOPROC, BIT(GO_SHIFT));
168 qce_write(qce, REG_AUTH_SEG_CFG, 0);
169 qce_write(qce, REG_ENCR_SEG_CFG, 0);
170 qce_write(qce, REG_ENCR_SEG_SIZE, 0);
216 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg);
217 qce_write(qce, REG_AUTH_SEG_SIZE, req->nbytes);
218 qce_write(qce, REG_AUTH_SEG_START, 0);
219 qce_write(qce, REG_ENCR_SEG_CFG, 0);
220 qce_write(qce, REG_SEG_SIZE, req->nbytes);
224 qce_write(qce, REG_CONFIG, config);
311 qce_write(qce, REG_ENCR_XTS_DU_SIZE, cryptlen);
339 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg);
372 qce_write(qce, REG_ENCR_SEG_CFG, encr_cfg);
373 qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen);
374 qce_write(qce, REG_ENCR_SEG_START, 0);
377 qce_write(qce, REG_CNTR_MASK, ~0);
378 qce_write(qce, REG_CNTR_MASK0, ~0);
379 qce_write(qce, REG_CNTR_MASK1, ~0);
380 qce_write(qce, REG_CNTR_MASK2, ~0);
383 qce_write(qce, REG_SEG_SIZE, rctx->cryptlen);
387 qce_write(qce, REG_CONFIG, config);
454 qce_write(qce, REG_CNTR3_IV3, iv_last_word + 1);
456 qce_write(qce, REG_CNTR_MASK, ~0);
457 qce_write(qce, REG_CNTR_MASK0, ~0);
458 qce_write(qce, REG_CNTR_MASK1, ~0);
459 qce_write(qce, REG_CNTR_MASK2, ~0);
495 qce_write(qce, REG_ENCR_SEG_CFG, encr_cfg);
512 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg);
518 qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen + ctx->authsize);
520 qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen);
521 qce_write(qce, REG_ENCR_SEG_START, rctx->assoclen & 0xffff);
524 qce_write(qce, REG_AUTH_SEG_SIZE, totallen);
525 qce_write(qce, REG_AUTH_SEG_START, 0);
529 qce_write(qce, REG_SEG_SIZE, totallen + ctx->authsize);
531 qce_write(qce, REG_SEG_SIZE, totallen);
535 qce_write(qce, REG_CONFIG, config);