Lines Matching refs:platform_descriptor
445 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
447 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
1041 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller()
1080 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller()
1095 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_thermal_controller()
1117 hwmgr->platform_descriptor.overdriveLimit.engineClock = in init_overdrive_limits_V1_4()
1120 hwmgr->platform_descriptor.overdriveLimit.memoryClock = in init_overdrive_limits_V1_4()
1123 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
1126 hwmgr->platform_descriptor.minOverdriveVDDC = in init_overdrive_limits_V1_4()
1129 hwmgr->platform_descriptor.maxOverdriveVDDC = in init_overdrive_limits_V1_4()
1132 hwmgr->platform_descriptor.overdriveVDDCStep = 0; in init_overdrive_limits_V1_4()
1155 hwmgr->platform_descriptor.overdriveLimit.engineClock = le32_to_cpu(header->ulMaxEngineClock); in init_overdrive_limits_V2_1()
1156 hwmgr->platform_descriptor.overdriveLimit.memoryClock = le32_to_cpu(header->ulMaxMemoryClock); in init_overdrive_limits_V2_1()
1159 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_overdrive_limits_V2_1()
1160 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_overdrive_limits_V2_1()
1161 hwmgr->platform_descriptor.overdriveVDDCStep = 0; in init_overdrive_limits_V2_1()
1175 hwmgr->platform_descriptor.overdriveLimit.engineClock = 0; in init_overdrive_limits()
1176 hwmgr->platform_descriptor.overdriveLimit.memoryClock = 0; in init_overdrive_limits()
1177 hwmgr->platform_descriptor.minOverdriveVDDC = 0; in init_overdrive_limits()
1178 hwmgr->platform_descriptor.maxOverdriveVDDC = 0; in init_overdrive_limits()
1179 hwmgr->platform_descriptor.overdriveVDDCStep = 0; in init_overdrive_limits()
1498 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, in get_cac_leakage_table()
1556 hwmgr->platform_descriptor.TDPLimit = le32_to_cpu(ptable5->ulTDPLimit); in init_dpm2_parameters()
1557 hwmgr->platform_descriptor.nearTDPLimit = le32_to_cpu(ptable5->ulNearTDPLimit); in init_dpm2_parameters()
1559 hwmgr->platform_descriptor.TDPODLimit = le16_to_cpu(ptable5->usTDPODLimit); in init_dpm2_parameters()
1560 hwmgr->platform_descriptor.TDPAdjustment = 0; in init_dpm2_parameters()
1562 hwmgr->platform_descriptor.VidAdjustment = 0; in init_dpm2_parameters()
1563 hwmgr->platform_descriptor.VidAdjustmentPolarity = 0; in init_dpm2_parameters()
1564 hwmgr->platform_descriptor.VidMinLimit = 0; in init_dpm2_parameters()
1565 hwmgr->platform_descriptor.VidMaxLimit = 1500000; in init_dpm2_parameters()
1566 hwmgr->platform_descriptor.VidStep = 6250; in init_dpm2_parameters()
1568 hwmgr->platform_descriptor.nearTDPLimitAdjusted = le32_to_cpu(ptable5->ulNearTDPLimit); in init_dpm2_parameters()
1570 if (hwmgr->platform_descriptor.TDPODLimit != 0) in init_dpm2_parameters()
1571 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()
1574 hwmgr->platform_descriptor.SQRampingThreshold = le32_to_cpu(ptable5->ulSQRampingThreshold); in init_dpm2_parameters()
1576 hwmgr->platform_descriptor.CACLeakage = le32_to_cpu(ptable5->ulCACLeakage); in init_dpm2_parameters()
1588 hwmgr->platform_descriptor.LoadLineSlope = le16_to_cpu(ptable5->usLoadLineSlope); in init_dpm2_parameters()
1603 phm_cap_set(hwmgr->platform_descriptor.platformCaps, in init_dpm2_parameters()