Home
last modified time | relevance | path

Searched refs:xrs (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/accel/amdxdna/
H A Daie2_solver.c66 static int qos_meet(struct solver_state *xrs, struct aie_qos *rqos, u32 cgops) in qos_meet() argument
68 u32 request_gops = calculate_gops(rqos) * xrs->cfg.sys_eff_factor; in qos_meet()
79 static int sanity_check(struct solver_state *xrs, struct alloc_requests *req) in sanity_check() argument
85 if (cdop->ncols > xrs->cfg.total_col) in sanity_check()
92 cu_clk_freq = xrs->cfg.clk_list.cu_clk_list[xrs->cfg.clk_list.num_levels - 1]; in sanity_check()
94 if (qos_meet(xrs, rqos, cdop->qos_cap.opc * cu_clk_freq / 1000)) in sanity_check()
112 static int set_dpm_level(struct solver_state *xrs, struct alloc_requests *req, u32 *dpm_level) in set_dpm_level() argument
114 struct solver_rgroup *rgp = &xrs->rgp; in set_dpm_level()
120 max_dpm_level = xrs->cfg.clk_list.num_levels - 1; in set_dpm_level()
129 freq = xrs->cfg.clk_list.cu_clk_list[level]; in set_dpm_level()
[all …]