Lines Matching refs:pq_offset
4081 u32 pq_id, pq_offset; in gaudi2_init_qman_pq() local
4085 pq_offset = pq_id * 4; in gaudi2_init_qman_pq()
4087 WREG32(reg_base + QM_PQ_BASE_LO_0_OFFSET + pq_offset, in gaudi2_init_qman_pq()
4089 WREG32(reg_base + QM_PQ_BASE_HI_0_OFFSET + pq_offset, in gaudi2_init_qman_pq()
4091 WREG32(reg_base + QM_PQ_SIZE_0_OFFSET + pq_offset, ilog2(HL_QUEUE_LENGTH)); in gaudi2_init_qman_pq()
4092 WREG32(reg_base + QM_PQ_PI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pq()
4093 WREG32(reg_base + QM_PQ_CI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pq()
4123 u32 pq_id, pq_offset, so_base_lo, so_base_hi; in gaudi2_init_qman_pqc() local
4129 pq_offset = pq_id * 4; in gaudi2_init_qman_pqc()
4132 WREG32(reg_base + QM_PQC_HBW_BASE_LO_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4134 WREG32(reg_base + QM_PQC_HBW_BASE_HI_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4136 WREG32(reg_base + QM_PQC_SIZE_0_OFFSET + pq_offset, in gaudi2_init_qman_pqc()
4139 WREG32(reg_base + QM_PQC_PI_0_OFFSET + pq_offset, 0); in gaudi2_init_qman_pqc()
4140 WREG32(reg_base + QM_PQC_LBW_WDATA_0_OFFSET + pq_offset, QM_PQC_LBW_WDATA); in gaudi2_init_qman_pqc()
4141 WREG32(reg_base + QM_PQC_LBW_BASE_LO_0_OFFSET + pq_offset, so_base_lo); in gaudi2_init_qman_pqc()
4142 WREG32(reg_base + QM_PQC_LBW_BASE_HI_0_OFFSET + pq_offset, so_base_hi); in gaudi2_init_qman_pqc()
5799 u32 pq_offset, reg_base, db_reg_offset, db_value; in gaudi2_ring_doorbell() local
5807 pq_offset = (hw_queue_id & 0x3) * 4; in gaudi2_ring_doorbell()
5809 db_reg_offset = reg_base + QM_PQ_PI_0_OFFSET + pq_offset; in gaudi2_ring_doorbell()