/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | rv730_dpm.c | 244 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 245 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ? in rv730_populate_smc_acpi_state() 247 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state() 251 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 252 table->ACPIState.levels[0].gen2PCIE = 0; in rv730_populate_smc_acpi_state() 294 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_smc_acpi_state() 295 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); in rv730_populate_smc_acpi_state() 296 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3); in rv730_populate_smc_acpi_state() 297 table->ACPIState.levels[0].mclk.mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_smc_acpi_state() 298 table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_smc_acpi_state() [all …]
|
D | rv740_dpm.c | 337 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 338 table->ACPIState.levels[0].gen2PCIE = in rv740_populate_smc_acpi_state() 341 table->ACPIState.levels[0].gen2XSP = in rv740_populate_smc_acpi_state() 345 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 346 table->ACPIState.levels[0].gen2PCIE = 0; in rv740_populate_smc_acpi_state() 376 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_smc_acpi_state() 377 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv740_populate_smc_acpi_state() 378 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_smc_acpi_state() 379 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); in rv740_populate_smc_acpi_state() 380 table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv740_populate_smc_acpi_state() [all …]
|
D | cypress_dpm.c | 778 &smc_state->levels[0], in cypress_convert_power_state_to_smc() 785 &smc_state->levels[1], in cypress_convert_power_state_to_smc() 792 &smc_state->levels[2], in cypress_convert_power_state_to_smc() 797 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in cypress_convert_power_state_to_smc() 798 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in cypress_convert_power_state_to_smc() 799 smc_state->levels[2].arbValue = MC_CG_ARB_FREQ_F3; in cypress_convert_power_state_to_smc() 802 smc_state->levels[0].ACIndex = 2; in cypress_convert_power_state_to_smc() 803 smc_state->levels[1].ACIndex = 3; in cypress_convert_power_state_to_smc() 804 smc_state->levels[2].ACIndex = 4; in cypress_convert_power_state_to_smc() 806 smc_state->levels[0].ACIndex = 0; in cypress_convert_power_state_to_smc() [all …]
|
D | sumo_dpm.c | 347 u32 highest_engine_clock = ps->levels[ps->num_levels - 1].sclk; in sumo_program_bsp() 411 m_a = asi * ps->levels[i].sclk / 100; in sumo_program_at() 670 pi->boost_pl = new_ps->levels[new_ps->num_levels - 1]; in sumo_patch_boost_state() 762 sumo_program_power_level(rdev, &new_ps->levels[i], i); in sumo_program_power_levels_0_to_n() 844 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in sumo_set_uvd_clock_before_set_eng_clock() 845 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_before_set_eng_clock() 862 if (new_ps->levels[new_ps->num_levels - 1].sclk < in sumo_set_uvd_clock_after_set_eng_clock() 863 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_after_set_eng_clock() 1053 current_vddc = current_ps->levels[current_index].vddc_index; in sumo_patch_thermal_state() 1054 current_sclk = current_ps->levels[current_index].sclk; in sumo_patch_thermal_state() [all …]
|
D | rv770_dpm.c | 291 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t() 297 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].aT = in rv770_populate_smc_t() 311 smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); in rv770_populate_smc_sp() 313 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].bSP = in rv770_populate_smc_sp() 687 &smc_state->levels[0], in rv770_convert_power_state_to_smc() 694 &smc_state->levels[1], in rv770_convert_power_state_to_smc() 701 &smc_state->levels[2], in rv770_convert_power_state_to_smc() 706 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in rv770_convert_power_state_to_smc() 707 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in rv770_convert_power_state_to_smc() 708 smc_state->levels[2].arbValue = MC_CG_ARB_FREQ_F3; in rv770_convert_power_state_to_smc() [all …]
|
D | trinity_dpm.c | 805 trinity_program_power_level(rdev, &new_ps->levels[i], i); in trinity_program_power_levels_0_to_n() 925 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in trinity_set_uvd_clock_before_set_eng_clock() 926 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_before_set_eng_clock() 939 if (new_ps->levels[new_ps->num_levels - 1].sclk < in trinity_set_uvd_clock_after_set_eng_clock() 940 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_after_set_eng_clock() 1287 ps->levels[0] = pi->boot_pl; in trinity_patch_boot_state() 1310 pi->current_ps.levels[0] = pi->boot_pl; in trinity_construct_boot_state() 1365 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state() 1366 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state() 1372 ps->levels[0].vddc_index = current_vddc; in trinity_patch_thermal_state() [all …]
|
/Linux-v6.6/drivers/video/backlight/ |
D | pwm_bl.c | 26 unsigned int *levels; member 82 if (pb->levels) in compute_duty_cycle() 83 duty_cycle = pb->levels[brightness]; in compute_duty_cycle() 208 data->levels = devm_kcalloc(dev, data->max_brightness, in pwm_backlight_brightness_default() 209 sizeof(*data->levels), GFP_KERNEL); in pwm_backlight_brightness_default() 210 if (!data->levels) in pwm_backlight_brightness_default() 220 data->levels[i] = (unsigned int)retval; in pwm_backlight_brightness_default() 266 data->levels = devm_kcalloc(dev, num_levels, in pwm_backlight_parse_dt() 267 sizeof(*data->levels), GFP_KERNEL); in pwm_backlight_parse_dt() 268 if (!data->levels) in pwm_backlight_parse_dt() [all …]
|
D | led_bl.c | 20 unsigned int *levels; member 30 if (priv->levels) in led_bl_set_brightness() 31 bkl_brightness = priv->levels[level]; in led_bl_set_brightness() 138 u32 *levels = NULL; in led_bl_parse_levels() local 140 levels = devm_kzalloc(dev, sizeof(u32) * num_levels, in led_bl_parse_levels() 142 if (!levels) in led_bl_parse_levels() 146 levels, in led_bl_parse_levels() 157 if ((i && db > levels[i-1]) && db <= levels[i]) in led_bl_parse_levels() 162 priv->levels = levels; in led_bl_parse_levels()
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 81 unsigned long size, unsigned int levels); 217 unsigned long size, unsigned int levels) in pnv_pci_ioda2_table_do_free_pages() argument 222 if (levels) { in pnv_pci_ioda2_table_do_free_pages() 233 levels - 1); in pnv_pci_ioda2_table_do_free_pages() 257 unsigned int levels, unsigned long limit, in pnv_pci_ioda2_table_do_alloc_pages() argument 268 --levels; in pnv_pci_ioda2_table_do_alloc_pages() 269 if (!levels) { in pnv_pci_ioda2_table_do_alloc_pages() 276 levels, limit, current_offset, total_allocated); in pnv_pci_ioda2_table_do_alloc_pages() 291 __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_table_alloc_pages() argument 303 if (!levels || (levels > POWERNV_IOMMU_MAX_LEVELS)) in pnv_pci_ioda2_table_alloc_pages() [all …]
|
/Linux-v6.6/arch/mips/kernel/ |
D | cacheinfo.c | 24 int levels = 0, leaves = 0; in init_cache_level() local 31 levels += 1; in init_cache_level() 39 levels++; in init_cache_level() 44 levels++; in init_cache_level() 49 levels++; in init_cache_level() 53 this_cpu_ci->num_levels = levels; in init_cache_level()
|
/Linux-v6.6/Documentation/scheduler/ |
D | sched-nice-design.rst | 6 nice-levels implementation in the new Linux scheduler. 8 Nice levels were always pretty weak under Linux and people continuously 16 In the O(1) scheduler (in 2003) we changed negative nice levels to be 58 To sum it up: we always wanted to make nice levels more consistent, but 83 nice levels were not 'punchy enough', so lots of people had to resort to 90 To address the first complaint (of nice levels being not "punchy" 92 (and granularity was made a separate concept from nice levels) and thus 98 To address the second complaint (of nice levels not being consistent), 100 tasks, regardless of their absolute nice levels. So on the new 104 levels were changed to be "multiplicative" (or exponential) - that way [all …]
|
/Linux-v6.6/drivers/acpi/ |
D | acpi_video.c | 231 if (vd->brightness->levels[i] == cur_level) in acpi_video_get_brightness() 244 vd->brightness->levels[request_level]); in acpi_video_set_brightness() 275 if (level == video->brightness->levels[offset]) { in video_get_cur_state() 294 level = video->brightness->levels[state - 1]; in video_set_cur_state() 312 union acpi_object **levels) in acpi_video_device_lcd_query_levels() argument 319 *levels = NULL; in acpi_video_device_lcd_query_levels() 331 *levels = obj; in acpi_video_device_lcd_query_levels() 357 if (level == device->brightness->levels[state]) { in acpi_video_device_lcd_set_level() 540 level = device->brightness->levels[bqc_value + in acpi_video_bqc_value_to_level() 577 if (device->brightness->levels[i] == *level) { in acpi_video_device_lcd_get_level_current() [all …]
|
D | pptt.c | 197 unsigned int *levels, unsigned int *split_levels) in acpi_count_levels() argument 200 acpi_find_cache_level(table_hdr, cpu_node, levels, split_levels, 0, 0); in acpi_count_levels() 621 int acpi_get_cache_info(unsigned int cpu, unsigned int *levels, in acpi_get_cache_info() argument 628 *levels = 0; in acpi_get_cache_info() 643 acpi_count_levels(table, cpu_node, levels, split_levels); in acpi_get_cache_info() 646 *levels, split_levels ? *split_levels : -1); in acpi_get_cache_info()
|
/Linux-v6.6/arch/arm/boot/dts/nuvoton/ |
D | nuvoton-npcm750-evb.dts | 285 cooling-levels = <127 255>; 290 cooling-levels = /bits/ 8 <127 255>; 295 cooling-levels = /bits/ 8 <127 255>; 300 cooling-levels = /bits/ 8 <127 255>; 305 cooling-levels = /bits/ 8 <127 255>; 310 cooling-levels = /bits/ 8 <127 255>; 315 cooling-levels = /bits/ 8 <127 255>; 320 cooling-levels = /bits/ 8 <127 255>;
|
/Linux-v6.6/drivers/thermal/intel/int340x_thermal/ |
D | int3406_thermal.c | 60 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state() 83 if (acpi_level <= d->br->levels[index]) in int3406_thermal_get_cur_state() 115 d->lower_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit() 120 d->upper_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit()
|
/Linux-v6.6/arch/arm64/mm/ |
D | trans_pgd.c | 239 unsigned long level_mask, prev_level_entry, *levels[4]; in trans_pgd_idmap_page() local 246 levels[this_level] = trans_alloc(info); in trans_pgd_idmap_page() 247 if (!levels[this_level]) in trans_pgd_idmap_page() 255 *(levels[this_level] + index) = prev_level_entry; in trans_pgd_idmap_page() 257 pfn = virt_to_pfn(levels[this_level]); in trans_pgd_idmap_page()
|
/Linux-v6.6/arch/riscv/kernel/ |
D | cacheinfo.c | 80 int levels = 1, level = 1; in populate_cache_leaves() local 97 if (level <= levels) in populate_cache_leaves() 105 levels = level; in populate_cache_leaves()
|
/Linux-v6.6/Documentation/arch/arm64/ |
D | memory.rst | 8 Linux kernel. The architecture allows up to 4 levels of translation 9 tables with a 4KB page size and up to 3 levels with a 64KB page size. 11 AArch64 Linux uses either 3 levels or 4 levels of translation tables 14 64KB pages, only 2 levels of translation tables, allowing 42-bit (4TB) 29 AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit):: 46 AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support)::
|
/Linux-v6.6/drivers/base/ |
D | cacheinfo.c | 292 unsigned int levels = 0, leaves, level; in init_of_cache_level() local 301 levels = 1; in init_of_cache_level() 311 if (level <= levels) in init_of_cache_level() 315 levels = level; in init_of_cache_level() 319 this_cpu_ci->num_levels = levels; in init_of_cache_level() 497 unsigned int levels = 0, split_levels = 0; in fetch_cache_info() local 503 ret = acpi_get_cache_info(cpu, &levels, &split_levels); in fetch_cache_info() 505 this_cpu_ci->num_levels = levels; in fetch_cache_info() 512 this_cpu_ci->num_leaves = levels + split_levels; in fetch_cache_info()
|
/Linux-v6.6/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 203 if (level > pkg_dev.levels) { in isst_get_pbf_info() 243 if (level > pkg_dev.levels) { in isst_get_fact_info() 344 for (i = 0; i < pkg_dev->levels; ++i) { in isst_get_process_ctdp_complete() 374 pkg_dev->levels); in isst_get_process_ctdp() 376 if (tdp_level != 0xff && tdp_level > pkg_dev->levels) { in isst_get_process_ctdp() 384 for (i = 0; i <= pkg_dev->levels; ++i) { in isst_get_process_ctdp()
|
/Linux-v6.6/arch/x86/kernel/cpu/microcode/ |
D | core.c | 89 u32 *levels; in amd_check_current_patch_level() local 94 levels = (u32 *)__pa_nodebug(&final_levels); in amd_check_current_patch_level() 96 levels = final_levels; in amd_check_current_patch_level() 98 for (i = 0; levels[i]; i++) { in amd_check_current_patch_level() 99 if (lvl == levels[i]) in amd_check_current_patch_level()
|
/Linux-v6.6/Documentation/ABI/ |
D | README | 3 everchanging nature of Linux, and the differing maturity levels, these 6 We have four different levels of ABI stability, as shown by the four 7 different subdirectories in this location. Interfaces may change levels 10 The different levels of stability are: 69 How things move between levels:
|
/Linux-v6.6/include/linux/ |
D | cacheinfo.h | 103 unsigned int *levels, unsigned int *split_levels) in acpi_get_cache_info() argument 109 unsigned int *levels, unsigned int *split_levels);
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | fiji_smumgr.c | 1014 struct SMU73_Discrete_GraphicsLevel *levels = in fiji_populate_all_graphic_levels() local 1025 &levels[i]); in fiji_populate_all_graphic_levels() 1031 levels[i].DeepSleepDivId = 0; in fiji_populate_all_graphic_levels() 1035 levels[0].EnabledForActivity = 1; in fiji_populate_all_graphic_levels() 1038 levels[dpm_table->sclk_table.count - 1].DisplayWatermark = in fiji_populate_all_graphic_levels() 1052 levels[i].pcieDpmLevel = in fiji_populate_all_graphic_levels() 1077 levels[i].pcieDpmLevel = hightest_pcie_level_enabled; in fiji_populate_all_graphic_levels() 1080 levels[0].pcieDpmLevel = lowest_pcie_level_enabled; in fiji_populate_all_graphic_levels() 1083 levels[1].pcieDpmLevel = mid_pcie_level_enabled; in fiji_populate_all_graphic_levels() 1086 result = smu7_copy_bytes_to_smc(hwmgr, array, (uint8_t *)levels, in fiji_populate_all_graphic_levels() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/hwmon/ |
D | aspeed-pwm-tacho.txt | 34 For PWM port can be configured cooling-levels to create cooling device. 42 - cooling-levels: PWM duty cycle values in a range from 0 to 255 65 cooling-levels = /bits/ 8 <125 151 177 203 229 255>;
|