Lines Matching refs:tmp
67 uint32_t tmp; in rs400_gart_tlb_flush() local
72 tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); in rs400_gart_tlb_flush()
73 if ((tmp & RS480_GART_CACHE_INVALIDATE) == 0) in rs400_gart_tlb_flush()
115 uint32_t tmp; in rs400_gart_enable() local
117 tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); in rs400_gart_enable()
118 tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; in rs400_gart_enable()
119 WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); in rs400_gart_enable()
154 tmp = REG_SET(RS690_MC_AGP_TOP, rdev->mc.gtt_end >> 16); in rs400_gart_enable()
155 tmp |= REG_SET(RS690_MC_AGP_START, rdev->mc.gtt_start >> 16); in rs400_gart_enable()
157 WREG32_MC(RS690_MCCFG_AGP_LOCATION, tmp); in rs400_gart_enable()
158 tmp = RREG32(RADEON_BUS_CNTL) & ~RS600_BUS_MASTER_DIS; in rs400_gart_enable()
159 WREG32(RADEON_BUS_CNTL, tmp); in rs400_gart_enable()
161 WREG32(RADEON_MC_AGP_LOCATION, tmp); in rs400_gart_enable()
162 tmp = RREG32(RADEON_BUS_CNTL) & ~RADEON_BUS_MASTER_DIS; in rs400_gart_enable()
163 WREG32(RADEON_BUS_CNTL, tmp); in rs400_gart_enable()
166 tmp = (u32)rdev->gart.table_addr & 0xfffff000; in rs400_gart_enable()
167 tmp |= (upper_32_bits(rdev->gart.table_addr) & 0xff) << 4; in rs400_gart_enable()
169 WREG32_MC(RS480_GART_BASE, tmp); in rs400_gart_enable()
181 tmp = RREG32_MC(RS480_MC_MISC_CNTL); in rs400_gart_enable()
182 tmp |= RS480_GART_INDEX_REG_EN | RS690_BLOCK_GFX_D3_EN; in rs400_gart_enable()
183 WREG32_MC(RS480_MC_MISC_CNTL, tmp); in rs400_gart_enable()
185 tmp = RREG32_MC(RS480_MC_MISC_CNTL); in rs400_gart_enable()
186 tmp |= RS480_GART_INDEX_REG_EN; in rs400_gart_enable()
187 WREG32_MC(RS480_MC_MISC_CNTL, tmp); in rs400_gart_enable()
201 uint32_t tmp; in rs400_gart_disable() local
203 tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); in rs400_gart_disable()
204 tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; in rs400_gart_disable()
205 WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); in rs400_gart_disable()
245 uint32_t tmp; in rs400_mc_wait_for_idle() local
249 tmp = RREG32(RADEON_MC_STATUS); in rs400_mc_wait_for_idle()
250 if (tmp & RADEON_MC_IDLE) { in rs400_mc_wait_for_idle()
315 uint32_t tmp; in rs400_debugfs_gart_info() local
317 tmp = RREG32(RADEON_HOST_PATH_CNTL); in rs400_debugfs_gart_info()
318 seq_printf(m, "HOST_PATH_CNTL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
319 tmp = RREG32(RADEON_BUS_CNTL); in rs400_debugfs_gart_info()
320 seq_printf(m, "BUS_CNTL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
321 tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); in rs400_debugfs_gart_info()
322 seq_printf(m, "AIC_CTRL_SCRATCH 0x%08x\n", tmp); in rs400_debugfs_gart_info()
324 tmp = RREG32_MC(RS690_MCCFG_AGP_BASE); in rs400_debugfs_gart_info()
325 seq_printf(m, "MCCFG_AGP_BASE 0x%08x\n", tmp); in rs400_debugfs_gart_info()
326 tmp = RREG32_MC(RS690_MCCFG_AGP_BASE_2); in rs400_debugfs_gart_info()
327 seq_printf(m, "MCCFG_AGP_BASE_2 0x%08x\n", tmp); in rs400_debugfs_gart_info()
328 tmp = RREG32_MC(RS690_MCCFG_AGP_LOCATION); in rs400_debugfs_gart_info()
329 seq_printf(m, "MCCFG_AGP_LOCATION 0x%08x\n", tmp); in rs400_debugfs_gart_info()
330 tmp = RREG32_MC(RS690_MCCFG_FB_LOCATION); in rs400_debugfs_gart_info()
331 seq_printf(m, "MCCFG_FB_LOCATION 0x%08x\n", tmp); in rs400_debugfs_gart_info()
332 tmp = RREG32(RS690_HDP_FB_LOCATION); in rs400_debugfs_gart_info()
333 seq_printf(m, "HDP_FB_LOCATION 0x%08x\n", tmp); in rs400_debugfs_gart_info()
335 tmp = RREG32(RADEON_AGP_BASE); in rs400_debugfs_gart_info()
336 seq_printf(m, "AGP_BASE 0x%08x\n", tmp); in rs400_debugfs_gart_info()
337 tmp = RREG32(RS480_AGP_BASE_2); in rs400_debugfs_gart_info()
338 seq_printf(m, "AGP_BASE_2 0x%08x\n", tmp); in rs400_debugfs_gart_info()
339 tmp = RREG32(RADEON_MC_AGP_LOCATION); in rs400_debugfs_gart_info()
340 seq_printf(m, "MC_AGP_LOCATION 0x%08x\n", tmp); in rs400_debugfs_gart_info()
342 tmp = RREG32_MC(RS480_GART_BASE); in rs400_debugfs_gart_info()
343 seq_printf(m, "GART_BASE 0x%08x\n", tmp); in rs400_debugfs_gart_info()
344 tmp = RREG32_MC(RS480_GART_FEATURE_ID); in rs400_debugfs_gart_info()
345 seq_printf(m, "GART_FEATURE_ID 0x%08x\n", tmp); in rs400_debugfs_gart_info()
346 tmp = RREG32_MC(RS480_AGP_MODE_CNTL); in rs400_debugfs_gart_info()
347 seq_printf(m, "AGP_MODE_CONTROL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
348 tmp = RREG32_MC(RS480_MC_MISC_CNTL); in rs400_debugfs_gart_info()
349 seq_printf(m, "MC_MISC_CNTL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
350 tmp = RREG32_MC(0x5F); in rs400_debugfs_gart_info()
351 seq_printf(m, "MC_MISC_UMA_CNTL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
352 tmp = RREG32_MC(RS480_AGP_ADDRESS_SPACE_SIZE); in rs400_debugfs_gart_info()
353 seq_printf(m, "AGP_ADDRESS_SPACE_SIZE 0x%08x\n", tmp); in rs400_debugfs_gart_info()
354 tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); in rs400_debugfs_gart_info()
355 seq_printf(m, "GART_CACHE_CNTRL 0x%08x\n", tmp); in rs400_debugfs_gart_info()
356 tmp = RREG32_MC(0x3B); in rs400_debugfs_gart_info()
357 seq_printf(m, "MC_GART_ERROR_ADDRESS 0x%08x\n", tmp); in rs400_debugfs_gart_info()
358 tmp = RREG32_MC(0x3C); in rs400_debugfs_gart_info()
359 seq_printf(m, "MC_GART_ERROR_ADDRESS_HI 0x%08x\n", tmp); in rs400_debugfs_gart_info()
360 tmp = RREG32_MC(0x30); in rs400_debugfs_gart_info()
361 seq_printf(m, "GART_ERROR_0 0x%08x\n", tmp); in rs400_debugfs_gart_info()
362 tmp = RREG32_MC(0x31); in rs400_debugfs_gart_info()
363 seq_printf(m, "GART_ERROR_1 0x%08x\n", tmp); in rs400_debugfs_gart_info()
364 tmp = RREG32_MC(0x32); in rs400_debugfs_gart_info()
365 seq_printf(m, "GART_ERROR_2 0x%08x\n", tmp); in rs400_debugfs_gart_info()
366 tmp = RREG32_MC(0x33); in rs400_debugfs_gart_info()
367 seq_printf(m, "GART_ERROR_3 0x%08x\n", tmp); in rs400_debugfs_gart_info()
368 tmp = RREG32_MC(0x34); in rs400_debugfs_gart_info()
369 seq_printf(m, "GART_ERROR_4 0x%08x\n", tmp); in rs400_debugfs_gart_info()
370 tmp = RREG32_MC(0x35); in rs400_debugfs_gart_info()
371 seq_printf(m, "GART_ERROR_5 0x%08x\n", tmp); in rs400_debugfs_gart_info()
372 tmp = RREG32_MC(0x36); in rs400_debugfs_gart_info()
373 seq_printf(m, "GART_ERROR_6 0x%08x\n", tmp); in rs400_debugfs_gart_info()
374 tmp = RREG32_MC(0x37); in rs400_debugfs_gart_info()
375 seq_printf(m, "GART_ERROR_7 0x%08x\n", tmp); in rs400_debugfs_gart_info()