Home
last modified time | relevance | path

Searched refs:new_bw (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/net/mac80211/
Dvht.c366 enum ieee80211_sta_rx_bandwidth new_bw; in __ieee80211_vht_handle_opmode() local
403 new_bw = ieee80211_sta_cur_vht_bw(sta); in __ieee80211_vht_handle_opmode()
404 if (new_bw != sta->sta.bandwidth) { in __ieee80211_vht_handle_opmode()
405 sta->sta.bandwidth = new_bw; in __ieee80211_vht_handle_opmode()
Drx.c2666 enum ieee80211_sta_rx_bandwidth max_bw, new_bw; in ieee80211_rx_h_action() local
2680 new_bw = ieee80211_sta_cur_vht_bw(rx->sta); in ieee80211_rx_h_action()
2682 if (rx->sta->sta.bandwidth == new_bw) in ieee80211_rx_h_action()
2685 rx->sta->sta.bandwidth = new_bw; in ieee80211_rx_h_action()
/linux-4.1.27/drivers/edac/
Dedac_mc_sysfs.c667 int new_bw = 0; in mci_sdram_scrub_rate_store() local
672 new_bw = mci->set_sdram_scrub_rate(mci, bandwidth); in mci_sdram_scrub_rate_store()
673 if (new_bw < 0) { in mci_sdram_scrub_rate_store()
Di7core_edac.c2020 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument
2034 if (new_bw == 0) { in set_sdram_scrub_rate()
2055 do_div(scrub_interval, new_bw); in set_sdram_scrub_rate()
2074 return new_bw; in set_sdram_scrub_rate()
De752x_edac.c990 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument
1007 if (scrubrates[i].bandwidth >= new_bw) in set_sdram_scrub_rate()
Damd64_edac.c176 static int __set_scrub_rate(struct pci_dev *ctl, u32 new_bw, u32 min_rate) in __set_scrub_rate() argument
198 if (scrubrates[i].bandwidth <= new_bw) in __set_scrub_rate()
/linux-4.1.27/kernel/sched/
Dcore.c2037 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in dl_overflow() local
2040 if (new_bw == p->dl.dl_bw) in dl_overflow()
2051 !__dl_overflow(dl_b, cpus, 0, new_bw)) { in dl_overflow()
2052 __dl_add(dl_b, new_bw); in dl_overflow()
2055 !__dl_overflow(dl_b, cpus, p->dl.dl_bw, new_bw)) { in dl_overflow()
2057 __dl_add(dl_b, new_bw); in dl_overflow()
7819 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() local
7838 if (new_bw < dl_b->total_bw) in sched_dl_global_validate()
7853 u64 new_bw = -1; in sched_dl_do_global() local
7862 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global()
[all …]
Dsched.h193 bool __dl_overflow(struct dl_bw *dl_b, int cpus, u64 old_bw, u64 new_bw) in __dl_overflow() argument
196 dl_b->bw * cpus < dl_b->total_bw - old_bw + new_bw; in __dl_overflow()