• Home
  • Raw
  • Download

Lines Matching refs:save

2552 	struct r100_mc_save save;  in r100_asic_reset()  local
2560 r100_mc_stop(rdev, &save); in r100_asic_reset()
2602 r100_mc_resume(rdev, &save); in r100_asic_reset()
2864 uint32_t save, tmp; in r100_pll_errata_after_data() local
2866 save = RREG32(RADEON_CLOCK_CNTL_INDEX); in r100_pll_errata_after_data()
2867 tmp = save & ~(0x3f | RADEON_PLL_WR_EN); in r100_pll_errata_after_data()
2870 WREG32(RADEON_CLOCK_CNTL_INDEX, save); in r100_pll_errata_after_data()
3765 void r100_mc_stop(struct radeon_device *rdev, struct r100_mc_save *save) in r100_mc_stop() argument
3774 save->GENMO_WT = RREG8(R_0003C2_GENMO_WT); in r100_mc_stop()
3775 save->CRTC_EXT_CNTL = RREG32(R_000054_CRTC_EXT_CNTL); in r100_mc_stop()
3776 save->CRTC_GEN_CNTL = RREG32(R_000050_CRTC_GEN_CNTL); in r100_mc_stop()
3777 save->CUR_OFFSET = RREG32(R_000260_CUR_OFFSET); in r100_mc_stop()
3779 save->CRTC2_GEN_CNTL = RREG32(R_0003F8_CRTC2_GEN_CNTL); in r100_mc_stop()
3780 save->CUR2_OFFSET = RREG32(R_000360_CUR2_OFFSET); in r100_mc_stop()
3784 WREG8(R_0003C2_GENMO_WT, C_0003C2_VGA_RAM_EN & save->GENMO_WT); in r100_mc_stop()
3786 WREG32(R_000260_CUR_OFFSET, save->CUR_OFFSET | S_000260_CUR_LOCK(1)); in r100_mc_stop()
3787 WREG32(R_000054_CRTC_EXT_CNTL, save->CRTC_EXT_CNTL | in r100_mc_stop()
3790 (C_000050_CRTC_CUR_EN & save->CRTC_GEN_CNTL) | in r100_mc_stop()
3794 WREG32(R_000260_CUR_OFFSET, C_000260_CUR_LOCK & save->CUR_OFFSET); in r100_mc_stop()
3796 WREG32(R_000360_CUR2_OFFSET, save->CUR2_OFFSET | in r100_mc_stop()
3799 (C_0003F8_CRTC2_CUR_EN & save->CRTC2_GEN_CNTL) | in r100_mc_stop()
3803 C_000360_CUR2_LOCK & save->CUR2_OFFSET); in r100_mc_stop()
3807 void r100_mc_resume(struct radeon_device *rdev, struct r100_mc_save *save) in r100_mc_resume() argument
3815 WREG8(R_0003C2_GENMO_WT, save->GENMO_WT); in r100_mc_resume()
3816 WREG32(R_000054_CRTC_EXT_CNTL, save->CRTC_EXT_CNTL); in r100_mc_resume()
3817 WREG32(R_000050_CRTC_GEN_CNTL, save->CRTC_GEN_CNTL); in r100_mc_resume()
3819 WREG32(R_0003F8_CRTC2_GEN_CNTL, save->CRTC2_GEN_CNTL); in r100_mc_resume()
3842 struct r100_mc_save save; in r100_mc_program() local
3845 r100_mc_stop(rdev, &save); in r100_mc_program()
3867 r100_mc_resume(rdev, &save); in r100_mc_program()