Home
last modified time | relevance | path

Searched refs:interrupt_cntl (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dnbio_v7_0.c225 u32 interrupt_cntl; in nbio_v7_0_ih_control() local
229 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v7_0_ih_control()
233 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v7_0_ih_control()
235 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v7_0_ih_control()
236 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v7_0_ih_control()
Dnbio_v7_7.c171 u32 interrupt_cntl; in nbio_v7_7_ih_control() local
177 interrupt_cntl = RREG32_SOC15(NBIO, 0, regBIF_BX1_INTERRUPT_CNTL); in nbio_v7_7_ih_control()
182 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX1_INTERRUPT_CNTL, in nbio_v7_7_ih_control()
186 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX1_INTERRUPT_CNTL, in nbio_v7_7_ih_control()
189 WREG32_SOC15(NBIO, 0, regBIF_BX1_INTERRUPT_CNTL, interrupt_cntl); in nbio_v7_7_ih_control()
Diceland_ih.c110 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in iceland_ih_irq_init() local
117 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in iceland_ih_irq_init()
121 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in iceland_ih_irq_init()
123 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in iceland_ih_irq_init()
124 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in iceland_ih_irq_init()
Dcz_ih.c109 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cz_ih_irq_init() local
117 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in cz_ih_irq_init()
121 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in cz_ih_irq_init()
123 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in cz_ih_irq_init()
124 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in cz_ih_irq_init()
Dtonga_ih.c104 u32 interrupt_cntl, ih_rb_cntl, ih_doorbell_rtpr; in tonga_ih_irq_init() local
113 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in tonga_ih_irq_init()
117 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in tonga_ih_irq_init()
119 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in tonga_ih_irq_init()
120 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in tonga_ih_irq_init()
Dnbio_v6_1.c150 u32 interrupt_cntl; in nbio_v6_1_ih_control() local
154 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v6_1_ih_control()
158 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v6_1_ih_control()
160 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v6_1_ih_control()
161 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v6_1_ih_control()
Dnbio_v7_2.c213 u32 interrupt_cntl; in nbio_v7_2_ih_control() local
219 interrupt_cntl = RREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL); in nbio_v7_2_ih_control()
224 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, in nbio_v7_2_ih_control()
228 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, in nbio_v7_2_ih_control()
231 WREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL, interrupt_cntl); in nbio_v7_2_ih_control()
Dsi_ih.c66 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in si_ih_irq_init() local
71 interrupt_cntl = RREG32(INTERRUPT_CNTL); in si_ih_irq_init()
72 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in si_ih_irq_init()
73 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in si_ih_irq_init()
74 WREG32(INTERRUPT_CNTL, interrupt_cntl); in si_ih_irq_init()
Dcik_ih.c110 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cik_ih_irq_init() local
117 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in cik_ih_irq_init()
121 interrupt_cntl &= ~INTERRUPT_CNTL__IH_DUMMY_RD_OVERRIDE_MASK; in cik_ih_irq_init()
123 interrupt_cntl &= ~INTERRUPT_CNTL__IH_REQ_NONSNOOP_EN_MASK; in cik_ih_irq_init()
124 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in cik_ih_irq_init()
Dnbio_v2_3.c209 u32 interrupt_cntl; in nbio_v2_3_ih_control() local
214 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v2_3_ih_control()
219 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, in nbio_v2_3_ih_control()
223 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, in nbio_v2_3_ih_control()
226 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v2_3_ih_control()
Dnbio_v4_3.c219 u32 interrupt_cntl; in nbio_v4_3_ih_control() local
224 interrupt_cntl = RREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL); in nbio_v4_3_ih_control()
229 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, in nbio_v4_3_ih_control()
233 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, in nbio_v4_3_ih_control()
236 WREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL, interrupt_cntl); in nbio_v4_3_ih_control()
Dnbio_v7_9.c328 u32 interrupt_cntl; in nbio_v7_9_ih_control() local
332 interrupt_cntl = RREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL); in nbio_v7_9_ih_control()
336 interrupt_cntl = in nbio_v7_9_ih_control()
337 REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v7_9_ih_control()
339 interrupt_cntl = in nbio_v7_9_ih_control()
340 REG_SET_FIELD(interrupt_cntl, BIF_BX0_INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v7_9_ih_control()
341 WREG32_SOC15(NBIO, 0, regBIF_BX0_INTERRUPT_CNTL, interrupt_cntl); in nbio_v7_9_ih_control()
Dnbio_v7_4.c293 u32 interrupt_cntl; in nbio_v7_4_ih_control() local
297 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v7_4_ih_control()
301 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v7_4_ih_control()
303 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v7_4_ih_control()
304 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v7_4_ih_control()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dr600.c3675 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in r600_irq_init() local
3698 interrupt_cntl = RREG32(INTERRUPT_CNTL); in r600_irq_init()
3702 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in r600_irq_init()
3704 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in r600_irq_init()
3705 WREG32(INTERRUPT_CNTL, interrupt_cntl); in r600_irq_init()
Dsi.c5981 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in si_irq_init() local
6001 interrupt_cntl = RREG32(INTERRUPT_CNTL); in si_irq_init()
6005 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in si_irq_init()
6007 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in si_irq_init()
6008 WREG32(INTERRUPT_CNTL, interrupt_cntl); in si_irq_init()
Dcik.c6939 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cik_irq_init() local
6959 interrupt_cntl = RREG32(INTERRUPT_CNTL); in cik_irq_init()
6963 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in cik_irq_init()
6965 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in cik_irq_init()
6966 WREG32(INTERRUPT_CNTL, interrupt_cntl); in cik_irq_init()