Lines Matching refs:hw_dom
268 static bool apply_config(struct rdt_hw_domain *hw_dom, in apply_config() argument
272 struct rdt_domain *dom = &hw_dom->d_resctrl; in apply_config()
274 if (cfg->new_ctrl != hw_dom->ctrl_val[idx]) { in apply_config()
276 hw_dom->ctrl_val[idx] = cfg->new_ctrl; in apply_config()
288 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_one() local
295 hw_dom->ctrl_val[idx] = cfg_val; in resctrl_arch_update_one()
308 struct rdt_hw_domain *hw_dom; in resctrl_arch_update_domains() local
320 hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_domains()
322 cfg = &hw_dom->d_resctrl.staged_config[t]; in resctrl_arch_update_domains()
327 if (!apply_config(hw_dom, cfg, idx, cpu_mask)) in resctrl_arch_update_domains()
453 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_get_config() local
456 return hw_dom->ctrl_val[idx]; in resctrl_arch_get_config()