Searched refs:crtc_offsets (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/dev/drm2/radeon/
H A Drv515.c47 static const u32 crtc_offsets[2] = variable
304 crtc_enabled = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]) & AVIVO_CRTC_EN;
307 tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]);
310 WREG32(AVIVO_D1CRTC_UPDATE_LOCK + crtc_offsets[i], 1);
312 WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp);
313 WREG32(AVIVO_D1CRTC_UPDATE_LOCK + crtc_offsets[i], 0);
324 WREG32(AVIVO_D1CRTC_UPDATE_LOCK + crtc_offsets[i], 1);
325 tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]);
327 WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp);
328 WREG32(AVIVO_D1CRTC_UPDATE_LOCK + crtc_offsets[
[all...]
H A Devergreen.c41 static const u32 crtc_offsets[6] = variable
119 if (RREG32(EVERGREEN_CRTC_STATUS + crtc_offsets[crtc]) & EVERGREEN_CRTC_V_BLANK)
129 pos1 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]);
130 pos2 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]);
153 if (!(RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[crtc]) & EVERGREEN_CRTC_MASTER_EN))
1368 crtc_enabled = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i]) & EVERGREEN_CRTC_MASTER_EN;
1372 tmp = RREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i]);
1375 WREG32(EVERGREEN_CRTC_UPDATE_LOCK + crtc_offsets[i], 1);
1377 WREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i], tmp);
1380 tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[
[all...]
H A Drs600.c55 static const u32 crtc_offsets[2] = variable
63 if (RREG32(AVIVO_D1CRTC_STATUS + crtc_offsets[crtc]) & AVIVO_D1CRTC_V_BLANK)
73 pos1 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]);
74 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]);
97 if (!(RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[crtc]) & AVIVO_CRTC_EN))

Completed in 104 milliseconds