Home
last modified time | relevance | path

Searched refs:hw_res (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/
H A Dcore.c137 struct rdt_hw_resource *hw_res = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe() local
138 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe()
150 hw_res->num_closid = 4; in cache_alloc_hsw_probe()
198 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in __get_mem_config_intel() local
204 hw_res->num_closid = edx.split.cos_max + 1; in __get_mem_config_intel()
232 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in __rdt_get_mem_config_amd() local
242 hw_res->num_closid = edx + 1; in __rdt_get_mem_config_amd()
266 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in rdt_get_cache_alloc_cfg() local
272 hw_res->num_closid = edx.split.cos_max + 1; in rdt_get_cache_alloc_cfg()
305 struct rdt_hw_resource *hw_res in mba_wrmsr_amd() local
331 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); mba_wrmsr_intel() local
343 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); cat_wrmsr() local
370 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(m->res); rdt_ctrl_update() local
419 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); setup_default_ctrlval() local
441 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); domain_setup_ctrlval() local
751 struct rdt_hw_resource *hw_res = &rdt_resources_all[RDT_RESOURCE_MBA]; get_mem_config() local
766 struct rdt_hw_resource *hw_res = &rdt_resources_all[RDT_RESOURCE_SMBA]; get_slow_mem_config() local
865 struct rdt_hw_resource *hw_res; rdt_init_res_defs_intel() local
885 struct rdt_hw_resource *hw_res; rdt_init_res_defs_amd() local
[all...]
H A Dmonitor.c235 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in resctrl_arch_rmid_read() local
251 hw_res->mbm_width); in resctrl_arch_rmid_read()
258 *val = chunks * hw_res->mon_scale; in resctrl_arch_rmid_read()
759 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in rdt_get_mon_l3_config() local
764 hw_res->mon_scale = boot_cpu_data.x86_cache_occ_scale; in rdt_get_mon_l3_config()
766 hw_res->mbm_width = MBM_CNTR_WIDTH_BASE; in rdt_get_mon_l3_config()
769 hw_res->mbm_width += mbm_offset; in rdt_get_mon_l3_config()
784 * to the nearest multiple of hw_res->mon_scale so it matches a in rdt_get_mon_l3_config()
798 hw_res->mbm_cfg_mask = ecx & MAX_EVT_CONFIG_BITS; in rdt_get_mon_l3_config()
H A Dinternal.h443 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(res); in resctrl_inc() local
445 hw_res++; in resctrl_inc()
446 return &hw_res->r_resctrl; in resctrl_inc()
H A Drdtgroup.c1593 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in mon_config_write() local
1618 if ((val & hw_res->mbm_cfg_mask) != val) { in mon_config_write()
1620 hw_res->mbm_cfg_mask); in mon_config_write()
2164 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in rdt_domain_reconfigure_cdp() local
2170 l2_qos_cfg_update(&hw_res->cdp_enabled); in rdt_domain_reconfigure_cdp()
2173 l3_qos_cfg_update(&hw_res->cdp_enabled); in rdt_domain_reconfigure_cdp()
2263 struct rdt_hw_resource *hw_res = &rdt_resources_all[l]; in resctrl_arch_set_cdp_enabled() local
2265 if (!hw_res->r_resctrl.cdp_capable) in resctrl_arch_set_cdp_enabled()
2635 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in reset_all_ctrls() local
2647 msr_param.high = hw_res in reset_all_ctrls()
[all...]
H A Dctrlmondata.c287 struct rdt_hw_resource *hw_res = resctrl_to_arch_res(r); in resctrl_arch_update_one() local
300 hw_res->msr_update(d, &msr_param, r); in resctrl_arch_update_one()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c26 * @hw_res: Hardware resources required as reported by the encoders
30 struct dpu_encoder_hw_resources hw_res; member
464 struct dpu_encoder_hw_resources *hw_res) in _dpu_rm_reserve_intf_related_hw()
469 for (i = 0; i < ARRAY_SIZE(hw_res->intfs); i++) { in _dpu_rm_reserve_intf_related_hw()
470 if (hw_res->intfs[i] == INTF_MODE_NONE) in _dpu_rm_reserve_intf_related_hw()
503 &reqs->hw_res); in _dpu_rm_make_reservation()
515 dpu_encoder_get_hw_resources(enc, &reqs->hw_res); in _dpu_rm_populate_requirements()
460 _dpu_rm_reserve_intf_related_hw( struct dpu_rm *rm, struct dpu_global_state *global_state, uint32_t enc_id, struct dpu_encoder_hw_resources *hw_res) _dpu_rm_reserve_intf_related_hw() argument
H A Ddpu_encoder.h32 * @hw_res: resource table to populate with encoder required resources
35 struct dpu_encoder_hw_resources *hw_res);
H A Ddpu_encoder_phys.h133 struct dpu_encoder_hw_resources *hw_res);
H A Ddpu_encoder_phys_vid.c484 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_phys_vid_get_hw_resources()
486 hw_res->intfs[phys_enc->intf_idx - INTF_0] = INTF_MODE_VIDEO; in dpu_encoder_phys_vid_get_hw_resources()
482 dpu_encoder_phys_vid_get_hw_resources( struct dpu_encoder_phys *phys_enc, struct dpu_encoder_hw_resources *hw_res) dpu_encoder_phys_vid_get_hw_resources() argument
H A Ddpu_encoder_phys_cmd.c547 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_phys_cmd_get_hw_resources()
549 hw_res->intfs[phys_enc->intf_idx - INTF_0] = INTF_MODE_CMD; in dpu_encoder_phys_cmd_get_hw_resources()
545 dpu_encoder_phys_cmd_get_hw_resources( struct dpu_encoder_phys *phys_enc, struct dpu_encoder_hw_resources *hw_res) dpu_encoder_phys_cmd_get_hw_resources() argument
H A Ddpu_encoder.c432 struct dpu_encoder_hw_resources *hw_res) in dpu_encoder_get_hw_resources()
441 memset(hw_res, 0, sizeof(*hw_res)); in dpu_encoder_get_hw_resources()
447 phys->ops.get_hw_resources(phys, hw_res); in dpu_encoder_get_hw_resources()
431 dpu_encoder_get_hw_resources(struct drm_encoder *drm_enc, struct dpu_encoder_hw_resources *hw_res) dpu_encoder_get_hw_resources() argument
/kernel/linux/linux-5.10/drivers/net/fjes/
H A Dfjes_hw.c37 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()
H A Dfjes_main.c230 result = request_irq(adapter->hw.hw_res.irq, fjes_intr, in fjes_request_irq()
251 free_irq(adapter->hw.hw_res.irq, adapter); in fjes_free_irq()
1269 hw->hw_res.start = res->start; in fjes_probe()
1270 hw->hw_res.size = resource_size(res); in fjes_probe()
1271 hw->hw_res.irq = platform_get_irq(plat_dev, 0); in fjes_probe()
1272 if (hw->hw_res.irq < 0) { in fjes_probe()
1273 err = hw->hw_res.irq; in fjes_probe()
1369 fjes_intr(adapter->hw.hw_res.irq, adapter); in fjes_irq_watch_task()
H A Dfjes_hw.h313 } hw_res; member
/kernel/linux/linux-6.6/drivers/net/fjes/
H A Dfjes_hw.c37 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()
H A Dfjes_main.c401 result = request_irq(adapter->hw.hw_res.irq, fjes_intr, in fjes_request_irq()
422 free_irq(adapter->hw.hw_res.irq, adapter); in fjes_free_irq()
1320 fjes_intr(adapter->hw.hw_res.irq, adapter); in fjes_irq_watch_task()
1397 hw->hw_res.start = res->start; in fjes_probe()
1398 hw->hw_res.size = resource_size(res); in fjes_probe()
1399 hw->hw_res.irq = platform_get_irq(plat_dev, 0); in fjes_probe()
1400 if (hw->hw_res.irq < 0) { in fjes_probe()
1401 err = hw->hw_res.irq; in fjes_probe()
H A Dfjes_hw.h313 } hw_res; member

Completed in 26 milliseconds