Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_nbio_v6_1.c136 u32 interrupt_cntl; in nbio_v6_1_ih_control() local
140 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v6_1_ih_control()
144 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v6_1_ih_control()
146 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v6_1_ih_control()
147 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v6_1_ih_control()
H A Damdgpu_nbio_v7_0.c239 u32 interrupt_cntl; in nbio_v7_0_ih_control() local
243 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v7_0_ih_control()
247 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v7_0_ih_control()
249 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v7_0_ih_control()
250 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v7_0_ih_control()
H A Damdgpu_nbio_v2_3.c181 u32 interrupt_cntl; in nbio_v2_3_ih_control() local
186 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v2_3_ih_control()
191 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, in nbio_v2_3_ih_control()
195 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, in nbio_v2_3_ih_control()
198 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v2_3_ih_control()
H A Damdgpu_iceland_ih.c115 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in iceland_ih_irq_init() local
122 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in iceland_ih_irq_init()
126 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in iceland_ih_irq_init()
128 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in iceland_ih_irq_init()
129 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in iceland_ih_irq_init()
H A Damdgpu_cz_ih.c114 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cz_ih_irq_init() local
122 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in cz_ih_irq_init()
126 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in cz_ih_irq_init()
128 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in cz_ih_irq_init()
129 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in cz_ih_irq_init()
H A Damdgpu_tonga_ih.c109 u32 interrupt_cntl, ih_rb_cntl, ih_doorbell_rtpr; in tonga_ih_irq_init() local
118 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in tonga_ih_irq_init()
122 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in tonga_ih_irq_init()
124 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in tonga_ih_irq_init()
125 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in tonga_ih_irq_init()
H A Damdgpu_nbio_v7_4.c245 u32 interrupt_cntl; in nbio_v7_4_ih_control() local
249 interrupt_cntl = RREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL); in nbio_v7_4_ih_control()
253 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_DUMMY_RD_OVERRIDE, 0); in nbio_v7_4_ih_control()
255 interrupt_cntl = REG_SET_FIELD(interrupt_cntl, INTERRUPT_CNTL, IH_REQ_NONSNOOP_EN, 0); in nbio_v7_4_ih_control()
256 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL, interrupt_cntl); in nbio_v7_4_ih_control()
H A Damdgpu_si_ih.c69 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in si_ih_irq_init() local
74 interrupt_cntl = RREG32(INTERRUPT_CNTL); in si_ih_irq_init()
75 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in si_ih_irq_init()
76 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in si_ih_irq_init()
77 WREG32(INTERRUPT_CNTL, interrupt_cntl); in si_ih_irq_init()
H A Damdgpu_cik_ih.c115 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cik_ih_irq_init() local
122 interrupt_cntl = RREG32(mmINTERRUPT_CNTL); in cik_ih_irq_init()
126 interrupt_cntl &= ~INTERRUPT_CNTL__IH_DUMMY_RD_OVERRIDE_MASK; in cik_ih_irq_init()
128 interrupt_cntl &= ~INTERRUPT_CNTL__IH_REQ_NONSNOOP_EN_MASK; in cik_ih_irq_init()
129 WREG32(mmINTERRUPT_CNTL, interrupt_cntl); in cik_ih_irq_init()
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_r600.c3711 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in r600_irq_init() local
3734 interrupt_cntl = RREG32(INTERRUPT_CNTL); in r600_irq_init()
3738 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in r600_irq_init()
3740 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in r600_irq_init()
3741 WREG32(INTERRUPT_CNTL, interrupt_cntl); in r600_irq_init()
H A Dradeon_si.c5989 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in si_irq_init() local
6009 interrupt_cntl = RREG32(INTERRUPT_CNTL); in si_irq_init()
6013 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in si_irq_init()
6015 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in si_irq_init()
6016 WREG32(INTERRUPT_CNTL, interrupt_cntl); in si_irq_init()
H A Dradeon_cik.c6967 u32 interrupt_cntl, ih_cntl, ih_rb_cntl; in cik_irq_init() local
6987 interrupt_cntl = RREG32(INTERRUPT_CNTL); in cik_irq_init()
6991 interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE; in cik_irq_init()
6993 interrupt_cntl &= ~IH_REQ_NONSNOOP_EN; in cik_irq_init()
6994 WREG32(INTERRUPT_CNTL, interrupt_cntl); in cik_irq_init()