Lines Matching defs:cid
420 static int contraint_to_pl(struct rapl_domain *rd, int cid)
425 if (is_pl_valid(rd, i) && j++ == cid) {
430 pr_err("Cannot find matching power limit for constraint %d\n", cid);
435 static int set_power_limit(struct powercap_zone *power_zone, int cid,
445 id = contraint_to_pl(rd, cid);
455 static int get_current_power_limit(struct powercap_zone *power_zone, int cid,
465 id = contraint_to_pl(rd, cid);
476 static int set_time_window(struct powercap_zone *power_zone, int cid,
485 id = contraint_to_pl(rd, cid);
493 static int get_time_window(struct powercap_zone *power_zone, int cid,
503 id = contraint_to_pl(rd, cid);
515 int cid)
521 id = contraint_to_pl(rd, cid);
528 static int get_max_power(struct powercap_zone *power_zone, int cid, u64 *data)
537 id = contraint_to_pl(rd, cid);