/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa.c | 524 * @freqs: Pointer to array of real frequency values. 537 unsigned long *freqs, in opp_translate_freq_voltage() 544 freqs[KBASE_IPA_BLOCK_TYPE_TOP_LEVEL] = nominal_freq; in opp_translate_freq_voltage() 547 freqs[KBASE_IPA_BLOCK_TYPE_SHADER_CORES] = nominal_freq; in opp_translate_freq_voltage() 554 freqs, volts); in opp_translate_freq_voltage() 562 freqs[KBASE_IPA_BLOCK_TYPE_SHADER_CORES] = in opp_translate_freq_voltage() 563 freqs[KBASE_IPA_BLOCK_TYPE_TOP_LEVEL]; in opp_translate_freq_voltage() 582 unsigned long freqs[KBASE_IPA_BLOCK_TYPE_NUM] = {0}; in kbase_get_dynamic_power() local 604 opp_translate_freq_voltage(kbdev, freq, voltage, freqs, volts); in kbase_get_dynamic_power() 608 freqs[KBASE_IPA_BLOCK_TYPE_TOP_LEVE in kbase_get_dynamic_power() 534 opp_translate_freq_voltage(struct kbase_device *kbdev, unsigned long nominal_freq, unsigned long nominal_voltage, unsigned long *freqs, unsigned long *volts) opp_translate_freq_voltage() argument 641 unsigned long freqs[KBASE_IPA_BLOCK_TYPE_NUM] = {0}; kbase_get_real_power_locked() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_devfreq.c | 68 * @freqs: Pointer to array of frequencies 76 unsigned long *freqs, unsigned long *volts) in opp_translate() 86 freqs[j] = kbdev->devfreq_table[i].real_freqs[j]; in opp_translate() 100 freqs[i] = freq; in opp_translate() 111 unsigned long freqs[BASE_MAX_NR_CLOCKS_REGULATORS] = {0}; in kbase_devfreq_target() local 138 opp_translate(kbdev, nominal_freq, nominal_volt, &core_mask, freqs, volts); in kbase_devfreq_target() 186 if (kbdev->regulators[i] && kbdev->current_voltages[i] != volts[i] && old_freqs[i] < freqs[i]) { in kbase_devfreq_target() 204 err = clk_set_rate(kbdev->clocks[i], freqs[i]); in kbase_devfreq_target() 206 kbdev->current_freqs[i] = freqs[i]; in kbase_devfreq_target() 208 dev_err(dev, "Failed to set clock %lu (target %lu)\n", freqs[ in kbase_devfreq_target() 75 opp_translate(struct kbase_device *kbdev, unsigned long freq, unsigned long volt, u64 *core_mask, unsigned long *freqs, unsigned long *volts) opp_translate() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/devfreq/ |
H A D | rockchip_bus.c | 333 struct cpufreq_freqs *freqs = data; in rockchip_bus_cpufreq_notifier() local 334 int id = topology_physical_package_id(freqs->policy->cpu); in rockchip_bus_cpufreq_notifier() 339 bus->cpu_freq[id] = freqs->new; in rockchip_bus_cpufreq_notifier() 349 dev_dbg(bus->dev, "cpu%d freq=%d %d, up cci rate to %lu\n", freqs->policy->cpu, bus->cpu_freq[CLUSTER0], in rockchip_bus_cpufreq_notifier() 357 dev_dbg(bus->dev, "cpu%d freq=%d %d, down cci rate to %lu\n", freqs->policy->cpu, in rockchip_bus_cpufreq_notifier()
|
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/ |
H A D | rockchip_bus.c | 350 struct cpufreq_freqs *freqs = data; in rockchip_bus_cpufreq_notifier() local 351 int id = topology_physical_package_id(freqs->policy->cpu); in rockchip_bus_cpufreq_notifier() 356 bus->cpu_freq[id] = freqs->new; in rockchip_bus_cpufreq_notifier() 367 freqs->policy->cpu, in rockchip_bus_cpufreq_notifier() 380 freqs->policy->cpu, in rockchip_bus_cpufreq_notifier()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_devfreq.h | 54 * @freqs: Pointer to array of frequencies 63 u64 *core_mask, unsigned long *freqs, unsigned long *volts);
|
H A D | mali_kbase_devfreq.c | 95 u64 *core_mask, unsigned long *freqs, unsigned long *volts) in kbase_devfreq_opp_translate() 105 freqs[j] = in kbase_devfreq_opp_translate() 124 freqs[i] = freq; in kbase_devfreq_opp_translate() 94 kbase_devfreq_opp_translate(struct kbase_device *kbdev, unsigned long freq, u64 *core_mask, unsigned long *freqs, unsigned long *volts) kbase_devfreq_opp_translate() argument
|
/device/soc/rockchip/common/sdk_linux/drivers/devfreq/ |
H A D | devfreq.c | 328 static int devfreq_notify_transition(struct devfreq *devfreq, struct devfreq_freqs *freqs, unsigned int state) in devfreq_notify_transition() argument 336 srcu_notifier_call_chain(&devfreq->transition_notifier_list, DEVFREQ_PRECHANGE, freqs); in devfreq_notify_transition() 340 srcu_notifier_call_chain(&devfreq->transition_notifier_list, DEVFREQ_POSTCHANGE, freqs); in devfreq_notify_transition() 351 struct devfreq_freqs freqs; in devfreq_set_target() local 361 freqs.old = cur_freq; in devfreq_set_target() 362 freqs.new = new_freq; in devfreq_set_target() 363 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_PRECHANGE); in devfreq_set_target() 367 freqs.new = cur_freq; in devfreq_set_target() 368 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE); in devfreq_set_target() 372 freqs in devfreq_set_target() [all...] |
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/ |
H A D | hdf_bdh_mac80211.c | 341 static void GetBdh24GFreq(const struct ieee80211_regdomain *regdom, int32_t *freqs, uint32_t *num) in GetBdh24GFreq() argument 362 freqs[freqIndex] = freqTmp; in GetBdh24GFreq() 368 int32_t Bdh6Fband(NetDevice *hnetDev, int32_t band, int32_t *freqs, uint32_t *num) in Bdh6Fband() argument 389 GetBdh24GFreq(regdom, freqs, num); in Bdh6Fband() 399 freqs[freqIndex] = band5g->channels[freqIndex].center_freq; in Bdh6Fband() 400 HDF_LOGI("bdh6 5G %u: freq=%u\n", freqIndex, freqs[freqIndex]); in Bdh6Fband() 756 if ((params->freqs == NULL) || (params->freqsCount == 0)) { in WifiScanSetChannel() 760 chan = GetChannelByFreq(wiphy, (uint16_t)(params->freqs[loop])); in WifiScanSetChannel() 762 HDF_LOGE("%s: freq not found!freq=%d!\n", __func__, params->freqs[loop]); in WifiScanSetChannel()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | hdf_public_ap6275s.h | 123 extern int32_t Bdh6Fband(NetDevice *hnetDev, int32_t band, int32_t *freqs, uint32_t *num);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_mac80211.c | 144 if ((params->freqs == NULL) || (params->freqsCount == 0)) {
in WifiScanSetChannel() 159 chan = GetChannelByFreq(wiphy, (uint16_t)(params->freqs[loop]));
in WifiScanSetChannel() 161 oam_error_log(0, OAM_SF_ANY, "%s:freq not found!freq=%d", __func__, params->freqs[loop]);
in WifiScanSetChannel() 620 int32_t WalGetValidFreqsWithBand(NetDevice *netDev, int32_t band, int32_t *freqs, uint32_t *num)
in WalGetValidFreqsWithBand() argument 648 freqs[freqIndex] = freqTmp;
in WalGetValidFreqsWithBand()
|
H A D | hi_wifi_driver_wpa_if.h | 491 hi_s32 *freqs; member
|
/device/soc/rockchip/rk2206/adapter/hals/communication/wifi_lite/wifiservice/source/ |
H A D | wifi_device.c | 145 if (params->freqs == 0) { in AdvanceScan()
|
/device/qemu/drivers/virtio/ |
H A D | virtnet.c | 592 static int32_t FakeWalGetValidFreqsWithBand(NetDevice *netDev, int32_t band, int32_t *freqs, uint32_t *num) in FakeWalGetValidFreqsWithBand() argument 601 *freqs = FAKE_MAGIC_FREQ; /* MHz, channel 1 */ in FakeWalGetValidFreqsWithBand()
|
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiservice/source/ |
H A D | wifi_device.c | 561 sp.channel = FrequencyToChannel(params->freqs); in AdvanceScan()
|