Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 219) sorted by relevance

123456789

/linux/drivers/cpufreq/
A Dcpufreq.c217 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
1143 struct cpufreq_policy *policy = in handle_update() local
1194 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1319 struct cpufreq_policy *policy; in cpufreq_online() local
1553 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1575 struct cpufreq_policy *policy; in cpufreq_offline() local
1722 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1861 struct cpufreq_policy *policy; in cpufreq_suspend() local
1895 struct cpufreq_policy *policy; in cpufreq_resume() local
2435 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
[all …]
A Dfreq_table.c17 bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq()
32 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo()
69 int cpufreq_frequency_table_verify(struct cpufreq_policy_data *policy, in cpufreq_frequency_table_verify()
109 int cpufreq_generic_frequency_table_verify(struct cpufreq_policy_data *policy) in cpufreq_generic_frequency_table_verify()
118 int cpufreq_table_index_unsorted(struct cpufreq_policy *policy, in cpufreq_table_index_unsorted()
211 int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy, in cpufreq_frequency_table_get_index()
233 static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, in show_available_freqs()
273 static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy, in scaling_available_frequencies_show()
285 static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy, in scaling_boost_frequencies_show()
299 static int set_freq_table_sorted(struct cpufreq_policy *policy) in set_freq_table_sorted()
[all …]
A Dcpufreq_userspace.c28 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) in cpufreq_set()
47 static ssize_t show_speed(struct cpufreq_policy *policy, char *buf) in show_speed()
52 static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy) in cpufreq_userspace_policy_init()
64 static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy) in cpufreq_userspace_policy_exit()
72 static int cpufreq_userspace_policy_start(struct cpufreq_policy *policy) in cpufreq_userspace_policy_start()
86 static void cpufreq_userspace_policy_stop(struct cpufreq_policy *policy) in cpufreq_userspace_policy_stop()
98 static void cpufreq_userspace_policy_limits(struct cpufreq_policy *policy) in cpufreq_userspace_policy_limits()
A Dcpufreq_governor.c114 unsigned int dbs_update(struct cpufreq_policy *policy) in dbs_update()
235 struct cpufreq_policy *policy; in dbs_work_handler() local
325 struct cpufreq_policy *policy = policy_dbs->policy; in gov_set_update_util() local
339 static inline void gov_clear_update_util(struct cpufreq_policy *policy) in gov_clear_update_util()
349 static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy, in alloc_policy_dbs_info()
391 int cpufreq_dbs_governor_init(struct cpufreq_policy *policy) in cpufreq_dbs_governor_init()
477 void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy) in cpufreq_dbs_governor_exit()
505 int cpufreq_dbs_governor_start(struct cpufreq_policy *policy) in cpufreq_dbs_governor_start()
543 void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy) in cpufreq_dbs_governor_stop()
555 void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy) in cpufreq_dbs_governor_limits()
A Dsh-cpufreq.c33 struct cpufreq_policy *policy; member
45 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() local
80 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target()
89 static int sh_cpufreq_verify(struct cpufreq_policy_data *policy) in sh_cpufreq_verify()
107 static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) in sh_cpufreq_cpu_init()
138 static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) in sh_cpufreq_cpu_exit()
A Dmediatek-cpufreq-hw.c56 struct cpufreq_policy *policy; in mtk_cpufreq_get_cpu_power() local
78 static int mtk_cpufreq_hw_target_index(struct cpufreq_policy *policy, in mtk_cpufreq_hw_target_index()
91 struct cpufreq_policy *policy; in mtk_cpufreq_hw_get() local
106 static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy, in mtk_cpufreq_hw_fast_switch()
154 struct cpufreq_policy *policy, in mtk_cpu_resources_init()
192 static int mtk_cpufreq_hw_cpu_init(struct cpufreq_policy *policy) in mtk_cpufreq_hw_cpu_init()
233 static int mtk_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy) in mtk_cpufreq_hw_cpu_exit()
243 static void mtk_cpufreq_register_em(struct cpufreq_policy *policy) in mtk_cpufreq_register_em()
A Dcppc_cpufreq.c155 static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_init()
196 static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit()
257 static inline void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_init()
261 static inline void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit()
362 static int cppc_cpufreq_set_target(struct cpufreq_policy *policy, in cppc_cpufreq_set_target()
393 static int cppc_verify_policy(struct cpufreq_policy_data *policy) in cppc_verify_policy()
473 static void cppc_cpufreq_put_cpu_data(struct cpufreq_policy *policy) in cppc_cpufreq_put_cpu_data()
483 static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_init()
566 static int cppc_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_exit()
618 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cppc_cpufreq_get_rate() local
[all …]
A Dcpufreq_stats.c58 static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf) in show_total_trans()
69 static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf) in show_time_in_state()
103 static ssize_t store_reset(struct cpufreq_policy *policy, const char *buf, in store_reset()
124 static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf) in show_trans_table()
196 void cpufreq_stats_free_table(struct cpufreq_policy *policy) in cpufreq_stats_free_table()
212 void cpufreq_stats_create_table(struct cpufreq_policy *policy) in cpufreq_stats_create_table()
266 void cpufreq_stats_record_transition(struct cpufreq_policy *policy, in cpufreq_stats_record_transition()
A Dscmi-cpufreq.c35 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scmi_cpufreq_get_rate() local
52 scmi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scmi_cpufreq_set_target()
60 static unsigned int scmi_cpufreq_fast_switch(struct cpufreq_policy *policy, in scmi_cpufreq_fast_switch()
121 static int scmi_cpufreq_init(struct cpufreq_policy *policy) in scmi_cpufreq_init()
237 static int scmi_cpufreq_exit(struct cpufreq_policy *policy) in scmi_cpufreq_exit()
249 static void scmi_cpufreq_register_em(struct cpufreq_policy *policy) in scmi_cpufreq_register_em()
A Dacpi-cpufreq.c130 static int set_boost(struct cpufreq_policy *policy, int val) in set_boost()
173 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb()
195 static unsigned extract_io(struct cpufreq_policy *policy, u32 value) in extract_io()
210 static unsigned extract_msr(struct cpufreq_policy *policy, u32 msr) in extract_msr()
231 static unsigned extract_freq(struct cpufreq_policy *policy, u32 val) in extract_freq()
364 struct cpufreq_policy *policy; in get_cur_freq_on_cpu() local
393 static unsigned int check_freqs(struct cpufreq_policy *policy, in check_freqs()
409 static int acpi_cpufreq_target(struct cpufreq_policy *policy, in acpi_cpufreq_target()
673 static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) in acpi_cpufreq_cpu_init()
909 static int acpi_cpufreq_cpu_exit(struct cpufreq_policy *policy) in acpi_cpufreq_cpu_exit()
[all …]
A Dqcom-cpufreq-hw.c51 struct cpufreq_policy *policy; member
57 static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy, in qcom_cpufreq_set_bw()
98 static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy, in qcom_cpufreq_hw_target_index()
117 struct cpufreq_policy *policy; in qcom_cpufreq_hw_get() local
133 static unsigned int qcom_cpufreq_hw_fast_switch(struct cpufreq_policy *policy, in qcom_cpufreq_hw_fast_switch()
147 struct cpufreq_policy *policy) in qcom_cpufreq_hw_read_lut()
279 struct cpufreq_policy *policy = data->policy; in qcom_lmh_dcvs_notify() local
374 static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index) in qcom_cpufreq_hw_lmh_init()
419 static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy) in qcom_cpufreq_hw_cpu_init()
528 static int qcom_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy) in qcom_cpufreq_hw_cpu_exit()
A Dcpufreq-dt.c57 static int set_target(struct cpufreq_policy *policy, unsigned int index) in set_target()
103 static int cpufreq_init(struct cpufreq_policy *policy) in cpufreq_init()
154 static int cpufreq_online(struct cpufreq_policy *policy) in cpufreq_online()
160 static int cpufreq_offline(struct cpufreq_policy *policy) in cpufreq_offline()
169 static int cpufreq_exit(struct cpufreq_policy *policy) in cpufreq_exit()
A Dlongrun.c35 static void longrun_get_policy(struct cpufreq_policy *policy) in longrun_get_policy()
71 static int longrun_set_policy(struct cpufreq_policy *policy) in longrun_set_policy()
125 static int longrun_verify_policy(struct cpufreq_policy_data *policy) in longrun_verify_policy()
252 static int longrun_cpu_init(struct cpufreq_policy *policy) in longrun_cpu_init()
A Dscpi-cpufreq.c40 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scpi_cpufreq_get_rate() local
48 scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scpi_cpufreq_set_target()
91 static int scpi_cpufreq_init(struct cpufreq_policy *policy) in scpi_cpufreq_init()
178 static int scpi_cpufreq_exit(struct cpufreq_policy *policy) in scpi_cpufreq_exit()
A Dppc_cbe_cpufreq.c55 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_init()
117 static int cbe_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_exit()
123 static int cbe_cpufreq_target(struct cpufreq_policy *policy, in cbe_cpufreq_target()
A Dbmips-cpufreq.c66 bmips_cpufreq_get_freq_table(const struct cpufreq_policy *policy) in bmips_cpufreq_get_freq_table()
105 static int bmips_cpufreq_target_index(struct cpufreq_policy *policy, in bmips_cpufreq_target_index()
124 static int bmips_cpufreq_exit(struct cpufreq_policy *policy) in bmips_cpufreq_exit()
131 static int bmips_cpufreq_init(struct cpufreq_policy *policy) in bmips_cpufreq_init()
A De_powersaver.c79 static int eps_acpi_exit(struct cpufreq_policy *policy) in eps_acpi_exit()
108 struct cpufreq_policy *policy, in eps_set_state()
153 static int eps_target(struct cpufreq_policy *policy, unsigned int index) in eps_target()
172 static int eps_cpu_init(struct cpufreq_policy *policy) in eps_cpu_init()
363 static int eps_cpu_exit(struct cpufreq_policy *policy) in eps_cpu_exit()
A Dcpufreq_ondemand.c61 static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy, in generic_powersave_bias_target()
108 static void ondemand_powersave_bias_init(struct cpufreq_policy *policy) in ondemand_powersave_bias_init()
115 static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq) in dbs_freq_increase()
136 static void od_update(struct cpufreq_policy *policy) in od_update()
172 static unsigned int od_dbs_update(struct cpufreq_policy *policy) in od_dbs_update()
390 static void od_start(struct cpufreq_policy *policy) in od_start()
425 struct cpufreq_policy *policy; in od_set_powersave_bias() local
A Dppc_cbe_cpufreq_pmi.c67 struct cpufreq_policy *policy; in cbe_cpufreq_handle_pmi() local
104 void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_init()
128 void cbe_cpufreq_pmi_policy_exit(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_exit()
/linux/fs/crypto/
A Dpolicy.c80 static bool supported_iv_ino_lblk_policy(const struct fscrypt_policy_v2 *policy, in supported_iv_ino_lblk_policy()
268 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context() local
284 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context() local
330 struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_policy_from_context() local
345 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context() local
390 const union fscrypt_policy *policy) in set_encryption_policy()
438 union fscrypt_policy policy; in fscrypt_ioctl_set_policy() local
504 union fscrypt_policy policy; in fscrypt_ioctl_get_policy() local
524 union fscrypt_policy *policy = (union fscrypt_policy *)&arg.policy; in fscrypt_ioctl_get_policy_ex() local
728 union fscrypt_policy *policy = NULL; in fscrypt_set_test_dummy_encryption() local
[all …]
/linux/security/selinux/ss/
A Dservices.c247 struct selinux_policy *policy; in security_mls_enabled() local
760 struct selinux_policy *policy; in security_compute_validatetrans() local
869 struct selinux_policy *policy; in security_bounded_transition() local
1022 struct selinux_policy *policy; in security_compute_xperms_decision() local
1119 struct selinux_policy *policy; in security_compute_av() local
1177 struct selinux_policy *policy; in security_compute_av_user() local
1303 struct selinux_policy *policy; in security_sidtab_hash_stats() local
1332 struct selinux_policy *policy; in security_sid_to_context_core() local
1521 struct selinux_policy *policy; in security_context_to_sid_core() local
1658 struct selinux_policy *policy, in compute_sid_handle_invalid_context()
[all …]
/linux/include/linux/
A Dcpufreq.h74 unsigned int policy; /* see above */ member
182 struct cpufreq_policy *policy; member
207 static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { } in cpufreq_cpu_put()
210 static inline bool policy_is_inactive(struct cpufreq_policy *policy) in policy_is_inactive()
215 static inline bool policy_is_shared(struct cpufreq_policy *policy) in policy_is_shared()
478 cpufreq_verify_within_cpu_limits(struct cpufreq_policy_data *policy) in cpufreq_verify_within_cpu_limits()
851 static inline int cpufreq_table_find_index_l(struct cpufreq_policy *policy, in cpufreq_table_find_index_l()
919 static inline int cpufreq_table_find_index_h(struct cpufreq_policy *policy, in cpufreq_table_find_index_h()
1084 cpufreq_table_set_inefficient(struct cpufreq_policy *policy, in cpufreq_table_set_inefficient()
1167 static inline bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq()
[all …]
/linux/net/netlink/
A Dpolicy.c22 const struct nla_policy *policy; member
28 const struct nla_policy *policy, in add_policy()
82 const struct nla_policy *policy, in netlink_policy_dump_get_policy_idx()
127 const struct nla_policy *policy, in netlink_policy_dump_add_policy()
152 const struct nla_policy *policy; in netlink_policy_dump_add_policy() local
415 struct nlattr *policy; in netlink_policy_dump_write() local
/linux/drivers/thermal/
A Dcpufreq_cooling.c73 struct cpufreq_policy *policy; member
216 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_get_requested_power() local
314 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_power2state() local
328 struct cpufreq_policy *policy; in em_is_sane() local
387 struct cpufreq_policy *policy; in get_state_freq() local
517 struct cpufreq_policy *policy, in __cpufreq_cooling_register()
623 cpufreq_cooling_register(struct cpufreq_policy *policy) in cpufreq_cooling_register()
649 of_cpufreq_cooling_register(struct cpufreq_policy *policy) in of_cpufreq_cooling_register()
/linux/kernel/sched/
A Dcpufreq_schedutil.c24 struct cpufreq_policy *policy; member
150 struct cpufreq_policy *policy = sg_policy->policy; in get_next_freq() local
411 struct cpufreq_policy *policy = sg_policy->policy; in sugov_next_freq_shared() local
557 static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy) in sugov_policy_alloc()
592 struct cpufreq_policy *policy = sg_policy->policy; in sugov_kthread_create() local
656 static int sugov_init(struct cpufreq_policy *policy) in sugov_init()
732 static void sugov_exit(struct cpufreq_policy *policy) in sugov_exit()
752 static int sugov_start(struct cpufreq_policy *policy) in sugov_start()
790 static void sugov_stop(struct cpufreq_policy *policy) in sugov_stop()
806 static void sugov_limits(struct cpufreq_policy *policy) in sugov_limits()
[all …]

Completed in 50 milliseconds

123456789