Lines Matching refs:pq_offset

4843 	u32 pq_id, pq_offset;  in gaudi2_init_qman_pq()  local
4847 pq_offset = pq_id * 4; in gaudi2_init_qman_pq()
4849 WREG32(reg_base + QM_PQ_BASE_LO_0_OFFSET + pq_offset, in gaudi2_init_qman_pq()
4851 WREG32(reg_base + QM_PQ_BASE_HI_0_OFFSET + pq_offset, in gaudi2_init_qman_pq()
4853 WREG32(reg_base + QM_PQ_SIZE_0_OFFSET + pq_offset, ilog2(HL_QUEUE_LENGTH)); in gaudi2_init_qman_pq()
4854 WREG32(reg_base + QM_PQ_PI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pq()
4855 WREG32(reg_base + QM_PQ_CI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pq()
4885 u32 pq_id, pq_offset, so_base_lo, so_base_hi; in gaudi2_init_qman_pqc() local
4891 pq_offset = pq_id * 4; in gaudi2_init_qman_pqc()
4894 WREG32(reg_base + QM_PQC_HBW_BASE_LO_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4896 WREG32(reg_base + QM_PQC_HBW_BASE_HI_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4898 WREG32(reg_base + QM_PQC_SIZE_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4901 WREG32(reg_base + QM_PQC_PI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pqc()
4902 WREG32(reg_base + QM_PQC_LBW_WDATA_0_OFFSET + pq_offset, QM_PQC_LBW_WDATA); in gaudi2_init_qman_pqc()
4903 WREG32(reg_base + QM_PQC_LBW_BASE_LO_0_OFFSET + pq_offset, so_base_lo); in gaudi2_init_qman_pqc()
4904 WREG32(reg_base + QM_PQC_LBW_BASE_HI_0_OFFSET + pq_offset, so_base_hi); in gaudi2_init_qman_pqc()
6535 u32 pq_offset, reg_base, db_reg_offset, db_value; in gaudi2_ring_doorbell() local
6543 pq_offset = (hw_queue_id & 0x3) * 4; in gaudi2_ring_doorbell()
6545 db_reg_offset = reg_base + QM_PQ_PI_0_OFFSET + pq_offset; in gaudi2_ring_doorbell()