Lines Matching refs:OpRegion
523 StrCpy((CHAR16*)&(mIgdOpRegion.OpRegion->Header.GOPV[0]), GopVersion); in SetGOPVersionCallback()
590 mIgdOpRegion.OpRegion->VBT.GVD1, in GetVBiosVbtCallback()
617 mIgdOpRegion.OpRegion->Header.VVER[0] = VBiosVbtPtr->CoreBlockBiosBuild[0]; in GetVBiosVbtCallback()
618 mIgdOpRegion.OpRegion->Header.VVER[1] = VBiosVbtPtr->CoreBlockBiosBuild[1]; in GetVBiosVbtCallback()
619 mIgdOpRegion.OpRegion->Header.VVER[2] = VBiosVbtPtr->CoreBlockBiosBuild[2]; in GetVBiosVbtCallback()
620 mIgdOpRegion.OpRegion->Header.VVER[3] = VBiosVbtPtr->CoreBlockBiosBuild[3]; in GetVBiosVbtCallback()
622 mIgdOpRegion.OpRegion->VBT.GVD1, in GetVBiosVbtCallback()
677 (void **)&mIgdOpRegion.OpRegion in IgdOpRegionInit()
681 mIgdOpRegion.OpRegion, in IgdOpRegionInit()
685 GlobalNvsArea->Area->IgdOpRegionAddress = (UINT32)(UINTN)(mIgdOpRegion.OpRegion); in IgdOpRegionInit()
699 mIgdOpRegion.OpRegion->Header.SIGN, in IgdOpRegionInit()
708 mIgdOpRegion.OpRegion->Header.SIZE = HEADER_SIZE/1024; in IgdOpRegionInit()
713 …mIgdOpRegion.OpRegion->Header.OVER = (UINT32) (LShiftU64 (HEADER_OPREGION_VER, 16) + LShiftU64 (HE… in IgdOpRegionInit()
715 CopyMem(mIgdOpRegion.OpRegion->Header.SVER, gSVER, sizeof(gSVER)); in IgdOpRegionInit()
718 mIgdOpRegion.OpRegion->Header.SVER, in IgdOpRegionInit()
723 DEBUG ((EFI_D_ERROR, "System BIOS ID is %a\n", mIgdOpRegion.OpRegion->Header.SVER)); in IgdOpRegionInit()
726 mIgdOpRegion.OpRegion->Header.MBOX = HEADER_MBOX_SUPPORT; in IgdOpRegionInit()
729 mIgdOpRegion.OpRegion->Header.PCON = (mIgdOpRegion.OpRegion->Header.PCON & 0xFFFC) | BIT1; in IgdOpRegionInit()
731 …mIgdOpRegion.OpRegion->Header.PCON = (mIgdOpRegion.OpRegion->Header.PCON & 0xFFFC) | (BIT1 | BIT0); in IgdOpRegionInit()
737 mIgdOpRegion.OpRegion->Header.PCON &= AUDIO_TYPE_SUPPORT_MASK; in IgdOpRegionInit()
738 mIgdOpRegion.OpRegion->Header.PCON &= AUDIO_TYPE_FIELD_MASK; in IgdOpRegionInit()
740 mIgdOpRegion.OpRegion->Header.PCON = HD_AUDIO_SUPPORT; in IgdOpRegionInit()
741 mIgdOpRegion.OpRegion->Header.PCON |= AUDIO_TYPE_FIELD_VALID; in IgdOpRegionInit()
752 mIgdOpRegion.OpRegion->MBox1.CLID = DxePlatformSaPolicy->IgdPanelFeatures.LidStatus; in IgdOpRegionInit()
769 mIgdOpRegion.OpRegion->MBox3.BCLP = BACKLIGHT_BRIGHTNESS; in IgdOpRegionInit()
771 mIgdOpRegion.OpRegion->MBox3.PFIT = (FIELD_VALID_BIT | PFIT_STRETCH); in IgdOpRegionInit()
776 mIgdOpRegion.OpRegion->MBox3.PFIT = (FIELD_VALID_BIT | PFIT_CENTER); in IgdOpRegionInit()
781 mIgdOpRegion.OpRegion->MBox3.PFIT = (FIELD_VALID_BIT | PFIT_STRETCH); in IgdOpRegionInit()
786 mIgdOpRegion.OpRegion->MBox3.PFIT = (FIELD_VALID_BIT | PFIT_SETUP_AUTO); in IgdOpRegionInit()
792 mIgdOpRegion.OpRegion->MBox3.CBLV = (INIT_BRIGHT_LEVEL | FIELD_VALID_BIT); in IgdOpRegionInit()
800 mIgdOpRegion.OpRegion->MBox3.BCLM[0] = ( ( 0 << 8 ) + ( 0xFF - 0xFC ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
801 mIgdOpRegion.OpRegion->MBox3.BCLM[1] = ( ( 1 << 8 ) + ( 0xFF - 0xFC ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
802 mIgdOpRegion.OpRegion->MBox3.BCLM[2] = ( ( 10 << 8 ) + ( 0xFF - 0xE5 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
803 mIgdOpRegion.OpRegion->MBox3.BCLM[3] = ( ( 19 << 8 ) + ( 0xFF - 0xCE ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
804 mIgdOpRegion.OpRegion->MBox3.BCLM[4] = ( ( 28 << 8 ) + ( 0xFF - 0xB7 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
805 mIgdOpRegion.OpRegion->MBox3.BCLM[5] = ( ( 37 << 8 ) + ( 0xFF - 0xA0 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
806 mIgdOpRegion.OpRegion->MBox3.BCLM[6] = ( ( 46 << 8 ) + ( 0xFF - 0x89 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
807 mIgdOpRegion.OpRegion->MBox3.BCLM[7] = ( ( 55 << 8 ) + ( 0xFF - 0x72 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
808 mIgdOpRegion.OpRegion->MBox3.BCLM[8] = ( ( 64 << 8 ) + ( 0xFF - 0x5B ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
809 mIgdOpRegion.OpRegion->MBox3.BCLM[9] = ( ( 73 << 8 ) + ( 0xFF - 0x44 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
810 mIgdOpRegion.OpRegion->MBox3.BCLM[10] = ( ( 82 << 8 ) + ( 0xFF - 0x2D ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
811 mIgdOpRegion.OpRegion->MBox3.BCLM[11] = ( ( 91 << 8 ) + ( 0xFF - 0x16 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
812 mIgdOpRegion.OpRegion->MBox3.BCLM[12] = ( (100 << 8 ) + ( 0xFF - 0x00 ) + WORD_FIELD_VALID_BIT); in IgdOpRegionInit()
814 mIgdOpRegion.OpRegion->MBox3.PCFT = ((UINT32) GlobalNvsArea->Area->IgdPowerConservation) | BIT31; in IgdOpRegionInit()
869 IgdMmPci32 (IGD_ASLS_OFFSET) = (UINT32)(UINTN)(mIgdOpRegion.OpRegion); in IgdOpRegionInit()