Lines Matching defs:cid
297 static int contraint_to_pl(struct rapl_domain *rd, int cid)
302 if ((rd->rpl[i].name) && j++ == cid) {
307 pr_err("Cannot find matching power limit for constraint %d\n", cid);
312 static int set_power_limit(struct powercap_zone *power_zone, int cid,
322 id = contraint_to_pl(rd, cid);
357 static int get_current_power_limit(struct powercap_zone *power_zone, int cid,
368 id = contraint_to_pl(rd, cid);
399 static int set_time_window(struct powercap_zone *power_zone, int cid,
408 id = contraint_to_pl(rd, cid);
430 static int get_time_window(struct powercap_zone *power_zone, int cid,
440 id = contraint_to_pl(rd, cid);
474 int cid)
480 id = contraint_to_pl(rd, cid);