Home
last modified time | relevance | path

Searched refs:curr_freq (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dpcc-cpufreq.c143 unsigned int curr_freq; in pcc_get_freq() local
174 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq()
180 output_buffer, curr_freq); in pcc_get_freq()
185 " capped at %d\n", cpu, curr_freq); in pcc_get_freq()
189 return curr_freq; in pcc_get_freq()
/linux-6.1.9/drivers/devfreq/
Dexynos-bus.c34 unsigned long curr_freq; member
112 bus->curr_freq = *freq; in exynos_bus_target()
126 stat->current_frequency = bus->curr_freq; in exynos_bus_get_dev_status()
277 bus->curr_freq = dev_pm_opp_get_freq(opp); in exynos_bus_parse_of()
/linux-6.1.9/drivers/pci/hotplug/
Dcpqphp.h586 u8 curr_freq; in get_controller_speed() local
590 curr_freq = readb(ctrl->hpc_reg + NEXT_CURR_FREQ); in get_controller_speed()
591 if ((curr_freq & 0xB0) == 0xB0) in get_controller_speed()
593 if ((curr_freq & 0xA0) == 0xA0) in get_controller_speed()
595 if ((curr_freq & 0x90) == 0x90) in get_controller_speed()
597 if (curr_freq & 0x10) in get_controller_speed()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c964 int i, curr_freq, size = 0; in smu_v13_0_7_print_clk_levels() local
1008 ret = smu_v13_0_7_get_current_clk_freq_by_table(smu, clk_type, &curr_freq); in smu_v13_0_7_print_clk_levels()
1026 if ((single_dpm_table->dpm_levels[0].value != curr_freq) && in smu_v13_0_7_print_clk_levels()
1027 (single_dpm_table->dpm_levels[1].value != curr_freq)) { in smu_v13_0_7_print_clk_levels()
1031 curr_freq); in smu_v13_0_7_print_clk_levels()
1037 single_dpm_table->dpm_levels[0].value == curr_freq ? "*" : ""); in smu_v13_0_7_print_clk_levels()
1040 single_dpm_table->dpm_levels[1].value == curr_freq ? "*" : ""); in smu_v13_0_7_print_clk_levels()
1046 single_dpm_table->dpm_levels[i].value == curr_freq ? "*" : ""); in smu_v13_0_7_print_clk_levels()
Dsmu_v13_0_0_ppt.c1013 int i, curr_freq, size = 0; in smu_v13_0_0_print_clk_levels() local
1057 ret = smu_v13_0_0_get_current_clk_freq_by_table(smu, clk_type, &curr_freq); in smu_v13_0_0_print_clk_levels()
1075 if ((single_dpm_table->dpm_levels[0].value != curr_freq) && in smu_v13_0_0_print_clk_levels()
1076 (single_dpm_table->dpm_levels[1].value != curr_freq)) { in smu_v13_0_0_print_clk_levels()
1080 curr_freq); in smu_v13_0_0_print_clk_levels()
1086 single_dpm_table->dpm_levels[0].value == curr_freq ? "*" : ""); in smu_v13_0_0_print_clk_levels()
1089 single_dpm_table->dpm_levels[1].value == curr_freq ? "*" : ""); in smu_v13_0_0_print_clk_levels()
1095 single_dpm_table->dpm_levels[i].value == curr_freq ? "*" : ""); in smu_v13_0_0_print_clk_levels()
/linux-6.1.9/drivers/soundwire/
Dbus.c1228 u32 curr_freq = slave->bus->params.curr_dr_freq >> 1; in sdw_slave_set_frequency() local
1279 if (mclk_freq % curr_freq) { in sdw_slave_set_frequency()
1282 mclk_freq, curr_freq); in sdw_slave_set_frequency()
1286 scale = mclk_freq / curr_freq; in sdw_slave_set_frequency()
1297 scale, mclk_freq, curr_freq); in sdw_slave_set_frequency()
1323 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()
/linux-6.1.9/drivers/media/radio/wl128x/
Dfmdrv_common.c973 u32 curr_freq, jumped_freq; in fm_irq_afjump_rd_freq_resp() local
982 curr_freq = fmdev->rx.region.bot_freq + ((u32)read_freq * FM_FREQ_MUL); in fm_irq_afjump_rd_freq_resp()
987 if ((curr_freq != fmdev->rx.freq_before_jump) && (curr_freq == jumped_freq)) { in fm_irq_afjump_rd_freq_resp()
988 fmdbg("Successfully switched to alternate freq %d\n", curr_freq); in fm_irq_afjump_rd_freq_resp()
989 fmdev->rx.freq = curr_freq; in fm_irq_afjump_rd_freq_resp()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c253 rt2x00dev->curr_freq = conf->chandef.chan->center_freq; in rt2x00lib_config()
Drt2x00.h766 int curr_freq; member
Drt2x00dev.c849 rx_status->freq = rt2x00dev->curr_freq; in rt2x00lib_rxdone()
/linux-6.1.9/drivers/ufs/host/
Dufs-mediatek.c1473 clki->curr_freq = clki->max_freq; in ufs_mtk_clk_scale()
1476 clki->curr_freq = clki->min_freq; in ufs_mtk_clk_scale()
/linux-6.1.9/drivers/ufs/core/
Dufshcd.c440 clki->name, clki->curr_freq); in ufshcd_print_clk_freqs()
994 if (clki->curr_freq == clki->max_freq) in ufshcd_set_clk_freq()
1006 clki->curr_freq, in ufshcd_set_clk_freq()
1009 clki->curr_freq = clki->max_freq; in ufshcd_set_clk_freq()
1012 if (clki->curr_freq == clki->min_freq) in ufshcd_set_clk_freq()
1024 clki->curr_freq, in ufshcd_set_clk_freq()
1026 clki->curr_freq = clki->min_freq; in ufshcd_set_clk_freq()
1088 if (clki->curr_freq == clki->max_freq) in ufshcd_is_devfreq_scaling_required()
1092 if (clki->curr_freq == clki->min_freq) in ufshcd_is_devfreq_scaling_required()
1430 stat->current_frequency = clki->curr_freq; in ufshcd_devfreq_get_dev_status()
[all …]
/linux-6.1.9/include/ufs/
Dufshcd.h245 u32 curr_freq; member