Lines Matching refs:hw_res
1034 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in max_threshold_occ_show() local
1036 seq_printf(seq, "%u\n", resctrl_cqm_threshold * hw_res->mon_scale); in max_threshold_occ_show()
1058 struct rdt_hw_resource *hw_res; in max_threshold_occ_write() local
1069 hw_res = resctrl_to_arch_res(of->kn->parent->priv); in max_threshold_occ_write()
1070 resctrl_cqm_threshold = bytes / hw_res->mon_scale; in max_threshold_occ_write()
1880 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in rdt_domain_reconfigure_cdp() local
1886 l2_qos_cfg_update(&hw_res->cdp_enabled); in rdt_domain_reconfigure_cdp()
1889 l3_qos_cfg_update(&hw_res->cdp_enabled); in rdt_domain_reconfigure_cdp()
1944 struct rdt_hw_resource *hw_res = &rdt_resources_all[l]; in resctrl_arch_set_cdp_enabled() local
1946 if (!hw_res->r_resctrl.cdp_capable) in resctrl_arch_set_cdp_enabled()
2307 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in reset_all_ctrls() local
2319 msr_param.high = hw_res->num_closid; in reset_all_ctrls()
2330 for (i = 0; i < hw_res->num_closid; i++) in reset_all_ctrls()