Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ATOM_VOLTAGE_OBJECT
- UCHAR ucVoltageType; //Indicate Voltage Source: VDDC, MVDDC, MVDDQ or MVDDCI
- UCHAR ucSize; //Size of Object
- ATOM_VOLTAGE_CONTROL asControl; //describ how to control
- UCHAR ucVoltageControlId; //Indicate it is controlled by I2C or GPIO or HW state machine
- UCHAR ucVoltageControlI2cLine;
- UCHAR ucVoltageControlAddress;
- UCHAR ucVoltageControlOffset;
- USHORT usGpioPin_AIndex; //GPIO_PAD register index
- UCHAR ucGpioPinBitShift[9]; //at most 8 pin support 255 VIDs, termintate with 0xff
- UCHAR ucReserved;
- // Define ucVoltageControlId
- #define VOLTAGE_CONTROLLED_BY_HW 0x00
- #define VOLTAGE_CONTROLLED_BY_I2C_MASK 0x7F
- #define VOLTAGE_CONTROLLED_BY_GPIO 0x80
- #define VOLTAGE_CONTROL_ID_LM64 0x01 //I2C control, used for R5xx Core Voltage
- #define VOLTAGE_CONTROL_ID_DAC 0x02 //I2C control, used for R5xx/R6xx MVDDC,MVDDQ or VDDCI
- #define VOLTAGE_CONTROL_ID_VT116xM 0x03 //I2C control, used for R6xx Core Voltage
- #define VOLTAGE_CONTROL_ID_DS4402 0x04
- #define VOLTAGE_CONTROL_ID_UP6266 0x05
- #define VOLTAGE_CONTROL_ID_SCORPIO 0x06
- #define VOLTAGE_CONTROL_ID_VT1556M 0x07
- #define VOLTAGE_CONTROL_ID_CHL822x 0x08
- #define VOLTAGE_CONTROL_ID_VT1586M 0x09
- #define VOLTAGE_CONTROL_ID_UP1637 0x0A
- #define VOLTAGE_CONTROL_ID_CHL8214 0x0B
- #define VOLTAGE_CONTROL_ID_UP1801 0x0C
- #define VOLTAGE_CONTROL_ID_ST6788A 0x0D
- #define VOLTAGE_CONTROL_ID_CHLIR3564SVI2 0x0E
- #define VOLTAGE_CONTROL_ID_AD527x 0x0F
- #define VOLTAGE_CONTROL_ID_NCP81022 0x10
- #define VOLTAGE_CONTROL_ID_LTC2635 0x11
- ATOM_VOLTAGE_FORMULA asFormula; //Indicate How to convert real Voltage to VID
- USHORT usVoltageBaseLevel; // In number of 1mv unit
- USHORT usVoltageStep; // Indicating in how many mv increament is one step, 1mv unit
- UCHAR ucNumOfVoltageEntries; // Number of Voltage Entry, which indicate max Voltage
- UCHAR ucFlag; // bit0=0 :step is 1mv =1 0.5mv
- UCHAR ucBaseVID ; // if there is no lookup table, VID= BaseVID + ( Vol - BaseLevle ) /VoltageStep
- UCHAR ucReserved;
- UCHAR ucVIDAdjustEntries[32]; // 32 is for allocation, the actual number of entry is present at ucNumOfVoltageEntries
Advertisement
Add Comment
Please, Sign In to add comment