Lines Matching refs:power_info
1773 union power_info { union
1879 union power_info *power_info; in rv6xx_parse_power_table() local
1888 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv6xx_parse_power_table()
1890 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv6xx_parse_power_table()
1896 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv6xx_parse_power_table()
1899 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv6xx_parse_power_table()
1900 i * power_info->pplib.ucStateEntrySize); in rv6xx_parse_power_table()
1903 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv6xx_parse_power_table()
1905 power_info->pplib.ucNonClockSize)); in rv6xx_parse_power_table()
1906 if (power_info->pplib.ucStateEntrySize - 1) { in rv6xx_parse_power_table()
1917 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv6xx_parse_power_table()
1920 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv6xx_parse_power_table()
1921 (idx[j] * power_info->pplib.ucClockInfoSize)); in rv6xx_parse_power_table()
1928 rdev->pm.dpm.num_ps = power_info->pplib.ucNumStates; in rv6xx_parse_power_table()