/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | wlan.c | 368 static void wilc_wlan_rxq_add(struct wilc *wilc, struct rxq_entry_t *rqe) in wilc_wlan_rxq_add() argument 374 list_add_tail(&rqe->list, &wilc->rxq_head.list); in wilc_wlan_rxq_add() 380 struct rxq_entry_t *rqe = NULL; in wilc_wlan_rxq_remove() local 384 rqe = list_first_entry(&wilc->rxq_head.list, struct rxq_entry_t, in wilc_wlan_rxq_remove() 386 list_del(&rqe->list); in wilc_wlan_rxq_remove() 389 return rqe; in wilc_wlan_rxq_remove() 732 struct rxq_entry_t *rqe; in wilc_wlan_handle_rxq() local 735 rqe = wilc_wlan_rxq_remove(wilc); in wilc_wlan_handle_rxq() 736 if (!rqe) in wilc_wlan_handle_rxq() 739 buffer = rqe->buffer; in wilc_wlan_handle_rxq() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_qp_rx.c | 332 struct siw_rqe *rqe; in siw_rqe_get() local 344 rqe = &srq->recvq[srq->rq_get % srq->num_rqe]; in siw_rqe_get() 349 rqe = &qp->recvq[qp->rq_get % qp->attrs.rq_size]; in siw_rqe_get() 351 if (likely(rqe->flags == SIW_WQE_VALID)) { in siw_rqe_get() 352 int num_sge = rqe->num_sge; in siw_rqe_get() 363 wqe->rqe.id = rqe->id; in siw_rqe_get() 364 wqe->rqe.num_sge = num_sge; in siw_rqe_get() 367 wqe->rqe.sge[i].laddr = rqe->sge[i].laddr; in siw_rqe_get() 368 wqe->rqe.sge[i].lkey = rqe->sge[i].lkey; in siw_rqe_get() 369 wqe->rqe.sge[i].length = rqe->sge[i].length; in siw_rqe_get() [all …]
|
D | siw_verbs.c | 728 struct siw_rqe rqe = {}; in siw_rq_flush_wr() local 732 rqe.id = wr->wr_id; in siw_rq_flush_wr() 733 rv = siw_rqe_complete(qp, &rqe, 0, 0, SIW_WC_WR_FLUSH_ERR); in siw_rq_flush_wr() 1061 struct siw_rqe *rqe = &qp->recvq[idx]; in siw_post_receive() local 1063 if (rqe->flags) { in siw_post_receive() 1073 rqe->id = wr->wr_id; in siw_post_receive() 1074 rqe->num_sge = wr->num_sge; in siw_post_receive() 1075 siw_copy_sgl(wr->sg_list, rqe->sge, wr->num_sge); in siw_post_receive() 1080 rqe->flags = SIW_WQE_VALID; in siw_post_receive() 1781 struct siw_rqe *rqe = &srq->recvq[idx]; in siw_post_srq_recv() local [all …]
|
D | siw_qp.c | 1118 int siw_rqe_complete(struct siw_qp *qp, struct siw_rqe *rqe, u32 bytes, in siw_rqe_complete() argument 1138 cqe->id = rqe->id; in siw_rqe_complete() 1156 smp_store_mb(rqe->flags, 0); in siw_rqe_complete() 1175 smp_store_mb(rqe->flags, 0); in siw_rqe_complete() 1278 siw_rqe_complete(qp, &wqe->rqe, wqe->bytes, in siw_rq_flush() 1297 struct siw_rqe *rqe = in siw_rq_flush() local 1300 if (!READ_ONCE(rqe->flags)) in siw_rq_flush() 1303 if (siw_rqe_complete(qp, rqe, 0, 0, SIW_WC_WR_FLUSH_ERR) != 0) in siw_rq_flush() 1306 WRITE_ONCE(rqe->flags, 0); in siw_rq_flush()
|
D | siw.h | 193 struct siw_rqe rqe; member 477 #define rx_type(wqe) ((wqe)->rqe.opcode) 526 int siw_rqe_complete(struct siw_qp *qp, struct siw_rqe *rqe, u32 bytes,
|
D | siw_mem.c | 276 siw_unref_mem_sgl(wqe->mem, wqe->rqe.num_sge); in siw_wqe_put_mem()
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
D | bnx2i.h | 502 struct rqe { struct 668 struct rqe *rq_virt; 672 struct rqe *rq_prod_qe; 673 struct rqe *rq_cons_qe; 674 struct rqe *rq_first_qe; 675 struct rqe *rq_last_qe;
|
/kernel/linux/linux-5.10/drivers/block/ |
D | sunvdc.c | 309 struct vdc_req_entry *rqe = &port->rq_arr[index]; in vdc_end_one() local 319 req = rqe->req; in vdc_end_one() 325 rqe->req = NULL; in vdc_end_one() 465 struct vdc_req_entry *rqe; in __send_request() local 502 rqe = &port->rq_arr[dr->prod]; in __send_request() 503 rqe->req = req; in __send_request() 1107 struct vdc_req_entry *rqe = &port->rq_arr[idx]; in vdc_requeue_inflight() local 1114 req = rqe->req; in vdc_requeue_inflight() 1120 rqe->req = NULL; in vdc_requeue_inflight()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2199 static void ocrdma_build_rqe(struct ocrdma_hdr_wqe *rqe, in ocrdma_build_rqe() argument 2205 wqe_size = (wr->num_sge * sizeof(*sge)) + sizeof(*rqe); in ocrdma_build_rqe() 2207 wqe_size = sizeof(*sge) + sizeof(*rqe); in ocrdma_build_rqe() 2209 rqe->cw = ((wqe_size / OCRDMA_WQE_STRIDE) << in ocrdma_build_rqe() 2211 rqe->cw |= (OCRDMA_FLAG_SIG << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_rqe() 2212 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_rqe() 2213 rqe->total_len = 0; in ocrdma_build_rqe() 2214 rqe->rsvd_tag = tag; in ocrdma_build_rqe() 2215 sge = (struct ocrdma_sge *)(rqe + 1); in ocrdma_build_rqe() 2216 ocrdma_build_sges(rqe, sge, wr->num_sge, wr->sg_list); in ocrdma_build_rqe() [all …]
|
D | ocrdma_hw.c | 2308 struct ocrdma_hdr_wqe *rqe; in ocrdma_set_create_qp_ird_cmd() local 2321 rqe = (struct ocrdma_hdr_wqe *)(qp->ird_q_va + in ocrdma_set_create_qp_ird_cmd() 2323 rqe->cw = 0; in ocrdma_set_create_qp_ird_cmd() 2324 rqe->cw |= 2; in ocrdma_set_create_qp_ird_cmd() 2325 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_set_create_qp_ird_cmd() 2326 rqe->cw |= (8 << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd() 2327 rqe->cw |= (8 << OCRDMA_WQE_NXT_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.c | 3947 struct rdma_rq_sge *rqe = in qedr_post_recv() local 3960 RQ_SGE_SET(rqe, wr->sg_list[i].addr, in qedr_post_recv() 3970 struct rdma_rq_sge *rqe = in qedr_post_recv() local 3979 RQ_SGE_SET(rqe, 0, 0, flags); in qedr_post_recv()
|