Searched defs:policy (Results 1 - 6 of 6) sorted by relevance

/arch/powerpc/platforms/cell/
H A Dcpufreq_spudemand.c37 struct cpufreq_policy *policy; member in struct:spu_gov_info_struct
48 cpu = info->policy->cpu;
55 return info->policy->max * info->busy_spus / FIXED_1;
66 /* after cancel_delayed_work_sync we unset info->policy */
67 BUG_ON(info->policy == NULL);
70 __cpufreq_driver_target(info->policy, target_freq, CPUFREQ_RELATION_H);
73 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
80 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
88 static int spu_gov_govern(struct cpufreq_policy *policy, unsigned int event) argument
90 unsigned int cpu = policy
[all...]
/arch/arm64/mm/
H A Dmmu.c50 const char policy[16]; member in struct:cachepolicy
57 .policy = "uncached",
61 .policy = "writethrough",
65 .policy = "writeback",
82 int len = strlen(cache_policies[i].policy);
84 if (memcmp(p, cache_policies[i].policy, len) == 0)
88 pr_err("ERROR: unknown or unsupported cache policy: %s\n", p);
/arch/arm/mm/
H A Dmmu.c74 const char policy[16]; member in struct:cachepolicy
82 #define s2_policy(policy) policy
84 #define s2_policy(policy) 0
89 .policy = "uncached",
95 .policy = "buffered",
101 .policy = "writethrough",
107 .policy = "writeback",
113 .policy = "writealloc",
127 * the C code sets the page tables up with the same policy a
[all...]
/arch/powerpc/platforms/cell/spufs/
H A Dspufs.h127 int policy; member in struct:spu_context
/arch/ia64/include/asm/
H A Dpal.h75 #define PAL_GET_HW_POLICY 48 /* Get current hardware resource sharing policy */
76 #define PAL_SET_HW_POLICY 49 /* Set current hardware resource sharing policy */
1106 * Get the current hardware resource sharing policy of the processor
1504 * Set the current hardware resource sharing policy of the processor
1507 ia64_pal_set_hw_policy (u64 policy) argument
1510 PAL_CALL(iprv, PAL_SET_HW_POLICY, policy, 0, 0);
/arch/x86/kvm/
H A Dx86.c5534 struct cpufreq_policy policy; local
5535 memset(&policy, 0, sizeof(policy));
5537 cpufreq_get_policy(&policy, cpu);
5538 if (policy.cpuinfo.max_freq)
5539 max_tsc_khz = policy.cpuinfo.max_freq;

Completed in 215 milliseconds