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