Lines Matching defs:mode
207 void (*set_floor_freq)(struct rapl_domain *rd, bool mode);
337 static int set_domain_enable(struct powercap_zone *power_zone, bool mode)
344 ret = rapl_write_pl_data(rd, POWER_LIMIT1, PL_ENABLE, mode);
346 defaults->set_floor_freq(rd, mode);
352 static int get_domain_enable(struct powercap_zone *power_zone, bool *mode)
359 *mode = false;
365 *mode = val;
1038 static void set_floor_freq_default(struct rapl_domain *rd, bool mode)
1045 rapl_write_pl_data(rd, POWER_LIMIT1, PL_CLAMP, mode);
1048 rapl_write_pl_data(rd, i, PL_ENABLE, mode);
1049 rapl_write_pl_data(rd, i, PL_CLAMP, mode);
1672 unsigned long mode, void *_unused)
1674 switch (mode) {