Lines Matching defs:credit
50 * Convert the AETH credit code into the number of credits.
684 * Set the credit field to the invalid value.
705 * Binary search the credit table to find the code to
1052 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK;
1055 * If the credit is invalid, we can send
1057 * honor the credit field.
1059 if (credit == IPATH_AETH_CREDIT_INVAL)
1062 /* Compute new LSN (i.e., MSN + credit) */
1063 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK;
1064 if (ipath_cmp24(credit, qp->s_lsn) > 0)
1065 qp->s_lsn = credit;