Searched refs:policy (Results 1 - 25 of 173) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-daemon/
H A Davahi-dbus.conf7 <policy user="root">
9 </policy>
10 <policy user="root">
12 </policy>
15 <policy context="default">
21 </policy>
24 <policy group="netdev">
27 </policy>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cpufreq/
H A Dcpufreq_userspace.c68 static int cpufreq_set(unsigned int freq, struct cpufreq_policy *policy) argument
72 dprintk("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq);
75 if (!cpu_is_managed[policy->cpu])
78 cpu_set_freq[policy->cpu] = freq;
80 if (freq < cpu_min_freq[policy->cpu])
81 freq = cpu_min_freq[policy->cpu];
82 if (freq > cpu_max_freq[policy->cpu])
83 freq = cpu_max_freq[policy->cpu];
89 * A: cpufreq_set (lock userspace_mutex) -> cpufreq_driver_target(lock policy->lock)
90 * B: cpufreq_set_policy(lock policy
101 show_speed(struct cpufreq_policy *policy, char *buf) argument
107 store_speed(struct cpufreq_policy *policy, const char *buf, size_t count) argument
128 cpufreq_governor_userspace(struct cpufreq_policy *policy, unsigned int event) argument
[all...]
H A Dcpufreq.c49 * - Any routine that wants to read from the policy structure will
51 * - Any routine that will write to the policy structure and/or may take away
52 * the policy altogether (eg. CPU hotplug), will hold this lock in write
103 static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event);
108 * Two notifier lists: the "policy" list is involved in the
109 * validation process for a new CPU frequency policy; the
189 * loading of a cpufreq driver, temporarily disabled when a new policy
316 struct cpufreq_policy *policy; local
324 policy = cpufreq_cpu_data[freqs->cpu];
333 if ((policy)
377 cpufreq_parse_governor(char *str_governor, unsigned int *policy, struct cpufreq_governor **governor) argument
489 show_cpuinfo_cur_freq(struct cpufreq_policy * policy, char *buf) argument
502 show_scaling_governor(struct cpufreq_policy * policy, char *buf) argument
518 store_scaling_governor(struct cpufreq_policy * policy, const char *buf, size_t count) argument
553 show_scaling_driver(struct cpufreq_policy * policy, char *buf) argument
561 show_scaling_available_governors(struct cpufreq_policy *policy, char *buf) argument
584 show_affected_cpus(struct cpufreq_policy * policy, char *buf) argument
641 struct cpufreq_policy * policy = to_policy(kobj); local
665 struct cpufreq_policy * policy = to_policy(kobj); local
688 struct cpufreq_policy * policy = to_policy(kobj); local
715 struct cpufreq_policy *policy; local
1038 struct cpufreq_policy *policy = local
1079 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); local
1099 struct cpufreq_policy *policy = cpufreq_cpu_data[cpu]; local
1129 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); local
1395 __cpufreq_driver_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
1410 cpufreq_driver_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
1432 __cpufreq_driver_getavg(struct cpufreq_policy *policy) argument
1452 __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) argument
1520 cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) argument
1542 __cpufreq_set_policy(struct cpufreq_policy *data, struct cpufreq_policy *policy) argument
1638 struct cpufreq_policy policy; local
1682 struct cpufreq_policy *policy; local
[all...]
H A Dcpufreq_powersave.c21 static int cpufreq_governor_powersave(struct cpufreq_policy *policy, argument
28 policy->min, event);
29 __cpufreq_driver_target(policy, policy->min,
58 MODULE_DESCRIPTION("CPUfreq policy governor 'powersave'");
H A Dfreq_table.c19 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, argument
41 policy->min = policy->cpuinfo.min_freq = min_freq;
42 policy->max = policy->cpuinfo.max_freq = max_freq;
44 if (policy->min == ~0)
52 int cpufreq_frequency_table_verify(struct cpufreq_policy *policy, argument
59 dprintk("request for verification of policy (%u - %u kHz) for cpu %u\n",
60 policy->min, policy
92 cpufreq_frequency_table_target(struct cpufreq_policy *policy, struct cpufreq_frequency_table *table, unsigned int target_freq, unsigned int relation, unsigned int *index) argument
176 show_available_freqs(struct cpufreq_policy *policy, char *buf) argument
[all...]
H A Dcpufreq_performance.c22 static int cpufreq_governor_performance(struct cpufreq_policy *policy, argument
29 policy->max, event);
30 __cpufreq_driver_target(policy, policy->max,
60 MODULE_DESCRIPTION("CPUfreq policy governor 'performance'");
H A Dcpufreq_ondemand.c72 static unsigned int dbs_enable; /* number of CPUs using this policy */
115 static unsigned int powersave_bias_target(struct cpufreq_policy *policy, argument
123 struct cpu_dbs_info_s *dbs_info = &per_cpu(cpu_dbs_info, policy->cpu);
131 cpufreq_frequency_table_target(policy, dbs_info->freq_table, freq_next,
139 cpufreq_frequency_table_target(policy, dbs_info->freq_table, freq_avg,
143 cpufreq_frequency_table_target(policy, dbs_info->freq_table, freq_avg,
175 static ssize_t show_sampling_rate_max(struct cpufreq_policy *policy, char *buf) argument
180 static ssize_t show_sampling_rate_min(struct cpufreq_policy *policy, char *buf) argument
244 static ssize_t store_ignore_nice_load(struct cpufreq_policy *policy, argument
331 struct cpufreq_policy *policy; local
484 cpufreq_governor_dbs(struct cpufreq_policy *policy, unsigned int event) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-omap/
H A Dcpu-omap.c38 int omap_verify_speed(struct cpufreq_policy *policy) argument
42 if (policy->cpu)
45 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
46 policy->cpuinfo.max_freq);
50 policy->min = clk_round_rate(mpu_clk, policy->min * 1000) / 1000;
51 policy->max = clk_round_rate(mpu_clk, policy->max * 1000) / 1000;
52 cpufreq_verify_within_limits(policy, polic
76 omap_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
100 omap_cpu_init(struct cpufreq_policy *policy) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/x509v3/
H A Dpcy_data.c78 /* Create a data based on an existing policy. If 'id' is NULL use the
79 * oid in the policy, otherwise use 'id'. This behaviour covers the two
85 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, ASN1_OBJECT *id, int crit) argument
88 if (!policy && !id)
109 ret->valid_policy = policy->policyid;
110 policy->policyid = NULL;
113 if (policy)
115 ret->qualifier_set = policy->qualifiers;
116 policy->qualifiers = NULL;
H A Dv3_pci.c69 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)
71 pci->proxyPolicy->policy->data);
77 ASN1_OCTET_STRING **policy)
111 else if (strcmp(val->name, "policy") == 0)
115 if (!*policy)
117 *policy = ASN1_OCTET_STRING_new();
118 if (!*policy)
133 tmp_data = OPENSSL_realloc((*policy)->data,
134 (*policy)
75 process_pci_value(CONF_VALUE *val, ASN1_OBJECT **language, ASN1_INTEGER **pathlen, ASN1_OCTET_STRING **policy) argument
224 ASN1_OCTET_STRING *policy = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-integrator/
H A Dcpu.c54 * Validate the speed policy.
56 static int integrator_verify_policy(struct cpufreq_policy *policy) argument
60 cpufreq_verify_within_limits(policy,
61 policy->cpuinfo.min_freq,
62 policy->cpuinfo.max_freq);
64 vco = icst525_khz_to_vco(&cclk_params, policy->max);
65 policy->max = icst525_khz(&cclk_params, vco);
67 vco = icst525_khz_to_vco(&cclk_params, policy->min);
68 policy->min = icst525_khz(&cclk_params, vco);
70 cpufreq_verify_within_limits(policy,
78 integrator_set_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
185 integrator_cpufreq_init(struct cpufreq_policy *policy) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/cpu/cpufreq/
H A Dlongrun.c32 * longrun_get_policy - get the current LongRun policy
33 * @policy: struct cpufreq_policy where current policy is written into
35 * Reads the current LongRun policy by access to MSR_TMTA_LONGRUN_FLAGS
38 static void __init longrun_get_policy(struct cpufreq_policy *policy) argument
45 policy->policy = CPUFREQ_POLICY_PERFORMANCE;
47 policy->policy = CPUFREQ_POLICY_POWERSAVE;
56 policy
74 longrun_set_policy(struct cpufreq_policy *policy) argument
128 longrun_verify_policy(struct cpufreq_policy *policy) argument
260 longrun_cpu_init(struct cpufreq_policy *policy) argument
[all...]
H A Dsc520_freq.c79 static int sc520_freq_verify (struct cpufreq_policy *policy) argument
81 return cpufreq_frequency_table_verify(policy, &sc520_freq_table[0]);
84 static int sc520_freq_target (struct cpufreq_policy *policy, argument
90 if (cpufreq_frequency_table_target(policy, sc520_freq_table, target_freq, relation, &newstate))
103 static int sc520_freq_cpu_init(struct cpufreq_policy *policy) argument
113 /* cpuinfo and default policy values */
114 policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
115 policy->cpuinfo.transition_latency = 1000000; /* 1ms */
116 policy->cur = sc520_freq_get_cpu_frequency(0);
118 result = cpufreq_frequency_table_cpuinfo(policy, sc520_freq_tabl
128 sc520_freq_cpu_exit(struct cpufreq_policy *policy) argument
[all...]
H A Dgx-suspmod.c138 /* For the default policy, we want at least some processing power
328 static int cpufreq_gx_verify(struct cpufreq_policy *policy) argument
333 if (!stock_freq || !policy)
336 policy->cpu = 0;
337 cpufreq_verify_within_limits(policy, (stock_freq / max_duration), stock_freq);
340 * within policy->min and policy->max. If it is not, policy->max
342 * policy->min may not be decreased, though. This way we guarantee a
345 tmp_freq = gx_validate_speed(policy
366 cpufreq_gx_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
393 cpufreq_gx_cpu_init(struct cpufreq_policy *policy) argument
[all...]
H A Dcpufreq-nforce2.c242 * nforce2_target - set a new CPUFreq policy
243 * @policy: new policy
247 * Sets a new CPUFreq policy.
249 static int nforce2_target(struct cpufreq_policy *policy, argument
256 if ((target_freq > policy->max) || (target_freq < policy->min))
261 freqs.old = nforce2_get(policy->cpu);
292 * nforce2_verify - verifies a new CPUFreq policy
293 * @policy
295 nforce2_verify(struct cpufreq_policy *policy) argument
310 nforce2_cpu_init(struct cpufreq_policy *policy) argument
371 nforce2_cpu_exit(struct cpufreq_policy *policy) argument
[all...]
H A Dp4-clockmod.c107 static int cpufreq_p4_target(struct cpufreq_policy *policy, argument
115 if (cpufreq_frequency_table_target(policy, &p4clockmod_table[0], target_freq, relation, &newstate))
118 freqs.old = cpufreq_p4_get(policy->cpu);
125 for_each_cpu_mask(i, policy->cpus) {
133 for_each_cpu_mask(i, policy->cpus)
137 for_each_cpu_mask(i, policy->cpus) {
146 static int cpufreq_p4_verify(struct cpufreq_policy *policy) argument
148 return cpufreq_frequency_table_verify(policy, &p4clockmod_table[0]);
196 static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy) argument
198 struct cpuinfo_x86 *c = &cpu_data[policy
239 cpufreq_p4_cpu_exit(struct cpufreq_policy *policy) argument
[all...]
H A Dspeedstep-ich.c253 * speedstep_target - set a new CPUFreq policy
254 * @policy: new policy
258 * Sets a new CPUFreq policy.
260 static int speedstep_target (struct cpufreq_policy *policy, argument
269 if (cpufreq_frequency_table_target(policy, &speedstep_freqs[0], target_freq, relation, &newstate))
272 freqs.old = _speedstep_get(policy->cpus);
274 freqs.cpu = policy->cpu;
284 for_each_cpu_mask(i, policy->cpus) {
290 set_cpus_allowed(current, policy
313 speedstep_verify(struct cpufreq_policy *policy) argument
319 speedstep_cpu_init(struct cpufreq_policy *policy) argument
366 speedstep_cpu_exit(struct cpufreq_policy *policy) argument
[all...]
H A Dpowernow-k6.c107 * powernow_k6_verify - verifies a new CPUfreq policy
108 * @policy: new policy
113 static int powernow_k6_verify(struct cpufreq_policy *policy) argument
115 return cpufreq_frequency_table_verify(policy, &clock_ratio[0]);
120 * powernow_k6_setpolicy - sets a new CPUFreq policy
121 * @policy: new policy
125 * sets a new CPUFreq policy
127 static int powernow_k6_target (struct cpufreq_policy *policy, argument
142 powernow_k6_cpu_init(struct cpufreq_policy *policy) argument
177 powernow_k6_cpu_exit(struct cpufreq_policy *policy) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dcpufreq.h77 unsigned int policy; /* see above */ member in struct:cpufreq_real_policy
92 unsigned int policy; /* see above */ member in struct:cpufreq_policy
164 int (*governor) (struct cpufreq_policy *policy,
172 extern int cpufreq_driver_target(struct cpufreq_policy *policy,
175 extern int __cpufreq_driver_target(struct cpufreq_policy *policy,
180 extern int __cpufreq_driver_getavg(struct cpufreq_policy *policy);
206 int (*init) (struct cpufreq_policy *policy);
207 int (*verify) (struct cpufreq_policy *policy);
210 int (*setpolicy) (struct cpufreq_policy *policy);
211 int (*target) (struct cpufreq_policy *policy,
243 cpufreq_verify_within_limits(struct cpufreq_policy *policy, unsigned int min, unsigned int max) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Dcxx_int.h59 // change the default behavior. The 'policy' is one of
63 #define DB_ERROR(dbenv, caller, ecode, policy) \
64 DbEnv::runtime_error(dbenv, caller, ecode, policy)
66 #define DB_ERROR_DBT(dbenv, caller, dbt, policy) \
67 DbEnv::runtime_error_dbt(dbenv, caller, dbt, policy)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/mach-bf533/
H A Dcpu.c72 static int bf533_target(struct cpufreq_policy *policy, argument
83 (policy, bf533_freq_table, target_freq, relation, &index))
110 static int bf533_verify_speed(struct cpufreq_policy *policy) argument
112 return cpufreq_frequency_table_verify(policy, &bf533_freq_table);
115 static int __init __bf533_cpu_init(struct cpufreq_policy *policy) argument
119 if (policy->cpu != 0)
122 policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
124 policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL;
126 policy->cur = bf533_getfreq(0);
127 cpufreq_frequency_table_get_attr(bf533_freq_table, policy
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/mach-bf537/
H A Dcpu.c73 static int bf537_target(struct cpufreq_policy *policy, argument
82 if (cpufreq_frequency_table_target(policy, bf537_freq_table, target_freq, relation, &index))
110 static int bf537_verify_speed(struct cpufreq_policy *policy) argument
112 return cpufreq_frequency_table_verify(policy, &bf537_freq_table);
115 static int __init __bf537_cpu_init(struct cpufreq_policy *policy) argument
117 if (policy->cpu != 0)
120 policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
122 policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL;
124 policy->cur = bf537_getfreq(0);
125 cpufreq_frequency_table_get_attr(bf537_freq_table, policy
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dcbe_cpufreq.c187 struct cpufreq_policy *policy = data; local
192 cpufreq_verify_within_limits(policy, 0, pmi_frequency_limit);
210 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) argument
217 cpu = of_get_cpu_node(policy->cpu, NULL);
222 pr_debug("init cpufreq on CPU %d\n", policy->cpu);
241 policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
243 policy->cpuinfo.transition_latency = 25000;
245 cur_pmode = get_pmode(policy->cpu);
248 policy->cur = cbe_freqs[cur_pmode].frequency;
251 policy
266 cbe_cpufreq_cpu_exit(struct cpufreq_policy *policy) argument
275 cbe_cpufreq_verify(struct cpufreq_policy *policy) argument
281 cbe_cpufreq_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dcpufreq.c136 static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy) argument
145 cpu = of_get_cpu_node(policy->cpu, NULL);
178 pr_debug("init cpufreq on CPU %d\n", policy->cpu);
198 policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
200 policy->cpuinfo.transition_latency = get_gizmo_latency();
202 cur_astate = get_cur_astate(policy->cpu);
205 policy->cur = pas_freqs[cur_astate].frequency;
206 policy->cpus = cpu_online_map;
208 ppc_proc_freq = policy->cur * 1000ul;
210 cpufreq_frequency_table_get_attr(pas_freqs, policy
226 pas_cpufreq_cpu_exit(struct cpufreq_policy *policy) argument
237 pas_cpufreq_verify(struct cpufreq_policy *policy) argument
242 pas_cpufreq_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-imx/
H A Dcpufreq.c138 static int imx_verify_speed(struct cpufreq_policy *policy) argument
140 if (policy->cpu != 0)
143 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, policy->cpuinfo.max_freq);
176 static int imx_set_target(struct cpufreq_policy *policy, argument
189 * Some governors do not respects CPU and policy lower limits
193 if(target_freq < policy->cpuinfo.min_freq)
194 target_freq = policy->cpuinfo.min_freq;
196 if(target_freq < policy
264 imx_cpufreq_driver_init(struct cpufreq_policy *policy) argument
[all...]

Completed in 294 milliseconds

1234567