| /linux/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 | 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() 381 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_smc_acpi_state() 383 table->ACPIState.levels[0].mclk.mclk770.mclk_value = 0; in rv740_populate_smc_acpi_state() 389 table->ACPIState.levels[0].sclk.sclk_value = 0; in rv740_populate_smc_acpi_state() 391 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv740_populate_smc_acpi_state() 392 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv740_populate_smc_acpi_state() [all …]
|
| A 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() 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() 1325 table->initialState.levels[1] = table->initialState.levels[0]; in cypress_populate_smc_initial_state() 1326 table->initialState.levels[2] = table->initialState.levels[0]; in cypress_populate_smc_initial_state() 1464 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in cypress_populate_smc_acpi_state() [all …]
|
| A D | sumo_dpm.c | 1063 ps->levels[0].ss_divider_index = in sumo_patch_thermal_state() 1069 if (ps->levels[0].ds_divider_index > ps->levels[0].ss_divider_index + 1) in sumo_patch_thermal_state() 1070 ps->levels[0].ds_divider_index = ps->levels[0].ss_divider_index + 1; in sumo_patch_thermal_state() 1072 if (ps->levels[0].ss_divider_index == ps->levels[0].ds_divider_index) { in sumo_patch_thermal_state() 1074 ps->levels[0].ss_divider_index = ps->levels[0].ss_divider_index - 1; in sumo_patch_thermal_state() 1114 ps->levels[i].sclk = in sumo_apply_state_adjust_rules() 1123 if (ps->levels[i].ds_divider_index > ps->levels[i].ss_divider_index + 1) in sumo_apply_state_adjust_rules() 1124 ps->levels[i].ds_divider_index = ps->levels[i].ss_divider_index + 1; in sumo_apply_state_adjust_rules() 1126 if (ps->levels[i].ss_divider_index == ps->levels[i].ds_divider_index) { in sumo_apply_state_adjust_rules() 1128 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 | 1283 ps->levels[0] = pi->boot_pl; in trinity_patch_boot_state() 1373 ps->levels[0].ds_divider_index = in trinity_patch_thermal_state() 1375 ps->levels[0].ss_divider_index = ps->levels[0].ds_divider_index; in trinity_patch_thermal_state() 1376 ps->levels[0].allow_gnb_slow = 1; in trinity_patch_thermal_state() 1378 ps->levels[0].display_wm = 0; in trinity_patch_thermal_state() 1379 ps->levels[0].vce_wm = in trinity_patch_thermal_state() 1519 ps->levels[i].sclk = in trinity_apply_state_adjust_rules() 1533 ps->levels[i].ds_divider_index = in trinity_apply_state_adjust_rules() 1536 ps->levels[i].ss_divider_index = ps->levels[i].ds_divider_index; in trinity_apply_state_adjust_rules() 1540 ps->levels[i].display_wm = in trinity_apply_state_adjust_rules() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| A D | r535.c | 71 ctrl->levels[0].physAddress = vmm->pd->pt[0]->addr; in r535_mmu_promote_vmm() 72 ctrl->levels[0].size = 0x20; in r535_mmu_promote_vmm() 73 ctrl->levels[0].aperture = 1; in r535_mmu_promote_vmm() 74 ctrl->levels[0].pageShift = 0x2f; in r535_mmu_promote_vmm() 75 ctrl->levels[1].physAddress = vmm->pd->pde[0]->pt[0]->addr; in r535_mmu_promote_vmm() 76 ctrl->levels[1].size = 0x1000; in r535_mmu_promote_vmm() 77 ctrl->levels[1].aperture = 1; in r535_mmu_promote_vmm() 78 ctrl->levels[1].pageShift = 0x26; in r535_mmu_promote_vmm() 81 ctrl->levels[2].size = 0x1000; in r535_mmu_promote_vmm() 82 ctrl->levels[2].aperture = 1; in r535_mmu_promote_vmm() [all …]
|
| /linux/drivers/video/backlight/ |
| A D | pwm_bl.c | 25 unsigned int *levels; member 80 if (pb->levels) in compute_duty_cycle() 199 if (!data->levels) in pwm_backlight_brightness_default() 257 if (!data->levels) in pwm_backlight_parse_dt() 261 data->levels, in pwm_backlight_parse_dt() 323 y1 = data->levels[i]; in pwm_backlight_parse_dt() 324 y2 = data->levels[i + 1]; in pwm_backlight_parse_dt() 341 data->levels = table; in pwm_backlight_parse_dt() 530 if (data->levels) { in pwm_backlight_probe() 531 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()
|
| A D | mp3309c.c | 63 unsigned int *levels; member 128 chip->pdata->levels[brightness], in mp3309c_bl_update_status() 129 chip->pdata->levels[chip->pdata->max_brightness]); in mp3309c_bl_update_status() 261 pdata->levels = devm_kcalloc(dev, num_levels, sizeof(*pdata->levels), GFP_KERNEL); in mp3309c_parse_fwnode() 262 if (!pdata->levels) in mp3309c_parse_fwnode() 266 pdata->levels, num_levels); in mp3309c_parse_fwnode() 271 pdata->levels[i] = i; in mp3309c_parse_fwnode()
|
| /linux/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/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/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/drivers/acpi/ |
| A D | acpi_video.c | 316 *levels = NULL; in acpi_video_device_lcd_query_levels() 328 *levels = obj; in acpi_video_device_lcd_query_levels() 819 sizeof(*br->levels), in acpi_video_get_levels() 821 if (!br->levels) { in acpi_video_get_levels() 838 br->levels[count] = value; in acpi_video_get_levels() 852 if (br->levels[i] == br->levels[ACPI_VIDEO_AC_LEVEL]) in acpi_video_get_levels() 854 if (br->levels[i] == br->levels[ACPI_VIDEO_BATTERY_LEVEL]) in acpi_video_get_levels() 863 br->levels[i] = br->levels[i - level_ac_battery]; in acpi_video_get_levels() 962 kfree(br->levels); in acpi_video_init_brightness() 1779 union acpi_object *levels; in acpi_video_run_bcl_for_osi() local [all …]
|
| /linux/Documentation/devicetree/bindings/leds/backlight/ |
| A D | pwm-backlight.yaml | 47 Number of interpolated steps between each value of brightness-levels 53 default-brightness-level: [brightness-levels] 54 num-interpolated-steps: [brightness-levels] 68 brightness-levels = <0 4 8 16 32 64 128 255>; 83 brightness-levels = <0 2048 4096 8192 16384 65535>;
|
| A D | common.yaml | 36 brightness-levels: 38 Array of distinct brightness levels. The levels must be in the range 50 "brightness-levels" property).
|
| /linux/arch/arm/boot/dts/nuvoton/ |
| 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/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/Documentation/devicetree/bindings/power/supply/ |
| A D | richtek,rt5033-charger.yaml | 27 Current of pre-charge mode. The pre-charge current levels are 350 mA 31 Current of fast-charge mode. The fast-charge current levels are 700 mA 42 current. Its levels are 2.3 V to 3.8 V programmed by I2C per 0.1 V. 45 Battery regulation voltage of constant voltage mode. This voltage levels
|
| /linux/arch/arm64/mm/ |
| A D | trans_pgd.c | 241 unsigned long level_mask, prev_level_entry, *levels[4]; in trans_pgd_idmap_page() local 248 levels[this_level] = trans_alloc(info); in trans_pgd_idmap_page() 249 if (!levels[this_level]) in trans_pgd_idmap_page() 257 *(levels[this_level] + index) = prev_level_entry; in trans_pgd_idmap_page() 259 pfn = virt_to_pfn(levels[this_level]); in trans_pgd_idmap_page()
|
| /linux/arch/riscv/kernel/ |
| A D | cacheinfo.c | 84 int levels = 1, level = 1; in populate_cache_leaves() local 126 if (level <= levels) in populate_cache_leaves() 134 levels = level; in populate_cache_leaves()
|
| /linux/Documentation/arch/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) 27 AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit):: 44 AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support)::
|
| /linux/Documentation/userspace-api/media/v4l/ |
| A D | pixfmt-srggb8-pisp-comp.rst | 42 In quantization mode 0, the lowest 321 quantization levels are multiples of 43 FSD/4096 and the remaining levels are successive multiples of FSD/2048. 64 levels, where the lowest 95 levels are multiples of FSD/256 and the 65 remaining levels are multiples of FSD/128 (level 175 represents values
|
| /linux/tools/power/x86/intel-speed-select/ |
| A D | isst-core.c | 204 if (level > pkg_dev.levels) { in isst_get_pbf_info() 244 if (level > pkg_dev.levels) { in isst_get_fact_info() 351 for (i = 0; i < pkg_dev->levels; ++i) { in isst_get_process_ctdp_complete() 381 pkg_dev->levels); in isst_get_process_ctdp() 383 if (tdp_level != 0xff && tdp_level > pkg_dev->levels) { in isst_get_process_ctdp() 391 for (i = 0; i <= pkg_dev->levels; ++i) { in isst_get_process_ctdp()
|
| /linux/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:
|