/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | r600_dpm.c | 800 union power_info { union 845 union power_info *power_info; in r600_get_platform_caps() local 853 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_get_platform_caps() 855 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps() 856 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps() 857 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps() 873 union power_info *power_info; in r600_parse_extended_power_table() local 884 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_parse_extended_power_table() 887 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 889 if (power_info->pplib3.usFanTableOffset) { in r600_parse_extended_power_table() [all …]
|
D | rs780_dpm.c | 696 union power_info { union 796 union power_info *power_info; in rs780_parse_power_table() local 805 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rs780_parse_power_table() 808 power_info->pplib.ucNumStates, GFP_KERNEL); in rs780_parse_power_table() 812 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rs780_parse_power_table() 815 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rs780_parse_power_table() 816 i * power_info->pplib.ucStateEntrySize); in rs780_parse_power_table() 819 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rs780_parse_power_table() 821 power_info->pplib.ucNonClockSize)); in rs780_parse_power_table() 822 if (power_info->pplib.ucStateEntrySize - 1) { in rs780_parse_power_table() [all …]
|
D | radeon_atombios.c | 2026 union power_info { union 2096 union power_info *power_info; in radeon_atombios_parse_power_table_1_3() local 2104 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in radeon_atombios_parse_power_table_1_3() 2107 if ((power_info->info.ucOverdriveThermalController > 0) && in radeon_atombios_parse_power_table_1_3() 2108 (power_info->info.ucOverdriveThermalController < ARRAY_SIZE(thermal_controller_names))) { in radeon_atombios_parse_power_table_1_3() 2110 thermal_controller_names[power_info->info.ucOverdriveThermalController], in radeon_atombios_parse_power_table_1_3() 2111 power_info->info.ucOverdriveControllerAddress >> 1); in radeon_atombios_parse_power_table_1_3() 2112 i2c_bus = radeon_lookup_i2c_gpio(rdev, power_info->info.ucOverdriveI2cLine); in radeon_atombios_parse_power_table_1_3() 2116 const char *name = thermal_controller_names[power_info->info. in radeon_atombios_parse_power_table_1_3() 2118 info.addr = power_info->info.ucOverdriveControllerAddress >> 1; in radeon_atombios_parse_power_table_1_3() [all …]
|
D | rv6xx_dpm.c | 1774 union power_info { union 1880 union power_info *power_info; in rv6xx_parse_power_table() local 1889 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv6xx_parse_power_table() 1892 power_info->pplib.ucNumStates, GFP_KERNEL); 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() [all …]
|
D | rv770_dpm.c | 2123 union power_info { union 2274 union power_info *power_info; in rv7xx_parse_power_table() local 2283 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv7xx_parse_power_table() 2286 power_info->pplib.ucNumStates, GFP_KERNEL); in rv7xx_parse_power_table() 2290 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv7xx_parse_power_table() 2293 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv7xx_parse_power_table() 2294 i * power_info->pplib.ucStateEntrySize); in rv7xx_parse_power_table() 2297 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv7xx_parse_power_table() 2299 power_info->pplib.ucNonClockSize)); in rv7xx_parse_power_table() 2300 if (power_info->pplib.ucStateEntrySize - 1) { in rv7xx_parse_power_table() [all …]
|
D | trinity_dpm.c | 1593 union power_info { union 1673 union power_info *power_info; in trinity_parse_power_table() local 1683 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in trinity_parse_power_table() 1687 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table() 1690 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table() 1693 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
|
D | ni_dpm.c | 3873 union power_info { union 3992 union power_info *power_info; in ni_parse_power_table() local 4001 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ni_parse_power_table() 4004 power_info->pplib.ucNumStates, GFP_KERNEL); in ni_parse_power_table() 4008 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table() 4011 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table() 4012 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table() 4015 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in ni_parse_power_table() 4017 power_info->pplib.ucNonClockSize)); in ni_parse_power_table() 4018 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table() [all …]
|
D | sumo_dpm.c | 1372 union power_info { union 1463 union power_info *power_info; in sumo_parse_power_table() local 1473 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in sumo_parse_power_table() 1477 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in sumo_parse_power_table() 1480 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in sumo_parse_power_table() 1483 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in sumo_parse_power_table()
|
D | kv_dpm.c | 2552 union power_info { union 2641 union power_info *power_info; in kv_parse_power_table() local 2651 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in kv_parse_power_table() 2655 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table() 2658 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table() 2661 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
|
D | si_dpm.c | 6604 union power_info { union 6738 union power_info *power_info; in si_parse_power_table() local 6748 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in si_parse_power_table() 6752 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table() 6755 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table() 6758 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
|
D | ci_dpm.c | 5393 union power_info { union 5518 union power_info *power_info; in ci_parse_power_table() local 5528 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ci_parse_power_table() 5532 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table() 5535 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table() 5538 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 3945.c | 1363 ch_info->power_info[rate_idx].power_table_idx - (power - in il3945_hw_reg_set_scan_power() 1365 power_info in il3945_hw_reg_set_scan_power() 1430 txpower.power[i].tpc = ch_info->power_info[i].tpc; in il3945_send_tx_power() 1441 txpower.power[i].tpc = ch_info->power_info[i].tpc; in il3945_send_tx_power() 1475 struct il3945_channel_power_info *power_info; in il3945_hw_reg_set_new_power() local 1485 power_info = ch_info->power_info; in il3945_hw_reg_set_new_power() 1488 for (i = RATE_6M_IDX_TBL; i <= RATE_54M_IDX_TBL; i++, ++power_info) { in il3945_hw_reg_set_new_power() 1493 if (power == power_info->requested_power) in il3945_hw_reg_set_new_power() 1498 delta_idx = (power - power_info->requested_power) * 2; in il3945_hw_reg_set_new_power() 1499 power_info->base_power_idx -= delta_idx; in il3945_hw_reg_set_new_power() [all …]
|
D | common.h | 510 struct il3945_channel_power_info power_info[IL4965_MAX_RATE]; member
|
/linux-4.1.27/arch/ia64/kernel/ |
D | process.c | 626 pal_power_mgmt_info_u_t power_info[8]; in cpu_halt() local 630 if (ia64_pal_halt_info(power_info) != 0) in cpu_halt() 634 min_power = power_info[0].pal_power_mgmt_info_s.power_consumption; in cpu_halt() 636 if (power_info[i].pal_power_mgmt_info_s.im in cpu_halt() 637 && power_info[i].pal_power_mgmt_info_s.power_consumption < min_power) { in cpu_halt() 638 min_power = power_info[i].pal_power_mgmt_info_s.power_consumption; in cpu_halt()
|
D | palinfo.c | 182 static int power_info(struct seq_file *m) in power_info() function 815 { "power_info", power_info, },
|