Read32
reg = Read32(OUT, RADEON_CRTC_GEN_CNTL)
| Read32(OUT, RADEON_CRTC2_GEN_CNTL);
reg = Read32(OUT, R600_CONFIG_MEMSIZE);
reg = Read32(OUT, RADEON_CONFIG_MEMSIZE);
biosScratch2 = Read32(OUT, R600_SCRATCH_REG2);
biosScratch6 = Read32(OUT, R600_SCRATCH_REG6);
biosScratch2 = Read32(OUT, RADEON_BIOS_2_SCRATCH);
biosScratch6 = Read32(OUT, RADEON_BIOS_6_SCRATCH);
reg = Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
reg = Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
| Read32(OUT, EVERGREEN_CRTC_CONTROL
reg = Read32(OUT, AVIVO_D1CRTC_CONTROL)
| Read32(OUT, AVIVO_D2CRTC_CONTROL);
uint32 scl = Read32(OUT, info->i2c.sclEnReg) & ~info->i2c.sclEnMask;
Read32(OUT, info->i2c.sclEnReg);
uint32 sda = Read32(OUT, info->i2c.sdaEnReg) & ~info->i2c.sdaEnMask;
Read32(OUT, info->i2c.sdaEnReg);
buffer = Read32(OUT, info->i2c.sclMaskReg);
buffer = Read32(OUT, info->i2c.sclAReg) & ~info->i2c.sclAMask;
buffer = Read32(OUT, info->i2c.sdaAReg) & ~info->i2c.sdaAMask;
buffer = Read32(OUT, info->i2c.sclEnReg) & ~info->i2c.sclEnMask;
buffer = Read32(OUT, info->i2c.sdaEnReg) & ~info->i2c.sdaEnMask;
buffer = Read32(OUT, info->i2c.sclMaskReg);
Read32(OUT, info->i2c.sclMaskReg);
buffer = Read32(OUT, info->i2c.sdaMaskReg);
Read32(OUT, info->i2c.sdaMaskReg);
uint32 scl = Read32(OUT, info->i2c.sclYReg) & info->i2c.sclYMask;
uint32 sda = Read32(OUT, info->i2c.sdaYReg) & info->i2c.sdaYMask;
= Read32(OUT, EVERGREEN_GRPH_FLIP_CONTROL + regs->crtcOffset);
uint32 tmp = Read32(OUT, AVIVO_D1GRPH_FLIP_CONTROL + regs->crtcOffset);
uint32 biosScratch0 = Read32(OUT, R600_SCRATCH_REG0);
uint32 biosScratch0 = Read32(OUT, R600_SCRATCH_REG0);
uint32 biosScratch0 = Read32(OUT, R600_SCRATCH_REG0);
uint32 biosScratch0 = Read32(OUT, R600_SCRATCH_REG0);
uint32 biosScratch0 = Read32(OUT, R600_SCRATCH_REG0);
uint32 biosScratch3 = Read32(OUT, R600_SCRATCH_REG3);
uint32 biosScratch2 = Read32(OUT, R600_SCRATCH_REG2);
uint32 biosScratch6 = Read32(OUT, R600_SCRATCH_REG6);
if ((Read32(OUT, GRBM_STATUS) & GUI_ACTIVE) == 0)
if ((Read32(OUT, GRBM_STATUS) & grbmBusyMask) != 0
|| (Read32(OUT, GRBM_STATUS2) & grbm2BusyMask) != 0) {
Read32(OUT, GRBM_SOFT_RESET);
Read32(OUT, GRBM_SOFT_RESET);
Read32(OUT, GRBM_SOFT_RESET);
Read32(OUT, GRBM_SOFT_RESET);
gpuState->d1vgaControl = Read32(OUT, AVIVO_D1VGA_CONTROL);
gpuState->d2vgaControl = Read32(OUT, AVIVO_D2VGA_CONTROL);
gpuState->vgaRenderControl = Read32(OUT, AVIVO_VGA_RENDER_CONTROL);
gpuState->vgaHdpControl = Read32(OUT, AVIVO_VGA_HDP_CONTROL);
gpuState->d1crtcControl = Read32(OUT, AVIVO_D1CRTC_CONTROL);
gpuState->d2crtcControl = Read32(OUT, AVIVO_D2CRTC_CONTROL);
if (((idleStatus = Read32(MC, SRBM_STATUS)) & busyBits) == 0)
Write32(OUT, 0x000300, Read32(OUT, 0x000300) & 0xFFFCFFFF);
Read32(OUT, R700_HDP_DEBUG1);
Write32(OUT, 0x000300, Read32(OUT, 0x000300) & 0xFFFCFFFF);
uint32 tmp = Read32(OUT, EVERGREEN_MC_FUS_VM_FB_OFFSET)
Write32(OUT, 0x000300, Read32(OUT, 0x000300) & 0xFFFCFFFF);
vramBase = Read32(OUT, fbVMLocationReg) & 0xFFFF;
Read32(OUT, GRBM_SOFT_RESET);
uint64 scratchAddr = Read32(OUT, CP_RB_RPTR_ADDR) & 0xFFFFFFFC;
scratchAddr |= ((uint64)Read32(OUT, CP_RB_RPTR_ADDR_HI)) << 32;
ssControl = Read32(OUT, EVERGREEN_P1PLL_SS_CNTL);
ssControl = Read32(OUT, EVERGREEN_P2PLL_SS_CNTL);
ssControl = Read32(OUT, AVIVO_P1PLL_INT_SS_CNTL);
ssControl = Read32(OUT, AVIVO_P2PLL_INT_SS_CNTL);
Read32(CRT, AVIVO_D1CRTC_STATUS));
Read32(CRT, AVIVO_D2CRTC_STATUS));
Read32(CRT, AVIVO_D1CRTC_CONTROL));
Read32(CRT, AVIVO_D2CRTC_CONTROL));
Read32(CRT, AVIVO_D1GRPH_ENABLE));
Read32(CRT, AVIVO_D2GRPH_ENABLE));
Read32(CRT, AVIVO_D1SCL_SCALER_ENABLE));
Read32(CRT, AVIVO_D2SCL_SCALER_ENABLE));
Read32(CRT, AVIVO_D1CRTC_BLANK_CONTROL));
Read32(CRT, AVIVO_D1CRTC_BLANK_CONTROL));
uint32_t level = Read32(OUT, backlightReg);
uint32_t backlightReg = Read32(OUT, radeon_get_backlight_register());
uint32 Read32(uint32 reg)
return controller->Read32(ACC_BM0_CMD + offset + reg);
uint32 Read32(uint32 reg)
position = controller->Read32(ACC_BM0_PNTR + stream->dma_offset);
&& (controller->Read32(ACC_CODEC_CNTL) & ACC_CODEC_CNTL_CMD_NEW); i--)
v = controller->Read32(ACC_CODEC_STATUS);
uint32 temp = Read32(reg);
uint32 Read32(uint32 reg)
return controller->Read32(HDAC_STREAM_BASE + offset + reg);
uint32 Read32(uint32 reg)
value = base->Read32(reg);
: stream->Read32(HDAC_STREAM_POSITION);
uint32 linkBytePosition = stream->Read32(HDAC_STREAM_POSITION);
uint32 intrStatus = controller->Read32(HDAC_INTR_STATUS);
uint32 control = controller->Read32(HDAC_GLOBAL_CONTROL);
control = controller->Read32(HDAC_GLOBAL_CONTROL);
control = controller->Read32(HDAC_GLOBAL_CONTROL);
control = controller->Read32(HDAC_GLOBAL_CONTROL);
controller->Write32(HDAC_INTR_CONTROL, controller->Read32(HDAC_INTR_CONTROL)
controller->Write32(HDAC_INTR_CONTROL, controller->Read32(HDAC_INTR_CONTROL)
stream->controller->Read32(HDAC_DMA_POSITION_BASE_LOWER)
dprintf("fwCfgSelectSignature: 0x%08" B_PRIx32 "\n", Read32());
dprintf("fwCfgSelectId: : 0x%08" B_PRIx32 "\n", Read32());
uint32_t count = B_BENDIAN_TO_HOST_INT32(Read32());
uint32_t count = B_BENDIAN_TO_HOST_INT32(Read32());