Lines Matching refs:pg
129 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() local
133 if (pg->mmu_gatt_start & 0x0FFFFFFF) { in psb_do_init()
138 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()
140 stolen_gtt = (stolen_gtt < pg->gtt_pages) ? stolen_gtt : pg->gtt_pages; in psb_do_init()
142 dev_priv->gatt_free_offset = pg->mmu_gatt_start + in psb_do_init()
159 PSB_WSGX32(pg->gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_do_init()
186 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() local
191 pg->mmu_gatt_start, in psb_driver_unload()
240 struct psb_gtt *pg; in psb_driver_load() local
247 pg = &dev_priv->gtt; in psb_driver_load()
354 pg->gatt_start, in psb_driver_load()
355 pg->stolen_size >> PAGE_SHIFT, 0); in psb_driver_load()