Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/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.c679 u32 aeth = qp->r_msn & IPATH_MSN_MASK; in ipath_compute_aeth() local
686 aeth |= IPATH_AETH_CREDIT_INVAL << IPATH_AETH_CREDIT_SHIFT; in ipath_compute_aeth()
726 aeth |= x << IPATH_AETH_CREDIT_SHIFT; in ipath_compute_aeth()
728 return cpu_to_be32(aeth); in ipath_compute_aeth()
1055 void ipath_get_credit(struct ipath_qp *qp, u32 aeth) in ipath_get_credit() argument
1057 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; in ipath_get_credit()
1068 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; in ipath_get_credit()
Dipath_verbs.h120 __be32 aeth; member
124 __be32 aeth; member
754 void ipath_get_credit(struct ipath_qp *qp, u32 aeth);
/linux-3.4.99/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()
689 ohdr->u.aeth = cpu_to_be32((qp->r_msn & QIB_MSN_MASK) | in qib_send_rc_ack()
693 ohdr->u.aeth = qib_compute_aeth(qp); in qib_send_rc_ack()
1127 static int do_rc_ack(struct qib_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() argument
1150 if (aeth >> 29) in do_rc_ack()
1230 switch (aeth >> 29) { in do_rc_ack()
[all …]
Dqib_qp.c908 u32 aeth = qp->r_msn & QIB_MSN_MASK; in qib_compute_aeth() local
915 aeth |= QIB_AETH_CREDIT_INVAL << QIB_AETH_CREDIT_SHIFT; in qib_compute_aeth()
955 aeth |= x << QIB_AETH_CREDIT_SHIFT; in qib_compute_aeth()
957 return cpu_to_be32(aeth); in qib_compute_aeth()
1253 void qib_get_credit(struct qib_qp *qp, u32 aeth) in qib_get_credit() argument
1255 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; in qib_get_credit()
1272 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; in qib_get_credit()
Dqib_verbs.h172 __be32 aeth; member
176 __be32 aeth; member
893 void qib_get_credit(struct qib_qp *qp, u32 aeth);