Searched refs:xrs (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_solver.c | 66 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 …]
|
| /linux/block/partitions/ |
| H A D | atari.c | 75 struct rootsector *xrs; in atari_partition() local 95 xrs = read_part_sector(state, partsect, §2); in atari_partition() 96 if (!xrs) { in atari_partition() 103 if (!(xrs->part[0].flg & 1)) { in atari_partition() 110 partsect + be32_to_cpu(xrs->part[0].st), in atari_partition() 111 be32_to_cpu(xrs->part[0].siz)); in atari_partition() 113 if (!(xrs->part[1].flg & 1)) { in atari_partition() 118 if (memcmp( xrs->part[1].id, "XGM", 3 ) != 0) { in atari_partition() 124 partsect = be32_to_cpu(xrs->part[1].st) + extensect; in atari_partition()
|