Home
last modified time | relevance | path

Searched refs:aeth (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/rdma/ipath/
Dipath_rc.c137 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
146 ohdr->u.at.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
166 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
187 ohdr->u.aeth = in ipath_make_rc_ack()
192 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
668 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IPATH_MSN_MASK) | in send_rc_ack()
672 ohdr->u.aeth = ipath_compute_aeth(qp); in send_rc_ack()
857 static int do_rc_ack(struct ipath_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
886 if (aeth >> 29) in do_rc_ack()
988 switch (aeth >> 29) { in do_rc_ack()
[all …]
Dipath_qp.c678 u32 aeth = qp->r_msn & IPATH_MSN_MASK; in ipath_compute_aeth() local
685 aeth |= IPATH_AETH_CREDIT_INVAL << IPATH_AETH_CREDIT_SHIFT; in ipath_compute_aeth()
725 aeth |= x << IPATH_AETH_CREDIT_SHIFT; in ipath_compute_aeth()
727 return cpu_to_be32(aeth); in ipath_compute_aeth()
1054 void ipath_get_credit(struct ipath_qp *qp, u32 aeth) in ipath_get_credit() argument
1056 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; in ipath_get_credit()
1067 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; in ipath_get_credit()
Dipath_verbs.h120 __be32 aeth; member
124 __be32 aeth; member
762 void ipath_get_credit(struct ipath_qp *qp, u32 aeth);
/drivers/infiniband/hw/qib/
Dqib_rc.c147 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
156 ohdr->u.at.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
180 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
202 ohdr->u.aeth = in qib_make_rc_ack()
207 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
691 ohdr->u.aeth = cpu_to_be32((qp->r_msn & QIB_MSN_MASK) | in qib_send_rc_ack()
695 ohdr->u.aeth = qib_compute_aeth(qp); in qib_send_rc_ack()
1129 static int do_rc_ack(struct qib_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1152 if (aeth >> 29) in do_rc_ack()
1232 switch (aeth >> 29) { in do_rc_ack()
[all …]
Dqib_qp.c913 u32 aeth = qp->r_msn & QIB_MSN_MASK; in qib_compute_aeth() local
920 aeth |= QIB_AETH_CREDIT_INVAL << QIB_AETH_CREDIT_SHIFT; in qib_compute_aeth()
960 aeth |= x << QIB_AETH_CREDIT_SHIFT; in qib_compute_aeth()
962 return cpu_to_be32(aeth); in qib_compute_aeth()
1283 void qib_get_credit(struct qib_qp *qp, u32 aeth) in qib_get_credit() argument
1285 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; in qib_get_credit()
1302 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; in qib_get_credit()
Dqib_verbs.h174 __be32 aeth; member
178 __be32 aeth; member
952 void qib_get_credit(struct qib_qp *qp, u32 aeth);
/drivers/staging/rdma/hfi1/
Dtrace.c128 be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
129 be32_to_cpu(eh->aeth) & HFI1_MSN_MASK); in parse_everbs_hdrs()
134 (be32_to_cpu(eh->at.aeth) >> 24) & 0xff, in parse_everbs_hdrs()
135 be32_to_cpu(eh->at.aeth) & HFI1_MSN_MASK, in parse_everbs_hdrs()
Drc.c168 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack()
177 ohdr->u.at.aeth = hfi1_compute_aeth(qp); in make_rc_ack()
202 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack()
224 ohdr->u.aeth = in make_rc_ack()
229 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack()
728 ohdr->u.aeth = cpu_to_be32((qp->r_msn & HFI1_MSN_MASK) | in hfi1_send_rc_ack()
732 ohdr->u.aeth = hfi1_compute_aeth(qp); in hfi1_send_rc_ack()
1160 static int do_rc_ack(struct hfi1_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1183 if (aeth >> 29) in do_rc_ack()
1263 switch (aeth >> 29) { in do_rc_ack()
[all …]
Dqp.c949 u32 aeth = qp->r_msn & HFI1_MSN_MASK; in hfi1_compute_aeth() local
956 aeth |= HFI1_AETH_CREDIT_INVAL << HFI1_AETH_CREDIT_SHIFT; in hfi1_compute_aeth()
997 aeth |= x << HFI1_AETH_CREDIT_SHIFT; in hfi1_compute_aeth()
999 return cpu_to_be32(aeth); in hfi1_compute_aeth()
1354 void hfi1_get_credit(struct hfi1_qp *qp, u32 aeth) in hfi1_get_credit() argument
1356 u32 credit = (aeth >> HFI1_AETH_CREDIT_SHIFT) & HFI1_AETH_CREDIT_MASK; in hfi1_get_credit()
1373 credit = (aeth + credit_table[credit]) & HFI1_MSN_MASK; in hfi1_get_credit()
Dqp.h200 void hfi1_get_credit(struct hfi1_qp *qp, u32 aeth);
Dverbs.h166 __be32 aeth; member
170 __be32 aeth; member