/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | rv730_dpm.c | 244 &table->ACPIState.levels[0].vddc); 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() 310 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv730_populate_smc_acpi_state() 311 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv730_populate_smc_acpi_state() 358 table->initialState.levels[0].seqValue = in rv730_populate_smc_initial_state() 363 &table->initialState.levels[0].vddc); in rv730_populate_smc_initial_state() 365 &table->initialState.levels[0].mvdd); in rv730_populate_smc_initial_state() 382 table->initialState.levels[1] = table->initialState.levels[0]; in rv730_populate_smc_initial_state() [all …]
|
A D | rv740_dpm.c | 333 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 334 table->ACPIState.levels[0].gen2PCIE = in rv740_populate_smc_acpi_state() 337 table->ACPIState.levels[0].gen2XSP = in rv740_populate_smc_acpi_state() 341 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 342 table->ACPIState.levels[0].gen2PCIE = 0; in rv740_populate_smc_acpi_state() 377 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_smc_acpi_state() 379 table->ACPIState.levels[0].mclk.mclk770.mclk_value = 0; in rv740_populate_smc_acpi_state() 385 table->ACPIState.levels[0].sclk.sclk_value = 0; in rv740_populate_smc_acpi_state() 387 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv740_populate_smc_acpi_state() 388 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv740_populate_smc_acpi_state() [all …]
|
A D | cypress_dpm.c | 774 &smc_state->levels[0], in cypress_convert_power_state_to_smc() 781 &smc_state->levels[1], in cypress_convert_power_state_to_smc() 788 &smc_state->levels[2], in cypress_convert_power_state_to_smc() 798 smc_state->levels[0].ACIndex = 2; in cypress_convert_power_state_to_smc() 799 smc_state->levels[1].ACIndex = 3; in cypress_convert_power_state_to_smc() 800 smc_state->levels[2].ACIndex = 4; in cypress_convert_power_state_to_smc() 802 smc_state->levels[0].ACIndex = 0; in cypress_convert_power_state_to_smc() 1321 table->initialState.levels[1] = table->initialState.levels[0]; in cypress_populate_smc_initial_state() 1322 table->initialState.levels[2] = table->initialState.levels[0]; in cypress_populate_smc_initial_state() 1460 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in cypress_populate_smc_acpi_state() [all …]
|
A D | sumo_dpm.c | 1065 ps->levels[0].ss_divider_index = in sumo_patch_thermal_state() 1071 if (ps->levels[0].ds_divider_index > ps->levels[0].ss_divider_index + 1) in sumo_patch_thermal_state() 1072 ps->levels[0].ds_divider_index = ps->levels[0].ss_divider_index + 1; in sumo_patch_thermal_state() 1074 if (ps->levels[0].ss_divider_index == ps->levels[0].ds_divider_index) { in sumo_patch_thermal_state() 1076 ps->levels[0].ss_divider_index = ps->levels[0].ss_divider_index - 1; in sumo_patch_thermal_state() 1116 ps->levels[i].sclk = in sumo_apply_state_adjust_rules() 1125 if (ps->levels[i].ds_divider_index > ps->levels[i].ss_divider_index + 1) in sumo_apply_state_adjust_rules() 1126 ps->levels[i].ds_divider_index = ps->levels[i].ss_divider_index + 1; in sumo_apply_state_adjust_rules() 1128 if (ps->levels[i].ss_divider_index == ps->levels[i].ds_divider_index) { in sumo_apply_state_adjust_rules() 1130 ps->levels[i].ss_divider_index = ps->levels[i].ss_divider_index - 1; in sumo_apply_state_adjust_rules() [all …]
|
A D | rv770_dpm.c | 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() 944 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state() 953 table->ACPIState.levels[0].gen2XSP = 1; in rv770_populate_smc_acpi_state() 958 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state() 1001 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state() 1002 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state() 1069 table->initialState.levels[0].seqValue = in rv770_populate_smc_initial_state() 1107 table->initialState.levels[1] = table->initialState.levels[0]; in rv770_populate_smc_initial_state() [all …]
|
A D | trinity_dpm.c | 1287 ps->levels[0] = pi->boot_pl; in trinity_patch_boot_state() 1377 ps->levels[0].ds_divider_index = in trinity_patch_thermal_state() 1379 ps->levels[0].ss_divider_index = ps->levels[0].ds_divider_index; in trinity_patch_thermal_state() 1380 ps->levels[0].allow_gnb_slow = 1; in trinity_patch_thermal_state() 1382 ps->levels[0].display_wm = 0; in trinity_patch_thermal_state() 1383 ps->levels[0].vce_wm = in trinity_patch_thermal_state() 1523 ps->levels[i].sclk = in trinity_apply_state_adjust_rules() 1537 ps->levels[i].ds_divider_index = in trinity_apply_state_adjust_rules() 1540 ps->levels[i].ss_divider_index = ps->levels[i].ds_divider_index; in trinity_apply_state_adjust_rules() 1544 ps->levels[i].display_wm = in trinity_apply_state_adjust_rules() [all …]
|
/linux-6.3-rc2/drivers/video/backlight/ |
A D | pwm_bl.c | 26 unsigned int *levels; member 84 if (pb->levels) in compute_duty_cycle() 212 if (!data->levels) in pwm_backlight_brightness_default() 270 if (!data->levels) in pwm_backlight_parse_dt() 274 data->levels, in pwm_backlight_parse_dt() 336 y1 = data->levels[i]; in pwm_backlight_parse_dt() 337 y2 = data->levels[i + 1]; in pwm_backlight_parse_dt() 354 data->levels = table; in pwm_backlight_parse_dt() 543 if (data->levels) { in pwm_backlight_probe() 544 pb->levels = data->levels; in pwm_backlight_probe() [all …]
|
A 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-6.3-rc2/arch/powerpc/platforms/powernv/ |
A 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() 268 --levels; in pnv_pci_ioda2_table_do_alloc_pages() 269 if (!levels) { in pnv_pci_ioda2_table_do_alloc_pages() 303 if (!levels || (levels > POWERNV_IOMMU_MAX_LEVELS)) in pnv_pci_ioda2_table_alloc_pages() 310 entries_shift = (entries_shift + levels - 1) / levels; in pnv_pci_ioda2_table_alloc_pages() 350 tbl->it_indirect_levels = levels - 1; in pnv_pci_ioda2_table_alloc_pages() 356 tbl->it_userspace, 1, levels); in pnv_pci_ioda2_table_alloc_pages() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/leds/backlight/ |
A D | pwm-backlight.yaml | 42 brightness-levels: 44 Array of distinct brightness levels. Typically these are in the range 54 "brightness-levels" property). 59 Number of interpolated steps between each value of brightness-levels 65 default-brightness-level: [brightness-levels] 66 num-interpolated-steps: [brightness-levels] 81 brightness-levels = <0 4 8 16 32 64 128 255>; 96 brightness-levels = <0 2048 4096 8192 16384 65535>;
|
A D | led-backlight.yaml | 29 brightness-levels: 31 Array of distinct brightness levels. The levels must be in the range 40 "brightness-levels" property). 55 brightness-levels = <0 4 8 16 32 64 128 255>;
|
/linux-6.3-rc2/arch/mips/kernel/ |
A 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-6.3-rc2/Documentation/scheduler/ |
A 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 90 To address the first complaint (of nice levels being not "punchy" 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 108 The third complaint (of negative nice levels not being "punchy" enough 111 automatically: stronger negative nice levels are an automatic [all …]
|
/linux-6.3-rc2/drivers/acpi/ |
A D | acpi_video.c | 329 *levels = NULL; in acpi_video_device_lcd_query_levels() 341 *levels = obj; in acpi_video_device_lcd_query_levels() 824 sizeof(*br->levels), in acpi_video_get_levels() 826 if (!br->levels) { in acpi_video_get_levels() 843 br->levels[count] = value; in acpi_video_get_levels() 857 if (br->levels[i] == br->levels[ACPI_VIDEO_AC_LEVEL]) in acpi_video_get_levels() 859 if (br->levels[i] == br->levels[ACPI_VIDEO_BATTERY_LEVEL]) in acpi_video_get_levels() 868 br->levels[i] = br->levels[i - level_ac_battery]; in acpi_video_get_levels() 967 kfree(br->levels); in acpi_video_init_brightness() 1789 union acpi_object *levels; in acpi_video_run_bcl_for_osi() local [all …]
|
A 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() 618 int acpi_get_cache_info(unsigned int cpu, unsigned int *levels, in acpi_get_cache_info() argument 625 *levels = 0; in acpi_get_cache_info() 640 acpi_count_levels(table, cpu_node, levels, split_levels); in acpi_get_cache_info() 643 *levels, split_levels ? *split_levels : -1); in acpi_get_cache_info()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A 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-6.3-rc2/drivers/thermal/intel/int340x_thermal/ |
A 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-6.3-rc2/arch/arm64/mm/ |
A D | trans_pgd.c | 237 unsigned long level_mask, prev_level_entry, *levels[4]; in trans_pgd_idmap_page() local 244 levels[this_level] = trans_alloc(info); in trans_pgd_idmap_page() 245 if (!levels[this_level]) in trans_pgd_idmap_page() 253 *(levels[this_level] + index) = prev_level_entry; in trans_pgd_idmap_page() 255 pfn = virt_to_pfn(levels[this_level]); in trans_pgd_idmap_page()
|
/linux-6.3-rc2/drivers/base/ |
A D | cacheinfo.c | 262 unsigned int levels = 0, leaves, level; in init_of_cache_level() local 266 levels = 1; in init_of_cache_level() 276 if (level <= levels) in init_of_cache_level() 280 levels = level; in init_of_cache_level() 284 this_cpu_ci->num_levels = levels; in init_of_cache_level() 427 unsigned int levels = 0, split_levels = 0; in fetch_cache_info() local 435 ret = acpi_get_cache_info(cpu, &levels, &split_levels); in fetch_cache_info() 440 this_cpu_ci->num_levels = levels; in fetch_cache_info() 447 this_cpu_ci->num_leaves = levels + split_levels; in fetch_cache_info()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | cacheinfo.c | 122 int levels = 1, level = 1; in populate_cache_leaves() local 137 if (level <= levels) in populate_cache_leaves() 142 levels = level; in populate_cache_leaves()
|
/linux-6.3-rc2/Documentation/arm64/ |
A 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-6.3-rc2/arch/arm64/include/asm/ |
A D | kvm_arm.h | 195 #define VTCR_EL2_LVLS_TO_SL0(levels) \ argument 196 ((VTCR_EL2_TGRAN_SL0_BASE - (4 - (levels))) << VTCR_EL2_SL0_SHIFT) 268 #define ARM64_VTTBR_X(ipa, levels) ((ipa) - ((levels) * (PAGE_SHIFT - 3))) argument
|
/linux-6.3-rc2/arch/x86/kernel/cpu/microcode/ |
A D | core.c | 93 u32 *levels; in amd_check_current_patch_level() local 98 levels = (u32 *)__pa_nodebug(&final_levels); in amd_check_current_patch_level() 100 levels = final_levels; in amd_check_current_patch_level() 102 for (i = 0; levels[i]; i++) { in amd_check_current_patch_level() 103 if (lvl == levels[i]) in amd_check_current_patch_level()
|
/linux-6.3-rc2/Documentation/ABI/ |
A 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-6.3-rc2/include/linux/ |
A D | cacheinfo.h | 101 unsigned int *levels, unsigned int *split_levels) in acpi_get_cache_info() argument 107 unsigned int *levels, unsigned int *split_levels);
|