Searched refs:hw_res (Results 1 – 14 of 14) sorted by relevance
/linux/arch/x86/kernel/cpu/resctrl/ |
A D | core.c | 144 hw_res->num_closid = 4; in cache_alloc_hsw_probe() 192 hw_res->num_closid = edx.split.cos_max + 1; in __get_mem_config_intel() 364 hw_res->msr_update(d, m, r); in rdt_ctrl_update() 445 m.high = hw_res->num_closid; in domain_setup_ctrlval() 446 hw_res->msr_update(d, &m, r); in domain_setup_ctrlval() 869 struct rdt_hw_resource *hw_res; in rdt_init_res_defs_intel() local 873 hw_res = resctrl_to_arch_res(r); in rdt_init_res_defs_intel() 882 hw_res->msr_update = mba_wrmsr_intel; in rdt_init_res_defs_intel() 889 struct rdt_hw_resource *hw_res; in rdt_init_res_defs_amd() local 893 hw_res = resctrl_to_arch_res(r); in rdt_init_res_defs_amd() [all …]
|
A D | monitor.c | 290 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(rr->r); in __mon_event_count() local 322 chunks = mbm_overflow_count(m->prev_msr, tval, hw_res->mbm_width); in __mon_event_count() 337 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(rr->r); in mbm_bw_count() local 345 chunks = mbm_overflow_count(m->prev_bw_msr, tval, hw_res->mbm_width); in mbm_bw_count() 346 cur_bw = (get_corrected_mbm_count(rmid, chunks) * hw_res->mon_scale) >> 20; in mbm_bw_count() 688 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in rdt_get_mon_l3_config() local 692 hw_res->mon_scale = boot_cpu_data.x86_cache_occ_scale; in rdt_get_mon_l3_config() 694 hw_res->mbm_width = MBM_CNTR_WIDTH_BASE; in rdt_get_mon_l3_config() 697 hw_res->mbm_width += mbm_offset; in rdt_get_mon_l3_config() 711 resctrl_cqm_threshold /= hw_res->mon_scale; in rdt_get_mon_l3_config()
|
A D | internal.h | 428 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(res); in resctrl_inc() local 430 hw_res++; in resctrl_inc() 431 return &hw_res->r_resctrl; in resctrl_inc()
|
A D | ctrlmondata.c | 521 struct rdt_hw_resource *hw_res; in rdtgroup_mondata_show() local 541 hw_res = &rdt_resources_all[resid]; in rdtgroup_mondata_show() 542 r = &hw_res->r_resctrl; in rdtgroup_mondata_show() 556 seq_printf(m, "%llu\n", rr.val * hw_res->mon_scale); in rdtgroup_mondata_show()
|
A D | rdtgroup.c | 1034 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in max_threshold_occ_show() local 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() 2319 msr_param.high = hw_res->num_closid; in reset_all_ctrls() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_rm.c | 31 struct dpu_encoder_hw_resources hw_res; member 486 struct dpu_encoder_hw_resources *hw_res) in _dpu_rm_reserve_intf_related_hw() argument 491 for (i = 0; i < ARRAY_SIZE(hw_res->intfs); i++) { in _dpu_rm_reserve_intf_related_hw() 492 if (hw_res->intfs[i] == INTF_MODE_NONE) in _dpu_rm_reserve_intf_related_hw() 525 &reqs->hw_res); in _dpu_rm_make_reservation() 537 dpu_encoder_get_hw_resources(enc, &reqs->hw_res); in _dpu_rm_populate_requirements()
|
A D | dpu_encoder.h | 35 struct dpu_encoder_hw_resources *hw_res);
|
A D | dpu_encoder_phys.h | 133 struct dpu_encoder_hw_resources *hw_res);
|
A D | dpu_encoder_phys_vid.c | 470 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_phys_vid_get_hw_resources() argument 472 hw_res->intfs[phys_enc->intf_idx - INTF_0] = INTF_MODE_VIDEO; in dpu_encoder_phys_vid_get_hw_resources()
|
A D | dpu_encoder_phys_cmd.c | 539 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_phys_cmd_get_hw_resources() argument 541 hw_res->intfs[phys_enc->intf_idx - INTF_0] = INTF_MODE_CMD; in dpu_encoder_phys_cmd_get_hw_resources()
|
A D | dpu_encoder.c | 424 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_get_hw_resources() argument 433 memset(hw_res, 0, sizeof(*hw_res)); in dpu_encoder_get_hw_resources() 439 phys->ops.get_hw_resources(phys, hw_res); in dpu_encoder_get_hw_resources()
|
/linux/drivers/net/fjes/ |
A D | fjes_main.c | 222 result = request_irq(adapter->hw.hw_res.irq, fjes_intr, in fjes_request_irq() 243 free_irq(adapter->hw.hw_res.irq, adapter); in fjes_free_irq() 1262 hw->hw_res.start = res->start; in fjes_probe() 1263 hw->hw_res.size = resource_size(res); in fjes_probe() 1264 hw->hw_res.irq = platform_get_irq(plat_dev, 0); in fjes_probe() 1265 if (hw->hw_res.irq < 0) { in fjes_probe() 1266 err = hw->hw_res.irq; in fjes_probe() 1363 fjes_intr(adapter->hw.hw_res.irq, adapter); in fjes_irq_watch_task()
|
A D | fjes_hw.c | 37 if (!request_mem_region(hw->hw_res.start, hw->hw_res.size, in fjes_hw_iomap() 43 base = (u8 *)ioremap(hw->hw_res.start, hw->hw_res.size); in fjes_hw_iomap() 51 release_mem_region(hw->hw_res.start, hw->hw_res.size); in fjes_hw_iounmap()
|
A D | fjes_hw.h | 313 } hw_res; member
|
Completed in 38 milliseconds