Searched refs:sq_depth_mask (Results 1 – 2 of 2) sorted by relevance
190 hw->sq_depth_mask); in hisi_dma_init_common()303 hw->sq_depth_mask = ring_size - 1; in hisi_dma_alloc_iomem()322 hw->sq_depth_mask = 0; in hisi_dma_free_iomem()574 hw->sq_depth_mask > 0 ? hw->sq_depth_mask + 1 : 0, in hisi_dma_dump()595 if (((hw->sq_tail + 1) & hw->sq_depth_mask) == hw->sq_head) { in hisi_dma_copy()606 hw->sq_tail = (hw->sq_tail + 1) & hw->sq_depth_mask; in hisi_dma_copy()661 hw->cq_sq_head = (csq_head + 1) & hw->sq_depth_mask; in hisi_dma_scan_cq()677 cpl_num = hw->sq_depth_mask + 1 - hw->sq_head + hw->cq_sq_head; in hisi_dma_calc_cpls()703 sq_head = (sq_head + 1) & hw->sq_depth_mask; in hisi_dma_completed()762 sq_head = (sq_head + 1) & hw->sq_depth_mask; in hisi_dma_completed_status()[all …]
195 uint16_t sq_depth_mask; /**< SQ depth - 1, the SQ depth is power of 2 */ member