Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/devfreq/
Dexynos-bus.c33 unsigned long curr_freq; member
111 bus->curr_freq = *freq; in exynos_bus_target()
125 stat->current_frequency = bus->curr_freq; in exynos_bus_get_dev_status()
278 bus->curr_freq = dev_pm_opp_get_freq(opp); in exynos_bus_parse_of()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c1153 u32 curr_freq = slave->bus->params.curr_dr_freq >> 1; in sdw_slave_set_frequency() local
1204 if (mclk_freq % curr_freq) { in sdw_slave_set_frequency()
1207 mclk_freq, curr_freq); in sdw_slave_set_frequency()
1211 scale = mclk_freq / curr_freq; in sdw_slave_set_frequency()
1222 scale, mclk_freq, curr_freq); in sdw_slave_set_frequency()
1248 base, scale_index, mclk_freq, curr_freq); in sdw_slave_set_frequency()
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
Dfmdrv_common.c972 u32 curr_freq, jumped_freq; in fm_irq_afjump_rd_freq_resp() local
981 curr_freq = fmdev->rx.region.bot_freq + ((u32)read_freq * FM_FREQ_MUL); in fm_irq_afjump_rd_freq_resp()
986 if ((curr_freq != fmdev->rx.freq_before_jump) && (curr_freq == jumped_freq)) { in fm_irq_afjump_rd_freq_resp()
987 fmdbg("Successfully switched to alternate freq %d\n", curr_freq); in fm_irq_afjump_rd_freq_resp()
988 fmdev->rx.freq = curr_freq; in fm_irq_afjump_rd_freq_resp()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c252 rt2x00dev->curr_freq = conf->chandef.chan->center_freq; in rt2x00lib_config()
Drt2x00.h756 int curr_freq; member
Drt2x00dev.c850 rx_status->freq = rt2x00dev->curr_freq; in rt2x00lib_rxdone()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd.c401 clki->name, clki->curr_freq); in ufshcd_print_clk_freqs()
930 if (clki->curr_freq == clki->max_freq) in ufshcd_set_clk_freq()
942 clki->curr_freq, in ufshcd_set_clk_freq()
945 clki->curr_freq = clki->max_freq; in ufshcd_set_clk_freq()
948 if (clki->curr_freq == clki->min_freq) in ufshcd_set_clk_freq()
960 clki->curr_freq, in ufshcd_set_clk_freq()
962 clki->curr_freq = clki->min_freq; in ufshcd_set_clk_freq()
1024 if (clki->curr_freq == clki->max_freq) in ufshcd_is_devfreq_scaling_required()
1028 if (clki->curr_freq == clki->min_freq) in ufshcd_is_devfreq_scaling_required()
1367 stat->current_frequency = clki->curr_freq; in ufshcd_devfreq_get_dev_status()
[all …]
Dufshcd.h242 u32 curr_freq; member