/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv730_dpm.c | 246 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 247 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ? in rv730_populate_smc_acpi_state() 249 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state() 253 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 254 table->ACPIState.levels[0].gen2PCIE = 0; in rv730_populate_smc_acpi_state() 296 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_smc_acpi_state() 297 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); in rv730_populate_smc_acpi_state() 298 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3); in rv730_populate_smc_acpi_state() 299 table->ACPIState.levels[0].mclk.mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv730_populate_smc_acpi_state() 300 table->ACPIState.levels[ in rv730_populate_smc_acpi_state() [all...] |
H A D | rv740_dpm.c | 338 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 339 table->ACPIState.levels[0].gen2PCIE = in rv740_populate_smc_acpi_state() 342 table->ACPIState.levels[0].gen2XSP = in rv740_populate_smc_acpi_state() 346 &table->ACPIState.levels[0].vddc); in rv740_populate_smc_acpi_state() 347 table->ACPIState.levels[0].gen2PCIE = 0; in rv740_populate_smc_acpi_state() 377 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_smc_acpi_state() 378 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() 379 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_smc_acpi_state() 380 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() 381 table->ACPIState.levels[ in rv740_populate_smc_acpi_state() [all...] |
H A D | cypress_dpm.c | 780 &smc_state->levels[0], in cypress_convert_power_state_to_smc() 787 &smc_state->levels[1], in cypress_convert_power_state_to_smc() 794 &smc_state->levels[2], in cypress_convert_power_state_to_smc() 799 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in cypress_convert_power_state_to_smc() 800 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in cypress_convert_power_state_to_smc() 801 smc_state->levels[2].arbValue = MC_CG_ARB_FREQ_F3; in cypress_convert_power_state_to_smc() 804 smc_state->levels[0].ACIndex = 2; in cypress_convert_power_state_to_smc() 805 smc_state->levels[1].ACIndex = 3; in cypress_convert_power_state_to_smc() 806 smc_state->levels[2].ACIndex = 4; in cypress_convert_power_state_to_smc() 808 smc_state->levels[ in cypress_convert_power_state_to_smc() [all...] |
H A 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_inde in sumo_patch_thermal_state() [all...] |
H A D | rv770_dpm.c | 289 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t() 295 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].aT = in rv770_populate_smc_t() 309 smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); in rv770_populate_smc_sp() 311 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].bSP = in rv770_populate_smc_sp() 685 &smc_state->levels[0], in rv770_convert_power_state_to_smc() 692 &smc_state->levels[1], in rv770_convert_power_state_to_smc() 699 &smc_state->levels[2], in rv770_convert_power_state_to_smc() 704 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in rv770_convert_power_state_to_smc() 705 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in rv770_convert_power_state_to_smc() 706 smc_state->levels[ in rv770_convert_power_state_to_smc() [all...] |
H A D | ni_dpm.c | 1691 table->initialState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = in ni_populate_smc_initial_state() 1693 table->initialState.levels[0].mclk.vMPLL_AD_FUNC_CNTL_2 = in ni_populate_smc_initial_state() 1695 table->initialState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = in ni_populate_smc_initial_state() 1697 table->initialState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL_2 = in ni_populate_smc_initial_state() 1699 table->initialState.levels[0].mclk.vMCLK_PWRMGT_CNTL = in ni_populate_smc_initial_state() 1701 table->initialState.levels[0].mclk.vDLL_CNTL = in ni_populate_smc_initial_state() 1703 table->initialState.levels[0].mclk.vMPLL_SS = in ni_populate_smc_initial_state() 1705 table->initialState.levels[0].mclk.vMPLL_SS2 = in ni_populate_smc_initial_state() 1707 table->initialState.levels[0].mclk.mclk_value = in ni_populate_smc_initial_state() 1710 table->initialState.levels[ in ni_populate_smc_initial_state() [all...] |
H A D | trinity_dpm.c | 849 trinity_program_power_level(rdev, &new_ps->levels[i], i); in trinity_program_power_levels_0_to_n() 969 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in trinity_set_uvd_clock_before_set_eng_clock() 970 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_before_set_eng_clock() 983 if (new_ps->levels[new_ps->num_levels - 1].sclk < in trinity_set_uvd_clock_after_set_eng_clock() 984 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_after_set_eng_clock() 1331 ps->levels[0] = pi->boot_pl; in trinity_patch_boot_state() 1354 pi->current_ps.levels[0] = pi->boot_pl; in trinity_construct_boot_state() 1409 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state() 1410 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state() 1416 ps->levels[ in trinity_patch_thermal_state() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A 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[ in rv730_populate_smc_acpi_state() [all...] |
H 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() 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[ in rv740_populate_smc_acpi_state() [all...] |
H 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() 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[ in cypress_convert_power_state_to_smc() [all...] |
H A 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_inde in sumo_patch_thermal_state() [all...] |
H A 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[ in rv770_convert_power_state_to_smc() [all...] |
H A 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[ in trinity_patch_thermal_state() [all...] |
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | pwm_bl.c | 26 unsigned int *levels; member 97 if (pb->levels) in compute_duty_cycle() 98 duty_cycle = pb->levels[brightness]; in compute_duty_cycle() 201 * Once we have 4096 levels there's little point going much higher... in pwm_backlight_brightness_default() 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() 256 * Determine the number of brightness levels, if this property is not in pwm_backlight_parse_dt() 257 * set a default table of brightness levels wil in pwm_backlight_parse_dt() [all...] |
H 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() 134 num_levels = of_property_count_u32_elems(node, "brightness-levels"); in led_bl_parse_levels() 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() 145 ret = of_property_read_u32_array(node, "brightness-levels", in led_bl_parse_levels() 146 levels, in led_bl_parse_levels() 157 if ((i && db > levels[ in led_bl_parse_levels() [all...] |
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A 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() 201 * Once we have 4096 levels there's little point going much higher... in pwm_backlight_brightness_default() 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() 255 * Determine the number of brightness levels, if this property is not in pwm_backlight_parse_dt() 256 * set a default table of brightness levels wil in pwm_backlight_parse_dt() [all...] |
H 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() 134 num_levels = of_property_count_u32_elems(node, "brightness-levels"); in led_bl_parse_levels() 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() 145 ret = of_property_read_u32_array(node, "brightness-levels", in led_bl_parse_levels() 146 levels, in led_bl_parse_levels() 157 if ((i && db > levels[ in led_bl_parse_levels() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 81 unsigned long size, unsigned int levels); 218 unsigned long size, unsigned int levels) in pnv_pci_ioda2_table_do_free_pages() 223 if (levels) { in pnv_pci_ioda2_table_do_free_pages() 234 levels - 1); in pnv_pci_ioda2_table_do_free_pages() 258 unsigned int levels, unsigned long limit, in pnv_pci_ioda2_table_do_alloc_pages() 269 --levels; in pnv_pci_ioda2_table_do_alloc_pages() 270 if (!levels) { in pnv_pci_ioda2_table_do_alloc_pages() 277 levels, limit, current_offset, total_allocated); in pnv_pci_ioda2_table_do_alloc_pages() 292 __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_table_alloc_pages() 304 if (!levels || (level in pnv_pci_ioda2_table_alloc_pages() 217 pnv_pci_ioda2_table_do_free_pages(__be64 *addr, unsigned long size, unsigned int levels) pnv_pci_ioda2_table_do_free_pages() argument 257 pnv_pci_ioda2_table_do_alloc_pages(int nid, unsigned int shift, unsigned int levels, unsigned long limit, unsigned long *current_offset, unsigned long *total_allocated) pnv_pci_ioda2_table_do_alloc_pages() argument 291 pnv_pci_ioda2_table_alloc_pages(int nid, __u64 bus_offset, __u32 page_shift, __u64 window_size, __u32 levels, bool alloc_userspace_copy, struct iommu_table *tbl) pnv_pci_ioda2_table_alloc_pages() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H 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() 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() 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() 303 if (!levels || (level in pnv_pci_ioda2_table_alloc_pages() 216 pnv_pci_ioda2_table_do_free_pages(__be64 *addr, unsigned long size, unsigned int levels) pnv_pci_ioda2_table_do_free_pages() argument 256 pnv_pci_ioda2_table_do_alloc_pages(int nid, unsigned int shift, unsigned int levels, unsigned long limit, unsigned long *current_offset, unsigned long *total_allocated) pnv_pci_ioda2_table_do_alloc_pages() argument 290 pnv_pci_ioda2_table_alloc_pages(int nid, __u64 bus_offset, __u32 page_shift, __u64 window_size, __u32 levels, bool alloc_userspace_copy, struct iommu_table *tbl) pnv_pci_ioda2_table_alloc_pages() argument [all...] |
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | cacheinfo.c | 121 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()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H 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()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H 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() 48 this_cpu_ci->num_levels = levels; in init_cache_level()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_video.c | 90 * the rest are all supported levels. 97 ACPI_VIDEO_FIRST_LEVEL, /* actual supported levels begin here */ 193 u8 _BCL:1; /* Query list of brightness control levels supported */ 238 if (vd->brightness->levels[i] == cur_level) in acpi_video_get_brightness() 251 vd->brightness->levels[request_level]); in acpi_video_set_brightness() 282 if (level == video->brightness->levels[offset]) { in video_get_cur_state() 301 level = video->brightness->levels[state - 1]; in video_set_cur_state() 319 union acpi_object **levels) in acpi_video_device_lcd_query_levels() 326 *levels = NULL; in acpi_video_device_lcd_query_levels() 338 *levels in acpi_video_device_lcd_query_levels() 318 acpi_video_device_lcd_query_levels(acpi_handle handle, union acpi_object **levels) acpi_video_device_lcd_query_levels() argument 1859 union acpi_object *levels; acpi_video_run_bcl_for_osi() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_video.c | 84 * the rest are all supported levels. 91 ACPI_VIDEO_FIRST_LEVEL, /* actual supported levels begin here */ 186 u8 _BCL:1; /* Query list of brightness control levels supported */ 231 if (vd->brightness->levels[i] == cur_level) in acpi_video_get_brightness() 244 vd->brightness->levels[request_level]); in acpi_video_set_brightness() 273 if (level == video->brightness->levels[offset]) { in video_get_cur_state() 291 level = video->brightness->levels[state - 1]; in video_set_cur_state() 309 union acpi_object **levels) in acpi_video_device_lcd_query_levels() 316 *levels = NULL; in acpi_video_device_lcd_query_levels() 328 *levels in acpi_video_device_lcd_query_levels() 308 acpi_video_device_lcd_query_levels(acpi_handle handle, union acpi_object **levels) acpi_video_device_lcd_query_levels() argument 1785 union acpi_object *levels; acpi_video_run_bcl_for_osi() local [all...] |
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A 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()
|