Home
last modified time | relevance | path

Searched refs:KDETH_SET (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dexp_rcv.h60 #define KDETH_SET(dw, field, val) do { \ macro
68 #define KDETH_RESET(dw, field, val) ({ dw = 0; KDETH_SET(dw, field, val); })
H A Duser_sdma.c1000 KDETH_SET(hdr->kdeth.ver_tid_offset, TIDCTRL, in set_txreq_header()
1003 KDETH_SET(hdr->kdeth.ver_tid_offset, TID, in set_txreq_header()
1007 KDETH_SET(hdr->kdeth.ver_tid_offset, SH, 0); in set_txreq_header()
1016 KDETH_SET(hdr->kdeth.ver_tid_offset, OFFSET, in set_txreq_header()
1018 KDETH_SET(hdr->kdeth.ver_tid_offset, OM, in set_txreq_header()
H A Dtid_rdma.c2375 KDETH_SET(resp->kdeth0, SH, !last_pkt); in hfi1_build_tid_rdma_read_resp()
2376 KDETH_SET(resp->kdeth0, INTR, !!(!last_pkt && remote->urg)); in hfi1_build_tid_rdma_read_resp()
2378 KDETH_SET(resp->kdeth0, TID, EXP_TID_GET(tidentry, IDX)); in hfi1_build_tid_rdma_read_resp()
2379 KDETH_SET(resp->kdeth0, OM, om == KDETH_OM_LARGE); in hfi1_build_tid_rdma_read_resp()
2380 KDETH_SET(resp->kdeth0, OFFSET, flow->tid_offset / om); in hfi1_build_tid_rdma_read_resp()
4236 KDETH_SET(wd->kdeth0, SH, !last_pkt); in hfi1_build_tid_rdma_packet()
4237 KDETH_SET(wd->kdeth0, INTR, !!(!last_pkt && remote->urg)); in hfi1_build_tid_rdma_packet()
4238 KDETH_SET(wd->kdeth0, TIDCTRL, EXP_TID_GET(tidentry, CTRL)); in hfi1_build_tid_rdma_packet()
4239 KDETH_SET(wd->kdeth0, TID, EXP_TID_GET(tidentry, IDX)); in hfi1_build_tid_rdma_packet()
4240 KDETH_SET(wd->kdeth0, OM, om == KDETH_OM_LARGE); in hfi1_build_tid_rdma_packet()
[all …]