Lines Matching refs:cpl
337 struct cpl_rx_phys_dsgl *cpl; in ccr_write_phys_dsgl() local
344 cpl = dst; in ccr_write_phys_dsgl()
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()
352 cpl->rss_hdr_int.opcode = CPL_RX_PHYS_ADDR; in ccr_write_phys_dsgl()
353 cpl->rss_hdr_int.qid = htobe16(s->port->rxq->iq.abs_id); in ccr_write_phys_dsgl()
354 cpl->rss_hdr_int.hash_val = 0; in ccr_write_phys_dsgl()
355 cpl->rss_hdr_int.channel = s->port->rx_channel_id; in ccr_write_phys_dsgl()
356 sgl = (struct phys_sge_pairs *)(cpl + 1); in ccr_write_phys_dsgl()
378 MPASS(j + 8 * (sgl - (struct phys_sge_pairs *)(cpl + 1)) == nsegs); in ccr_write_phys_dsgl()
601 const struct cpl_fw6_pld *cpl, int error) in ccr_hash_done() argument
611 if (timingsafe_bcmp((cpl + 1), hash, s->hmac.hash_len) != 0) in ccr_hash_done()
615 (cpl + 1)); in ccr_hash_done()
783 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_cipher_done() argument
1106 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_eta_done() argument
1377 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_gcm_done() argument
1743 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_ccm_done() argument
2654 const struct cpl_fw6_pld *cpl; in do_cpl6_fw_pld() local
2660 cpl = mtod(m, const void *); in do_cpl6_fw_pld()
2662 cpl = (const void *)(rss + 1); in do_cpl6_fw_pld()
2664 crp = (struct cryptop *)(uintptr_t)be64toh(cpl->data[1]); in do_cpl6_fw_pld()
2666 status = be64toh(cpl->data[0]); in do_cpl6_fw_pld()
2684 error = ccr_hash_done(sc, s, crp, cpl, error); in do_cpl6_fw_pld()
2687 error = ccr_cipher_done(sc, s, crp, cpl, error); in do_cpl6_fw_pld()
2690 error = ccr_eta_done(sc, s, crp, cpl, error); in do_cpl6_fw_pld()
2693 error = ccr_gcm_done(sc, s, crp, cpl, error); in do_cpl6_fw_pld()
2696 error = ccr_ccm_done(sc, s, crp, cpl, error); in do_cpl6_fw_pld()