Searched refs:size_log2 (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
| D | cxio_wr.h | 47 #define Q_FULL(rptr,wptr,size_log2) ( (((wptr)-(rptr))>>(size_log2)) && \ argument 49 #define Q_GENBIT(ptr,size_log2) (!(((ptr)>>size_log2)&0x1)) argument 50 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr))) argument 52 #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<<size_log2)-1)) argument 698 u32 size_log2; /* total wq size */ member 719 u32 size_log2; member 728 #define CQ_VLD_ENTRY(ptr,size_log2,cqe) (Q_GENBIT(ptr,size_log2) == \ argument 738 &cq->queue[1 << cq->size_log2])->cq_err; in cxio_cq_in_error() 744 &cq->queue[1 << cq->size_log2])->cq_err = 1; in cxio_set_cq_in_error() 771 cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2)); in cxio_next_hw_cqe() [all …]
|
| D | cxio_hal.c | 92 if (Q_PTR2IDX((cq->rptr), cq->size_log2) != ret) { in cxio_hal_cq_op() 101 while (Q_PTR2IDX((rptr+1), cq->size_log2) != ret) in cxio_hal_cq_op() 109 cqe = cq->queue + Q_PTR2IDX(rptr, cq->size_log2); in cxio_hal_cq_op() 110 while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) { in cxio_hal_cq_op() 159 int size = (1UL << (cq->size_log2)) * sizeof(struct t3_cqe); in cxio_create_cq() 179 setup.size = 1UL << cq->size_log2; in cxio_create_cq() 260 int depth = 1UL << wq->size_log2; in cxio_create_qp() 310 (1UL << (cq->size_log2)) in cxio_destroy_cq() 320 (1UL << (wq->size_log2)) in cxio_destroy_qp() 343 cq->size_log2))); in insert_recv_cqe() [all …]
|
| D | iwch_provider.c | 145 chp->cq.size_log2 = ilog2(entries); in iwch_create_cq() 151 chp->ibcq.cqe = 1 << chp->cq.size_log2; in iwch_create_cq() 172 uresp.size_log2 = chp->cq.size_log2; in iwch_create_cq() 182 mm->len = PAGE_ALIGN((1UL << uresp.size_log2) * in iwch_create_cq() 186 mm->len = PAGE_ALIGN(((1UL << uresp.size_log2) + 1) * in iwch_create_cq() 200 chp->cq.cqid, chp, (1 << chp->cq.size_log2), in iwch_create_cq() 755 qhp->wq.size_log2 = ilog2(wqsize); in iwch_create_qp() 820 uresp.size_log2 = qhp->wq.size_log2; in iwch_create_qp() 848 qhp->wq.qpid, qhp, &qhp->wq.dma_addr, 1 << qhp->wq.size_log2, in iwch_create_qp()
|
| D | iwch_qp.c | 176 Q_PTR2IDX((wq->wptr+1), wq->size_log2)); in build_memreg() 178 Q_GENBIT(wq->wptr + 1, wq->size_log2), in build_memreg() 385 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2); in iwch_post_send() 444 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), in iwch_post_send() 495 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2); in iwch_post_receive() 509 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), in iwch_post_receive() 845 init_attr.qp_dma_size = (1UL << qhp->wq.size_log2); in rdma_init()
|
| /Linux-v5.4/include/uapi/rdma/ |
| D | cxgb3-abi.h | 54 __u32 size_log2; member 60 __u32 size_log2; member 69 __u32 size_log2; member
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | swap.h | 40 __le32 size_log2; member
|
| D | swap.c | 117 seg_info->seg_hw_info.size_log2 = __cpu_to_le32(ilog2(swap_bin_len)); in ath10k_swap_code_seg_alloc()
|