Lines Matching defs:doorbell
48 #include "doorbell.h"
153 uint32_t doorbell[2];
159 doorbell[0] = htonl(MTHCA_TAVOR_CQ_DB_INC_CI | cq->cqn);
160 doorbell[1] = htonl(incr - 1);
162 mthca_write64(doorbell, to_mctx(cq->ibv_cq.context), MTHCA_CQ_DOORBELL);
260 * error case, so we don't have to check the doorbell count, etc.
271 * doorbell count, free the CQE. Otherwise just update it for
275 * doorbell count field. In that case we always free the CQE.
488 uint32_t doorbell[2];
490 doorbell[0] = htonl((solicited ?
494 doorbell[1] = 0xffffffff;
496 mthca_write64(doorbell, to_mctx(cq->context), MTHCA_CQ_DOORBELL);
504 uint32_t doorbell[2];
511 doorbell[0] = ci;
512 doorbell[1] = htonl((cq->cqn << 8) | (2 << 5) | (sn << 3) |
515 mthca_write_db_rec(doorbell, cq->arm_db);
518 * Make sure that the doorbell record in host memory is
519 * written before ringing the doorbell via PCI MMIO.
523 doorbell[0] = htonl((sn << 28) |
528 doorbell[1] = ci;
530 mthca_write64(doorbell, to_mctx(ibvcq->context), MTHCA_CQ_DOORBELL);