Lines Matching defs:cfg
213 intel_get_l3_config_weights(const struct intel_l3_config *cfg)
215 if (cfg) {
219 w.w[i] = cfg->n[i];
290 const struct intel_l3_config *const cfg = &list->configs[0];
291 assert(cfg == intel_get_l3_config(devinfo,
293 return cfg;
313 const struct intel_l3_config *cfg = &cfgs[i];
314 const float dw = intel_diff_l3_weights(w0, intel_get_l3_config_weights(cfg));
317 cfg_best = cfg;
352 const struct intel_l3_config *cfg)
357 if (cfg == NULL) {
372 return MIN2(max, cfg->n[INTEL_L3P_URB] * get_l3_way_size(devinfo)) /
380 intel_dump_l3_config(const struct intel_l3_config *cfg, FILE *fp)
383 cfg->n[INTEL_L3P_SLM], cfg->n[INTEL_L3P_URB], cfg->n[INTEL_L3P_ALL],
384 cfg->n[INTEL_L3P_DC], cfg->n[INTEL_L3P_RO],
385 cfg->n[INTEL_L3P_IS], cfg->n[INTEL_L3P_C], cfg->n[INTEL_L3P_T]);