Searched refs:num_wqebbs_per_page (Results 1 – 2 of 2) sorted by relevance
83 return (((idx) & ((wq)->num_wqebbs_per_page - 1)) in WQE_PAGE_OFF()509 u16 num_wqebbs_per_page; in hinic_wq_allocate() local529 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wq_allocate()532 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wq_allocate()549 wq->num_wqebbs_per_page = num_wqebbs_per_page; in hinic_wq_allocate()550 wq->wqebbs_per_page_shift = ilog2(num_wqebbs_per_page); in hinic_wq_allocate()606 u16 num_wqebbs_per_page; in hinic_wqs_cmdq_alloc() local626 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) in hinic_wqs_cmdq_alloc()629 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wqs_cmdq_alloc()641 num_wqebbs_per_page_shift = ilog2(num_wqebbs_per_page); in hinic_wqs_cmdq_alloc()[all …]
32 u16 num_wqebbs_per_page; member