| /linux/drivers/soc/mediatek/ |
| H A D | mtk-dvfsrc.c | 273 u32 new_bw = (u32)div_u64(bw, 100 * 1000); in __dvfsrc_set_dram_bw_v1() local 277 new_bw = min(new_bw, max_bw); in __dvfsrc_set_dram_bw_v1() 278 if (min_bw && new_bw > 0) in __dvfsrc_set_dram_bw_v1() 279 new_bw = max(new_bw, min_bw); in __dvfsrc_set_dram_bw_v1() 281 dvfsrc_writel(dvfsrc, reg, new_bw); in __dvfsrc_set_dram_bw_v1()
|
| /linux/kernel/sched/ |
| H A D | deadline.c | 213 __dl_overflow(struct dl_bw *dl_b, unsigned long cap, u64 old_bw, u64 new_bw) in __dl_overflow() argument 216 cap_scale(dl_b->bw, cap) < dl_b->total_bw - old_bw + new_bw; in __dl_overflow() 297 static void dl_rq_change_utilization(struct rq *rq, struct sched_dl_entity *dl_se, u64 new_bw) in dl_rq_change_utilization() argument 316 __add_rq_bw(new_bw, &rq->dl); in dl_rq_change_utilization() 342 static void dl_change_utilization(struct task_struct *p, u64 new_bw) in dl_change_utilization() argument 349 dl_rq_change_utilization(task_rq(p), &p->dl, new_bw); in dl_change_utilization() 1641 u64 new_bw = dl_se->dl_bw; in __dl_server_attach_root() local 1651 __dl_add(dl_b, new_bw, dl_bw_cpus(cpu)); in __dl_server_attach_root() 1657 u64 new_bw = to_ratio(period, runtime); in dl_server_apply_params() local 1671 if (__dl_overflow(dl_b, cap, old_bw, new_bw)) in dl_server_apply_params() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp_tunnel.c | 77 int new_bw; in update_tunnel_state() local 99 new_bw = get_current_link_bw(intel_dp, &new_bw_below_dprx); in update_tunnel_state() 110 kbytes_to_mbits(old_bw), kbytes_to_mbits(new_bw)); in update_tunnel_state() 686 int new_bw; in atomic_decrease_bw() local 701 new_bw = drm_dp_tunnel_atomic_get_required_bw(new_tunnel_state); in atomic_decrease_bw() 703 if (new_bw >= old_bw) in atomic_decrease_bw() 706 drm_dp_tunnel_alloc_bw(tunnel, new_bw); in atomic_decrease_bw()
|
| /linux/net/mac80211/ |
| H A D | he.c | 258 enum ieee80211_sta_rx_bandwidth new_bw; in ieee80211_link_sta_rc_update_omi() local 264 new_bw = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_link_sta_rc_update_omi() 265 if (link_sta->pub->bandwidth == new_bw) in ieee80211_link_sta_rc_update_omi() 268 link_sta->pub->bandwidth = new_bw; in ieee80211_link_sta_rc_update_omi()
|
| H A D | ht.c | 613 enum ieee80211_sta_rx_bandwidth max_bw, new_bw; in ieee80211_ht_handle_chanwidth_notif() local 626 new_bw = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_ht_handle_chanwidth_notif() 628 if (link_sta->pub->bandwidth == new_bw) in ieee80211_ht_handle_chanwidth_notif() 631 link_sta->pub->bandwidth = new_bw; in ieee80211_ht_handle_chanwidth_notif()
|
| H A D | vht.c | 651 enum ieee80211_sta_rx_bandwidth new_bw; in __ieee80211_vht_handle_opmode() local 702 new_bw = ieee80211_sta_cur_vht_bw(link_sta); in __ieee80211_vht_handle_opmode() 703 if (new_bw != link_sta->pub->bandwidth) { in __ieee80211_vht_handle_opmode() 704 link_sta->pub->bandwidth = new_bw; in __ieee80211_vht_handle_opmode()
|
| /linux/mm/ |
| H A D | mempolicy.c | 221 unsigned int *old_bw, *new_bw; in mempolicy_set_node_perf() local 226 new_bw = kcalloc(nr_node_ids, sizeof(unsigned int), GFP_KERNEL); in mempolicy_set_node_perf() 227 if (!new_bw) in mempolicy_set_node_perf() 233 kfree(new_bw); in mempolicy_set_node_perf() 249 memcpy(new_bw, old_bw, nr_node_ids * sizeof(*old_bw)); in mempolicy_set_node_perf() 250 new_bw[node] = bw_val; in mempolicy_set_node_perf() 251 node_bw_table = new_bw; in mempolicy_set_node_perf() 263 reduce_interleave_weights(new_bw, new_wi_state->iw_table); in mempolicy_set_node_perf()
|
| /linux/drivers/edac/ |
| H A D | edac_mc_sysfs.c | 753 int new_bw = 0; in mci_sdram_scrub_rate_store() local 758 new_bw = mci->set_sdram_scrub_rate(mci, bandwidth); in mci_sdram_scrub_rate_store() 759 if (new_bw < 0) { in mci_sdram_scrub_rate_store()
|
| H A D | i7core_edac.c | 1957 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument 1971 if (new_bw == 0) { in set_sdram_scrub_rate() 1992 do_div(scrub_interval, new_bw); in set_sdram_scrub_rate() 2011 return new_bw; in set_sdram_scrub_rate()
|
| H A D | e752x_edac.c | 988 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument 1005 if (scrubrates[i].bandwidth >= new_bw) in set_sdram_scrub_rate()
|
| H A D | amd64_edac.c | 189 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate() argument 211 if (scrubrates[i].bandwidth <= new_bw) in __set_scrub_rate()
|
| /linux/drivers/thunderbolt/ |
| H A D | tunnel.c | 848 u32 new_rate, new_lanes, new_bw; in tb_dp_xchg_caps() local 858 new_bw = tb_dp_bandwidth(new_rate, new_lanes); in tb_dp_xchg_caps() 861 new_rate, new_lanes, new_bw); in tb_dp_xchg_caps()
|