Lines Matching defs:cpufreq_driver
336 struct cpufreq_driver { struct
337 char name[CPUFREQ_NAME_LEN];
338 u16 flags;
339 void *driver_data;
342 int (*init)(struct cpufreq_policy *policy);
343 int (*verify)(struct cpufreq_policy_data *policy);
346 int (*setpolicy)(struct cpufreq_policy *policy);
348 int (*target)(struct cpufreq_policy *policy,
351 int (*target_index)(struct cpufreq_policy *policy,
353 unsigned int (*fast_switch)(struct cpufreq_policy *policy,
363 void (*adjust_perf)(unsigned int cpu,
383 unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
385 int (*target_intermediate)(struct cpufreq_policy *policy,
389 unsigned int (*get)(unsigned int cpu);
392 void (*update_limits)(unsigned int cpu);
395 int (*bios_limit)(int cpu, unsigned int *limit);
397 int (*online)(struct cpufreq_policy *policy);
398 int (*offline)(struct cpufreq_policy *policy);
399 void (*exit)(struct cpufreq_policy *policy);
400 int (*suspend)(struct cpufreq_policy *policy);
401 int (*resume)(struct cpufreq_policy *policy);
404 void (*ready)(struct cpufreq_policy *policy);
406 struct freq_attr **attr;
409 bool boost_enabled;
410 int (*set_boost)(struct cpufreq_policy *policy, int state);
416 void (*register_em)(struct cpufreq_policy *policy);