/* * linux/drivers/cpufreq/cpufreq_powersave.c * * Copyright (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/cpufreq.h> #include <linux/init.h> #include <linux/module.h>
static int cpufreq_governor_powersave(struct cpufreq_policy *policy, unsigned int event) { switch (event) { case CPUFREQ_GOV_START: case CPUFREQ_GOV_LIMITS: pr_debug("setting to %u kHz because of event %u\n", policy->min, event); __cpufreq_driver_target(policy, policy->min, CPUFREQ_RELATION_L); break; default: break; } return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
dave jones | dave jones | 54 | 98.18% | 2 | 66.67% |
dominik brodowski | dominik brodowski | 1 | 1.82% | 1 | 33.33% |
Total | 55 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dave jones | dave jones | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dave jones | dave jones | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dave jones | dave jones | 137 | 78.29% | 2 | 25.00% |
rafael j. wysocki | rafael j. wysocki | 14 | 8.00% | 1 | 12.50% |
alessandro guido | alessandro guido | 12 | 6.86% | 1 | 12.50% |
viresh kumar | viresh kumar | 11 | 6.29% | 3 | 37.50% |
dominik brodowski | dominik brodowski | 1 | 0.57% | 1 | 12.50% |
Total | 175 | 100.00% | 8 | 100.00% |