Lines Matching refs:htobe32
345 cpl->op_to_tid = htobe32(V_CPL_RX_PHYS_DSGL_OPCODE(CPL_RX_PHYS_DSGL) | in ccr_write_phys_dsgl()
347 cpl->pcirlxorder_to_noofsgentr = htobe32( in ccr_write_phys_dsgl()
404 usgl->cmd_nsge = htobe32(V_ULPTX_CMD(ULP_TX_SC_DSGL) | in ccr_write_ulptx_sgl()
406 usgl->len0 = htobe32(ss->ss_len); in ccr_write_ulptx_sgl()
410 usgl->sge[i / 2].len[i & 1] = htobe32(ss->ss_len); in ccr_write_ulptx_sgl()
436 crwr->wreq.op_to_cctx_size = htobe32( in ccr_populate_wreq()
442 crwr->wreq.len16_pkd = htobe32( in ccr_populate_wreq()
445 crwr->wreq.rx_chid_to_rx_q_id = htobe32( in ccr_populate_wreq()
454 crwr->wreq.pld_size_hash_size = htobe32( in ccr_populate_wreq()
459 crwr->ulptx.cmd_dest = htobe32(V_ULPTX_CMD(ULP_TX_PKT) | in ccr_populate_wreq()
464 crwr->ulptx.len = htobe32( in ccr_populate_wreq()
467 crwr->sc_imm.cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_IMM) | in ccr_populate_wreq()
472 crwr->sc_imm.len = htobe32(idata_len); in ccr_populate_wreq()
546 crwr->sec_cpl.op_ivinsrtofst = htobe32( in ccr_hash()
553 crwr->sec_cpl.pldlen = htobe32(crp->crp_payload_length == 0 ? in ccr_hash()
556 crwr->sec_cpl.cipherstop_lo_authinsert = htobe32( in ccr_hash()
560 crwr->sec_cpl.seqno_numivs = htobe32( in ccr_hash()
566 crwr->sec_cpl.ivgen_hdrlen = htobe32( in ccr_hash()
575 crwr->key_ctx.ctx_hdr = htobe32(V_KEY_CONTEXT_CTX_LEN(kctx_flits) | in ccr_hash()
706 crwr->sec_cpl.op_ivinsrtofst = htobe32( in ccr_cipher()
713 crwr->sec_cpl.pldlen = htobe32(iv_len + crp->crp_payload_length); in ccr_cipher()
715 crwr->sec_cpl.aadstart_cipherstop_hi = htobe32( in ccr_cipher()
718 crwr->sec_cpl.cipherstop_lo_authinsert = htobe32( in ccr_cipher()
722 crwr->sec_cpl.seqno_numivs = htobe32( in ccr_cipher()
731 crwr->sec_cpl.ivgen_hdrlen = htobe32( in ccr_cipher()
1007 crwr->sec_cpl.op_ivinsrtofst = htobe32( in ccr_eta()
1014 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len); in ccr_eta()
1016 crwr->sec_cpl.aadstart_cipherstop_hi = htobe32( in ccr_eta()
1021 crwr->sec_cpl.cipherstop_lo_authinsert = htobe32( in ccr_eta()
1029 crwr->sec_cpl.seqno_numivs = htobe32( in ccr_eta()
1039 crwr->sec_cpl.ivgen_hdrlen = htobe32( in ccr_eta()
1289 *(uint32_t *)&iv[12] = htobe32(1); in ccr_gcm()
1294 crwr->sec_cpl.op_ivinsrtofst = htobe32( in ccr_gcm()
1301 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len); in ccr_gcm()
1312 crwr->sec_cpl.aadstart_cipherstop_hi = htobe32( in ccr_gcm()
1317 crwr->sec_cpl.cipherstop_lo_authinsert = htobe32( in ccr_gcm()
1325 crwr->sec_cpl.seqno_numivs = htobe32( in ccr_gcm()
1335 crwr->sec_cpl.ivgen_hdrlen = htobe32( in ccr_gcm()
1646 crwr->sec_cpl.op_ivinsrtofst = htobe32( in ccr_ccm()
1653 crwr->sec_cpl.pldlen = htobe32(iv_len + input_len); in ccr_ccm()
1659 crwr->sec_cpl.aadstart_cipherstop_hi = htobe32( in ccr_ccm()
1664 crwr->sec_cpl.cipherstop_lo_authinsert = htobe32( in ccr_ccm()
1672 crwr->sec_cpl.seqno_numivs = htobe32( in ccr_ccm()
1682 crwr->sec_cpl.ivgen_hdrlen = htobe32( in ccr_ccm()
1727 idata->cmd_more = htobe32(V_ULPTX_CMD(ULP_TX_SC_NOOP)); in ccr_ccm()
1728 idata->len = htobe32(0); in ccr_ccm()
2148 s->cipher.key_ctx_hdr = htobe32(V_KEY_CONTEXT_CTX_LEN(kctx_flits) | in ccr_aes_setkey()