Home
last modified time | relevance | path

Searched refs:cur_value (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dcyan_skillfish_ppt.c285 uint32_t cur_value = 0; in cyan_skillfish_print_clk_levels() local
292 ret = cyan_skillfish_get_smu_metrics_data(smu, METRICS_CURR_GFXCLK, &cur_value); in cyan_skillfish_print_clk_levels()
296 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
299 ret = cyan_skillfish_get_smu_metrics_data(smu, METRICS_VOLTAGE_VDDGFX, &cur_value); in cyan_skillfish_print_clk_levels()
303 size += sysfs_emit_at(buf, size, "0: %umV *\n", cur_value); in cyan_skillfish_print_clk_levels()
317 ret = cyan_skillfish_get_current_clk_freq(smu, clk_type, &cur_value); in cyan_skillfish_print_clk_levels()
320 size += sysfs_emit_at(buf, size, "0: %uMhz *\n", cur_value); in cyan_skillfish_print_clk_levels()
324 ret = cyan_skillfish_get_current_clk_freq(smu, clk_type, &cur_value); in cyan_skillfish_print_clk_levels()
327 if (cur_value == CYAN_SKILLFISH_SCLK_MAX) in cyan_skillfish_print_clk_levels()
329 else if (cur_value == CYAN_SKILLFISH_SCLK_MIN) in cyan_skillfish_print_clk_levels()
[all …]
Dvangogh_ppt.c584 uint32_t cur_value = 0, value = 0, count = 0; in vangogh_print_legacy_clk_levels() local
626 cur_value = metrics.SocclkFrequency; in vangogh_print_legacy_clk_levels()
630 cur_value = metrics.VclkFrequency; in vangogh_print_legacy_clk_levels()
634 cur_value = metrics.DclkFrequency; in vangogh_print_legacy_clk_levels()
638 cur_value = metrics.MemclkFrequency; in vangogh_print_legacy_clk_levels()
642 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetFclkFrequency, 0, &cur_value); in vangogh_print_legacy_clk_levels()
663 cur_value == value ? "*" : ""); in vangogh_print_legacy_clk_levels()
664 if (cur_value == value) in vangogh_print_legacy_clk_levels()
669 size += sysfs_emit_at(buf, size, " %uMhz *\n", cur_value); in vangogh_print_legacy_clk_levels()
685 uint32_t cur_value = 0, value = 0, count = 0; in vangogh_print_clk_levels() local
[all …]
Dnavi10_ppt.c1255 uint32_t cur_value = 0, value = 0; in navi10_emit_clk_levels() local
1278 ret = navi10_get_current_clk_freq_by_table(smu, clk_type, &cur_value); in navi10_emit_clk_levels()
1296 cur_value == value ? "*" : ""); in navi10_emit_clk_levels()
1310 freq_values[1] = cur_value; in navi10_emit_clk_levels()
1311 mark_index = cur_value == freq_values[0] ? 0 : in navi10_emit_clk_levels()
1312 cur_value == freq_values[2] ? 2 : 1; in navi10_emit_clk_levels()
1462 uint32_t cur_value = 0, value = 0, count = 0; in navi10_print_clk_levels() local
1487 ret = navi10_get_current_clk_freq_by_table(smu, clk_type, &cur_value); in navi10_print_clk_levels()
1502 cur_value == value ? "*" : ""); in navi10_print_clk_levels()
1512 freq_values[1] = cur_value; in navi10_print_clk_levels()
[all …]
Dsienna_cichlid_ppt.c1263 uint32_t cur_value = 0, value = 0, count = 0; in sienna_cichlid_print_clk_levels() local
1284 ret = sienna_cichlid_get_current_clk_freq_by_table(smu, clk_type, &cur_value); in sienna_cichlid_print_clk_levels()
1299 cur_value == value ? "*" : ""); in sienna_cichlid_print_clk_levels()
1309 freq_values[1] = cur_value; in sienna_cichlid_print_clk_levels()
1310 mark_index = cur_value == freq_values[0] ? 0 : in sienna_cichlid_print_clk_levels()
1311 cur_value == freq_values[2] ? 2 : 1; in sienna_cichlid_print_clk_levels()
1321 cur_value == freq_values[i] ? "*" : ""); in sienna_cichlid_print_clk_levels()
/linux-6.1.9/drivers/power/supply/
Ds3c_adc_battery.c31 int cur_value; member
153 if (bat->volt_value < 0 || bat->cur_value < 0 || in s3c_adc_bat_get_property()
159 bat->cur_value = gather_samples(bat->client, in s3c_adc_bat_get_property()
174 (bat->cur_value / 1000), bat->pdata->internal_impedance); in s3c_adc_bat_get_property()
222 val->intval = bat->cur_value; in s3c_adc_bat_get_property()
314 main_bat.cur_value = -1; in s3c_adc_bat_probe()
/linux-6.1.9/sound/xen/
Dxen_snd_front_cfg.c155 unsigned int cur_value; in cfg_hw_rates() local
170 cur_value = CFG_HW_SUPPORTED_RATES[i].value; in cfg_hw_rates()
172 if (rate_min > cur_value) in cfg_hw_rates()
173 rate_min = cur_value; in cfg_hw_rates()
174 if (rate_max < cur_value) in cfg_hw_rates()
175 rate_max = cur_value; in cfg_hw_rates()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c498 uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0; in renoir_print_clk_levels() local
539 cur_value = metrics.ClockFrequency[CLOCK_GFXCLK]; in renoir_print_clk_levels()
543 if (cur_value == max) in renoir_print_clk_levels()
545 else if (cur_value == min) in renoir_print_clk_levels()
553 i == 1 ? cur_value : RENOIR_UMD_PSTATE_GFXCLK, in renoir_print_clk_levels()
561 cur_value = metrics.ClockFrequency[CLOCK_SOCCLK]; in renoir_print_clk_levels()
565 cur_value = metrics.ClockFrequency[CLOCK_FCLK]; in renoir_print_clk_levels()
569 cur_value = metrics.ClockFrequency[CLOCK_DCFCLK]; in renoir_print_clk_levels()
573 cur_value = metrics.ClockFrequency[CLOCK_FCLK]; in renoir_print_clk_levels()
577 cur_value = metrics.ClockFrequency[CLOCK_VCLK]; in renoir_print_clk_levels()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c114 uint32_t cur_value; in phm_wait_on_register() local
122 cur_value = cgs_read_register(hwmgr->device, index); in phm_wait_on_register()
123 if ((cur_value & mask) == (value & mask)) in phm_wait_on_register()
160 uint32_t cur_value; in phm_wait_for_register_unequal() local
166 cur_value = cgs_read_register(hwmgr->device, in phm_wait_for_register_unequal()
168 if ((cur_value & mask) != (value & mask)) in phm_wait_for_register_unequal()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_4_ppt.c482 uint32_t cur_value = 0, value = 0, count = 0; in smu_v13_0_4_print_clk_levels() local
506 ret = smu_v13_0_4_get_current_clk_freq(smu, clk_type, &cur_value); in smu_v13_0_4_print_clk_levels()
520 cur_value == value ? "*" : ""); in smu_v13_0_4_print_clk_levels()
525 ret = smu_v13_0_4_get_current_clk_freq(smu, clk_type, &cur_value); in smu_v13_0_4_print_clk_levels()
530 if (cur_value == max) in smu_v13_0_4_print_clk_levels()
532 else if (cur_value == min) in smu_v13_0_4_print_clk_levels()
539 i == 1 ? cur_value : 1100, /* UMD PSTATE GFXCLK 1100 */ in smu_v13_0_4_print_clk_levels()
Dsmu_v13_0_5_ppt.c870 uint32_t cur_value = 0, value = 0, count = 0; in smu_v13_0_5_print_clk_levels() local
892 ret = smu_v13_0_5_get_current_clk_freq(smu, clk_type, &cur_value); in smu_v13_0_5_print_clk_levels()
906 cur_value == value ? "*" : ""); in smu_v13_0_5_print_clk_levels()
911 ret = smu_v13_0_5_get_current_clk_freq(smu, clk_type, &cur_value); in smu_v13_0_5_print_clk_levels()
916 if (cur_value == max) in smu_v13_0_5_print_clk_levels()
918 else if (cur_value == min) in smu_v13_0_5_print_clk_levels()
925 i == 1 ? cur_value : SMU_13_0_5_UMD_PSTATE_GFXCLK, in smu_v13_0_5_print_clk_levels()
Dyellow_carp_ppt.c1004 uint32_t cur_value = 0, value = 0, count = 0; in yellow_carp_print_clk_levels() local
1027 ret = yellow_carp_get_current_clk_freq(smu, clk_type, &cur_value); in yellow_carp_print_clk_levels()
1041 cur_value == value ? "*" : ""); in yellow_carp_print_clk_levels()
1046 ret = yellow_carp_get_current_clk_freq(smu, clk_type, &cur_value); in yellow_carp_print_clk_levels()
1051 if (cur_value == max) in yellow_carp_print_clk_levels()
1053 else if (cur_value == min) in yellow_carp_print_clk_levels()
1060 i == 1 ? cur_value : YELLOW_CARP_UMD_PSTATE_GFXCLK, in yellow_carp_print_clk_levels()
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_header.c300 u8 cur_value; in bist_write() local
303 err = pci_read_config_byte(dev, offset, &cur_value); in bist_write()
307 if ((cur_value & ~PCI_BIST_START) == (value & ~PCI_BIST_START) in bist_write()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_hal.c1227 unsigned int cur_value; in qat_hal_concat_micro_code() local
1234 cur_value = value[0]; in qat_hal_concat_micro_code()
1244 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0)); in qat_hal_concat_micro_code()
1246 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0x10)); in qat_hal_concat_micro_code()
/linux-6.1.9/drivers/input/touchscreen/
Dwdt87xx_i2c.c608 static u16 misr(u16 cur_value, u8 new_value) in misr() argument
614 a = cur_value; in misr()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2364 u32 offset, mask, value, cur_value; in qed_nvm_flash_image_access() local
2382 cur_value = le32_to_cpu(*((__le32 *)buf)); in qed_nvm_flash_image_access()
2385 nvm_image.start_addr + offset, cur_value, in qed_nvm_flash_image_access()
2386 (cur_value & ~mask) | (value & mask), value, mask); in qed_nvm_flash_image_access()
2387 value = (value & mask) | (cur_value & ~mask); in qed_nvm_flash_image_access()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_defs_svc.h930 u16 cur_value; member
Dbfa_fcpim.c3889 throttle.cur_value = (u16)(fcpim->fcp->num_ioim_reqs); in bfa_fcpim_throttle_get()
3892 throttle.cfg_value = throttle.cur_value; in bfa_fcpim_throttle_get()