Home
last modified time | relevance | path

Searched refs:BTH_PSN_MASK (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h82 #define BTH_PSN_MASK (0x00ffffff) macro
268 return BTH_PSN_MASK & be32_to_cpu(bth->apsn); in __bth_psn()
276 bth->apsn = cpu_to_be32((BTH_PSN_MASK & psn) | in __bth_set_psn()
277 (~BTH_PSN_MASK & apsn)); in __bth_set_psn()
419 psn &= BTH_PSN_MASK; in bth_init()
H A Drxe_req.c84 BTH_PSN_MASK; in req_retry()
568 wqe->last_psn = (qp->req.psn + num_pkt - 1) & BTH_PSN_MASK; in update_wqe_psn()
572 qp->req.psn = (wqe->first_psn + num_pkt) & BTH_PSN_MASK; in update_wqe_psn()
574 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in update_wqe_psn()
786 qp->req.psn = (qp->req.psn + 1) & BTH_PSN_MASK; in rxe_requester()
H A Drxe_resp.c635 res->last_psn = (pkt->psn + pkts - 1) & BTH_PSN_MASK; in rxe_prepare_res()
691 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in process_flush()
725 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in atomic_reply()
764 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in atomic_write_reply()
963 res->cur_psn = (res->cur_psn + 1) & BTH_PSN_MASK; in read_reply()
1050 qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in execute()
1289 u32 prev_psn = (qp->resp.ack_psn - 1) & BTH_PSN_MASK; in duplicate_request()
H A Drxe_comp.c538 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
736 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
H A Drxe_qp.c731 qp->attr.rq_psn = (attr->rq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
743 qp->attr.sq_psn = (attr->sq_psn & BTH_PSN_MASK); in rxe_qp_from_attr()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1841 swq->start_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
1902 sq->psn = (sq->psn + 1) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1914 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1936 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
1955 sq->psn = (sq->psn + pkt_num) & BTH_PSN_MASK; in bnxt_qplib_post_send()
2024 swq->next_psn = sq->psn & BTH_PSN_MASK; in bnxt_qplib_post_send()
H A Dqplib_fp.h304 #define BTH_PSN_MASK ((1 << 24) - 1) macro
H A Dib_verbs.c2364 qp->send_psn &= BTH_PSN_MASK; in bnxt_re_build_qp1_send_v2()