Lines Matching refs:agp
167 if (!rdev->agp) in radeon_agp_head_acquire()
169 if (rdev->agp->acquired) in radeon_agp_head_acquire()
171 rdev->agp->bridge = agp_backend_acquire(pdev); in radeon_agp_head_acquire()
172 if (!rdev->agp->bridge) in radeon_agp_head_acquire()
174 rdev->agp->acquired = 1; in radeon_agp_head_acquire()
180 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_release()
182 agp_backend_release(rdev->agp->bridge); in radeon_agp_head_release()
183 rdev->agp->acquired = 0; in radeon_agp_head_release()
189 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_enable()
192 rdev->agp->mode = mode.mode; in radeon_agp_head_enable()
193 agp_enable(rdev->agp->bridge, mode.mode); in radeon_agp_head_enable()
194 rdev->agp->enabled = 1; in radeon_agp_head_enable()
202 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_info()
205 kern = &rdev->agp->agp_info; in radeon_agp_head_info()
245 if (rdev->agp->agp_info.aper_size < 32) { in radeon_agp_init()
249 rdev->agp->agp_info.aper_size); in radeon_agp_init()
337 rdev->mc.agp_base = rdev->agp->agp_info.aper_base; in radeon_agp_init()
338 rdev->mc.gtt_size = rdev->agp->agp_info.aper_size << 20; in radeon_agp_init()
369 if (rdev->agp && rdev->agp->acquired) { in radeon_agp_fini()