Home
last modified time | relevance | path

Searched refs:pq_offset (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c4843 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()
[all …]
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c1792 u16 first_ofld_pq, pq_offset; in qed_get_cm_pq_idx_ofld_mtc() local
1795 pq_offset = (tc < qed_init_qm_get_num_mtc_tcs(p_hwfn)) ? in qed_get_cm_pq_idx_ofld_mtc()
1798 return first_ofld_pq + pq_offset; in qed_get_cm_pq_idx_ofld_mtc()
1803 u16 first_llt_pq, pq_offset; in qed_get_cm_pq_idx_llt_mtc() local
1806 pq_offset = (tc < qed_init_qm_get_num_mtc_tcs(p_hwfn)) ? in qed_get_cm_pq_idx_llt_mtc()
1809 return first_llt_pq + pq_offset; in qed_get_cm_pq_idx_llt_mtc()