Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_srq.c176 buf_attr.region[0].size = to_hr_hem_entries_size(srq->wqe_cnt, in alloc_srq_idx()
231 buf_attr.region[0].size = to_hr_hem_entries_size(srq->wqe_cnt, in alloc_srq_wqe_buf()
Dhns_roce_qp.c655 buf_size = to_hr_hem_entries_size(hr_qp->sq.wqe_cnt, in set_wqe_buf_attr()
666 buf_size = to_hr_hem_entries_size(hr_qp->sge.sge_cnt, in set_wqe_buf_attr()
677 buf_size = to_hr_hem_entries_size(hr_qp->rq.wqe_cnt, in set_wqe_buf_attr()
Dhns_roce_device.h1087 static inline u32 to_hr_hem_entries_size(u32 count, u32 buf_shift) in to_hr_hem_entries_size() function