Home
last modified time | relevance | path

Searched refs:levels (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/linux/drivers/gpu/drm/radeon/
A Drv730_dpm.c244 &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 Drv740_dpm.c333 &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 Dcypress_dpm.c774 &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 Dsumo_dpm.c1065 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 Drv770_dpm.c687 &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 Dtrinity_dpm.c1287 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/drivers/video/backlight/
A Dpwm_bl.c26 unsigned int *levels; member
97 if (pb->levels) in compute_duty_cycle()
210 if (!data->levels) in pwm_backlight_brightness_default()
269 if (!data->levels) in pwm_backlight_parse_dt()
273 data->levels, in pwm_backlight_parse_dt()
335 y1 = data->levels[i]; in pwm_backlight_parse_dt()
336 y2 = data->levels[i + 1]; in pwm_backlight_parse_dt()
353 data->levels = table; in pwm_backlight_parse_dt()
546 if (data->levels) { in pwm_backlight_probe()
547 pb->levels = data->levels; in pwm_backlight_probe()
[all …]
A Dled_bl.c20 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/arch/powerpc/platforms/powernv/
A Dpci-ioda-tce.c81 unsigned long size, unsigned int levels);
218 unsigned long size, unsigned int levels) in pnv_pci_ioda2_table_do_free_pages() argument
223 if (levels) { in pnv_pci_ioda2_table_do_free_pages()
234 levels - 1); in pnv_pci_ioda2_table_do_free_pages()
269 --levels; in pnv_pci_ioda2_table_do_alloc_pages()
270 if (!levels) { in pnv_pci_ioda2_table_do_alloc_pages()
304 if (!levels || (levels > POWERNV_IOMMU_MAX_LEVELS)) in pnv_pci_ioda2_table_alloc_pages()
311 entries_shift = (entries_shift + levels - 1) / levels; in pnv_pci_ioda2_table_alloc_pages()
351 tbl->it_indirect_levels = levels - 1; in pnv_pci_ioda2_table_alloc_pages()
357 tbl->it_userspace, 1, levels); in pnv_pci_ioda2_table_alloc_pages()
[all …]
/linux/arch/riscv/kernel/
A Dcacheinfo.c121 int levels = 0, leaves = 0, level; in init_cache_level() local
130 levels = 1; in init_cache_level()
140 if (level <= levels) in init_cache_level()
148 levels = level; in init_cache_level()
152 this_cpu_ci->num_levels = levels; in init_cache_level()
164 int levels = 1, level = 1; in populate_cache_leaves() local
179 if (level <= levels) in populate_cache_leaves()
184 levels = level; in populate_cache_leaves()
/linux/Documentation/devicetree/bindings/leds/backlight/
A Dpwm-backlight.yaml42 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 Dled-backlight.yaml27 brightness-levels:
29 Array of distinct brightness levels. The levels must be in the range
38 "brightness-levels" property).
53 brightness-levels = <0 4 8 16 32 64 128 255>;
/linux/arch/mips/kernel/
A Dcacheinfo.c24 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/Documentation/scheduler/
A Dsched-nice-design.rst6 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/drivers/acpi/
A Dacpi_video.c323 *levels = NULL; in acpi_video_device_lcd_query_levels()
335 *levels = obj; in acpi_video_device_lcd_query_levels()
860 sizeof(*br->levels), in acpi_video_get_levels()
862 if (!br->levels) { in acpi_video_get_levels()
879 br->levels[count] = value; in acpi_video_get_levels()
893 if (br->levels[i] == br->levels[ACPI_VIDEO_AC_LEVEL]) in acpi_video_get_levels()
895 if (br->levels[i] == br->levels[ACPI_VIDEO_BATTERY_LEVEL]) in acpi_video_get_levels()
904 br->levels[i] = br->levels[i - level_ac_battery]; in acpi_video_get_levels()
1003 kfree(br->levels); in acpi_video_init_brightness()
1833 union acpi_object *levels; in acpi_video_run_bcl_for_osi() local
[all …]
/linux/arch/arm/boot/dts/
A Dnuvoton-npcm750-evb.dts285 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/arch/arm64/mm/
A Dtrans_pgd.c237 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/drivers/thermal/intel/int340x_thermal/
A Dint3406_thermal.c60 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/Documentation/arm64/
A Dmemory.rst8 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)::
47 AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support)::
/linux/arch/arm64/include/asm/
A Dkvm_arm.h193 #define VTCR_EL2_LVLS_TO_SL0(levels) \ argument
194 ((VTCR_EL2_TGRAN_SL0_BASE - (4 - (levels))) << VTCR_EL2_SL0_SHIFT)
266 #define ARM64_VTTBR_X(ipa, levels) ((ipa) - ((levels) * (PAGE_SHIFT - 3))) argument
/linux/Documentation/ABI/
A DREADME3 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/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Dfiji_smumgr.c1014 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()
1052 levels[i].pcieDpmLevel = in fiji_populate_all_graphic_levels()
1230 struct SMU73_Discrete_MemoryLevel *levels = in fiji_populate_all_memory_levels() local
1240 &levels[i]); in fiji_populate_all_memory_levels()
1246 levels[0].EnabledForActivity = 1; in fiji_populate_all_memory_levels()
2555 struct SMU73_Discrete_GraphicsLevel *levels = in fiji_update_dpm_settings() local
2576 if (levels[i].ActivityLevel != in fiji_update_dpm_settings()
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
A Daspeed-pwm-tacho.txt34 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>;
A Dnpcm750-pwm-fan.txt28 For PWM channel can be configured cooling-levels to create cooling device.
43 - cooling-levels: PWM duty cycle values in a range from 0 to 255
73 cooling-levels = <127 255>;
/linux/tools/power/x86/intel-speed-select/
A Disst-core.c55 pkg_dev->levels = 0; in isst_get_ctdp_levels()
66 pkg_dev->levels = (resp >> 8) & 0xff; in isst_get_ctdp_levels()
423 if (level > pkg_dev.levels) { in isst_get_pbf_info()
634 if (level > pkg_dev.levels) { in isst_get_fact_info()
764 for (i = 0; i < pkg_dev->levels; ++i) { in isst_get_process_ctdp_complete()
787 pkg_dev->levels); in isst_get_process_ctdp()
789 if (tdp_level != 0xff && tdp_level > pkg_dev->levels) { in isst_get_process_ctdp()
797 for (i = 0; i <= pkg_dev->levels; ++i) { in isst_get_process_ctdp()

Completed in 78 milliseconds

12345678910>>...22