Lines Matching refs:mode
136 struct drm_agp_mode mode; in radeon_agp_init() local
165 mode.mode = info.mode; in radeon_agp_init()
170 agp_status = (RREG32(RADEON_AGP_STATUS) | RADEON_AGPv3_MODE) & mode.mode; in radeon_agp_init()
172 agp_status = mode.mode; in radeon_agp_init()
215 mode.mode &= ~RADEON_AGP_MODE_MASK; in radeon_agp_init()
219 mode.mode |= RADEON_AGPv3_8X_MODE; in radeon_agp_init()
223 mode.mode |= RADEON_AGPv3_4X_MODE; in radeon_agp_init()
229 mode.mode |= RADEON_AGP_4X_MODE; in radeon_agp_init()
232 mode.mode |= RADEON_AGP_2X_MODE; in radeon_agp_init()
236 mode.mode |= RADEON_AGP_1X_MODE; in radeon_agp_init()
241 mode.mode &= ~RADEON_AGP_FW_MODE; /* disable fw */ in radeon_agp_init()
242 ret = drm_agp_enable(rdev->ddev, mode); in radeon_agp_init()
244 DRM_ERROR("Unable to enable AGP (mode = 0x%lx)\n", mode.mode); in radeon_agp_init()