Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 181) sorted by relevance

12345678

/drivers/cpufreq/
Dcpufreq.c80 static unsigned int __cpufreq_get(struct cpufreq_policy *policy);
81 static int cpufreq_init_governor(struct cpufreq_policy *policy);
82 static void cpufreq_exit_governor(struct cpufreq_policy *policy);
83 static void cpufreq_governor_limits(struct cpufreq_policy *policy);
84 static int cpufreq_set_policy(struct cpufreq_policy *policy,
117 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj() argument
120 return &policy->kobj; in get_governor_parent_kobj()
171 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init() argument
175 policy->freq_table = table; in cpufreq_generic_init()
176 policy->cpuinfo.transition_latency = transition_latency; in cpufreq_generic_init()
[all …]
Dcpufreq_userspace.c28 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) in cpufreq_set() argument
31 unsigned int *setspeed = policy->governor_data; in cpufreq_set()
33 pr_debug("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq); in cpufreq_set()
36 if (!per_cpu(cpu_is_managed, policy->cpu)) in cpufreq_set()
41 ret = __cpufreq_driver_target(policy, freq, CPUFREQ_RELATION_L); in cpufreq_set()
47 static ssize_t show_speed(struct cpufreq_policy *policy, char *buf) in show_speed() argument
49 return sprintf(buf, "%u\n", policy->cur); in show_speed()
52 static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy) in cpufreq_userspace_policy_init() argument
60 policy->governor_data = setspeed; in cpufreq_userspace_policy_init()
64 static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy) in cpufreq_userspace_policy_exit() argument
[all …]
Dfreq_table.c18 bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq() argument
20 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq()
33 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo() argument
55 trace_android_vh_freq_table_limits(policy, min_freq, max_freq); in cpufreq_frequency_table_cpuinfo()
56 policy->min = policy->cpuinfo.min_freq = min_freq; in cpufreq_frequency_table_cpuinfo()
57 policy->max = max_freq; in cpufreq_frequency_table_cpuinfo()
62 if (policy->cpuinfo.max_freq < max_freq) in cpufreq_frequency_table_cpuinfo()
63 policy->max = policy->cpuinfo.max_freq = max_freq; in cpufreq_frequency_table_cpuinfo()
65 if (policy->min == ~0) in cpufreq_frequency_table_cpuinfo()
71 int cpufreq_frequency_table_verify(struct cpufreq_policy_data *policy, in cpufreq_frequency_table_verify() argument
[all …]
Dsh-cpufreq.c33 struct cpufreq_policy *policy; member
45 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() local
46 int cpu = policy->cpu; in __sh_cpufreq_target()
60 if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) in __sh_cpufreq_target()
69 cpufreq_freq_transition_begin(target->policy, &freqs); in __sh_cpufreq_target()
71 cpufreq_freq_transition_end(target->policy, &freqs, 0); in __sh_cpufreq_target()
80 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target() argument
84 struct cpufreq_target data = { .policy = policy, .freq = target_freq }; in sh_cpufreq_target()
86 return work_on_cpu(policy->cpu, __sh_cpufreq_target, &data); in sh_cpufreq_target()
89 static int sh_cpufreq_verify(struct cpufreq_policy_data *policy) in sh_cpufreq_verify() argument
[all …]
Dacpi-cpufreq.c130 static int set_boost(struct cpufreq_policy *policy, int val) in set_boost() argument
132 on_each_cpu_mask(policy->cpus, boost_set_msr_each, in set_boost()
135 cpumask_pr_args(policy->cpus), val ? "en" : "dis"); in set_boost()
140 static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf) in show_freqdomain_cpus() argument
142 struct acpi_cpufreq_data *data = policy->driver_data; in show_freqdomain_cpus()
153 static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf, in store_cpb() argument
167 set_boost(policy, val); in store_cpb()
173 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb() argument
195 static unsigned extract_io(struct cpufreq_policy *policy, u32 value) in extract_io() argument
197 struct acpi_cpufreq_data *data = policy->driver_data; in extract_io()
[all …]
Dgx-suspmod.c250 static void gx_set_cpuspeed(struct cpufreq_policy *policy, unsigned int khz) in gx_set_cpuspeed() argument
264 cpufreq_freq_transition_begin(policy, &freqs); in gx_set_cpuspeed()
313 cpufreq_freq_transition_end(policy, &freqs, 0); in gx_set_cpuspeed()
331 static int cpufreq_gx_verify(struct cpufreq_policy_data *policy) in cpufreq_gx_verify() argument
336 if (!stock_freq || !policy) in cpufreq_gx_verify()
339 policy->cpu = 0; in cpufreq_gx_verify()
340 cpufreq_verify_within_limits(policy, (stock_freq / max_duration), in cpufreq_gx_verify()
349 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); in cpufreq_gx_verify()
350 if (tmp_freq < policy->min) in cpufreq_gx_verify()
352 policy->min = tmp_freq; in cpufreq_gx_verify()
[all …]
Dcpufreq_governor.c102 for_each_cpu(j, policy_dbs->policy->cpus) { in gov_update_cpu_data()
114 unsigned int dbs_update(struct cpufreq_policy *policy) in dbs_update() argument
116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_update()
137 for_each_cpu(j, policy->cpus) { in dbs_update()
235 struct cpufreq_policy *policy; in dbs_work_handler() local
239 policy = policy_dbs->policy; in dbs_work_handler()
240 gov = dbs_governor_of(policy); in dbs_work_handler()
247 gov_update_sample_delay(policy_dbs, gov->gov_dbs_update(policy)); in dbs_work_handler()
276 if (!cpufreq_this_cpu_can_update(policy_dbs->policy)) in dbs_update_util_handler()
325 struct cpufreq_policy *policy = policy_dbs->policy; in gov_set_update_util() local
[all …]
Dcppc_cpufreq.c155 static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_init() argument
163 for_each_cpu(cpu, policy->cpus) { in cppc_cpufreq_cpu_fie_init()
166 cppc_fi->cpu_data = policy->driver_data; in cppc_cpufreq_cpu_fie_init()
185 topology_set_scale_freq_source(&cppc_sftd, policy->cpus); in cppc_cpufreq_cpu_fie_init()
196 static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit() argument
205 topology_clear_scale_freq_source(SCALE_FREQ_SOURCE_CPPC, policy->related_cpus); in cppc_cpufreq_cpu_fie_exit()
207 for_each_cpu(cpu, policy->related_cpus) { 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() argument
261 static inline void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit() argument
361 static int cppc_cpufreq_set_target(struct cpufreq_policy *policy, in cppc_cpufreq_set_target() argument
[all …]
Dmediatek-cpufreq-hw.c60 struct cpufreq_policy *policy; in mtk_cpufreq_get_cpu_power() local
63 policy = cpufreq_cpu_get_raw(cpu_dev->id); in mtk_cpufreq_get_cpu_power()
64 if (!policy) in mtk_cpufreq_get_cpu_power()
67 data = policy->driver_data; in mtk_cpufreq_get_cpu_power()
82 static int mtk_cpufreq_hw_target_index(struct cpufreq_policy *policy, in mtk_cpufreq_hw_target_index() argument
85 struct mtk_cpufreq_data *data = policy->driver_data; in mtk_cpufreq_hw_target_index()
95 struct cpufreq_policy *policy; in mtk_cpufreq_hw_get() local
98 policy = cpufreq_cpu_get_raw(cpu); in mtk_cpufreq_hw_get()
99 if (!policy) in mtk_cpufreq_hw_get()
102 data = policy->driver_data; in mtk_cpufreq_hw_get()
[all …]
Dlongrun.c35 static void longrun_get_policy(struct cpufreq_policy *policy) in longrun_get_policy() argument
42 policy->policy = CPUFREQ_POLICY_PERFORMANCE; in longrun_get_policy()
44 policy->policy = CPUFREQ_POLICY_POWERSAVE; in longrun_get_policy()
53 policy->min = policy->max = longrun_high_freq; in longrun_get_policy()
55 policy->min = longrun_low_freq + msr_lo * in longrun_get_policy()
57 policy->max = longrun_low_freq + msr_hi * in longrun_get_policy()
60 policy->cpu = 0; in longrun_get_policy()
71 static int longrun_set_policy(struct cpufreq_policy *policy) in longrun_set_policy() argument
76 if (!policy) in longrun_set_policy()
83 pctg_lo = (policy->min - longrun_low_freq) / in longrun_set_policy()
[all …]
Dcpufreq_ondemand.c61 static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy, in generic_powersave_bias_target() argument
68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target()
72 struct cpufreq_frequency_table *freq_table = policy->freq_table; in generic_powersave_bias_target()
80 index = cpufreq_frequency_table_target(policy, freq_next, relation); in generic_powersave_bias_target()
86 index = cpufreq_table_find_index_h(policy, freq_avg); in generic_powersave_bias_target()
88 index = cpufreq_table_find_index_l(policy, freq_avg); in generic_powersave_bias_target()
106 static void ondemand_powersave_bias_init(struct cpufreq_policy *policy) in ondemand_powersave_bias_init() argument
108 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in ondemand_powersave_bias_init()
113 static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq) in dbs_freq_increase() argument
115 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_freq_increase()
[all …]
Dqcom-cpufreq-hw.c55 struct cpufreq_policy *policy; member
61 static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy, in qcom_cpufreq_set_bw() argument
69 dev = get_cpu_device(policy->cpu); in qcom_cpufreq_set_bw()
102 static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy, in qcom_cpufreq_hw_target_index() argument
105 struct qcom_cpufreq_data *data = policy->driver_data; in qcom_cpufreq_hw_target_index()
107 unsigned long freq = policy->freq_table[index].frequency; in qcom_cpufreq_hw_target_index()
112 qcom_cpufreq_set_bw(policy, freq); in qcom_cpufreq_hw_target_index()
121 struct cpufreq_policy *policy; in qcom_cpufreq_hw_get() local
124 policy = cpufreq_cpu_get_raw(cpu); in qcom_cpufreq_hw_get()
125 if (!policy) in qcom_cpufreq_hw_get()
[all …]
Dppc_cbe_cpufreq.c55 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_init() argument
63 cpu = of_get_cpu_node(policy->cpu, NULL); in cbe_cpufreq_cpu_init()
68 pr_debug("init cpufreq on CPU %d\n", policy->cpu); in cbe_cpufreq_cpu_init()
73 if (!cbe_get_cpu_pmd_regs(policy->cpu) || in cbe_cpufreq_cpu_init()
74 !cbe_get_cpu_mic_tm_regs(policy->cpu)) { in cbe_cpufreq_cpu_init()
101 policy->cpuinfo.transition_latency = 25000; in cbe_cpufreq_cpu_init()
103 cur_pmode = cbe_cpufreq_get_pmode(policy->cpu); in cbe_cpufreq_cpu_init()
106 policy->cur = cbe_freqs[cur_pmode].frequency; in cbe_cpufreq_cpu_init()
109 cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu)); in cbe_cpufreq_cpu_init()
112 policy->freq_table = cbe_freqs; in cbe_cpufreq_cpu_init()
[all …]
Damd_freq_sensitivity.c39 static unsigned int amd_powersave_bias_target(struct cpufreq_policy *policy, in amd_powersave_bias_target() argument
46 struct cpu_data_t *data = &per_cpu(cpu_data, policy->cpu); in amd_powersave_bias_target()
47 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target()
51 if (!policy->freq_table) in amd_powersave_bias_target()
54 rdmsr_on_cpu(policy->cpu, MSR_AMD64_FREQ_SENSITIVITY_ACTUAL, in amd_powersave_bias_target()
56 rdmsr_on_cpu(policy->cpu, MSR_AMD64_FREQ_SENSITIVITY_REFERENCE, in amd_powersave_bias_target()
63 freq_next = policy->cur; in amd_powersave_bias_target()
72 freq_next = policy->cur; in amd_powersave_bias_target()
83 if (data->freq_prev == policy->cur) in amd_powersave_bias_target()
84 freq_next = policy->cur; in amd_powersave_bias_target()
[all …]
Dscmi-cpufreq.c35 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scmi_cpufreq_get_rate() local
36 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_get_rate()
52 scmi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scmi_cpufreq_set_target() argument
54 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_set_target()
55 u64 freq = policy->freq_table[index].frequency; in scmi_cpufreq_set_target()
60 static unsigned int scmi_cpufreq_fast_switch(struct cpufreq_policy *policy, in scmi_cpufreq_fast_switch() argument
63 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_fast_switch()
121 static int scmi_cpufreq_init(struct cpufreq_policy *policy) in scmi_cpufreq_init() argument
129 cpu_dev = get_cpu_device(policy->cpu); in scmi_cpufreq_init()
131 pr_err("failed to get cpu%d device\n", policy->cpu); in scmi_cpufreq_init()
[all …]
Dscpi-cpufreq.c40 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scpi_cpufreq_get_rate() local
41 struct scpi_data *priv = policy->driver_data; in scpi_cpufreq_get_rate()
48 scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scpi_cpufreq_set_target() argument
50 u64 rate = policy->freq_table[index].frequency * 1000; in scpi_cpufreq_set_target()
51 struct scpi_data *priv = policy->driver_data; in scpi_cpufreq_set_target()
91 static int scpi_cpufreq_init(struct cpufreq_policy *policy) in scpi_cpufreq_init() argument
99 cpu_dev = get_cpu_device(policy->cpu); in scpi_cpufreq_init()
101 pr_err("failed to get cpu%d device\n", policy->cpu); in scpi_cpufreq_init()
111 ret = scpi_get_sharing_cpus(cpu_dev, policy->cpus); in scpi_cpufreq_init()
117 ret = dev_pm_opp_set_sharing_cpus(cpu_dev, policy->cpus); in scpi_cpufreq_init()
[all …]
Dintel_pstate.c229 unsigned int policy; member
405 static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) in intel_pstate_init_acpi_perf_limits() argument
412 intel_pstate_set_itmt_prio(policy->cpu); in intel_pstate_init_acpi_perf_limits()
419 cpu = all_cpu_data[policy->cpu]; in intel_pstate_init_acpi_perf_limits()
422 policy->cpu); in intel_pstate_init_acpi_perf_limits()
442 pr_debug("CPU%u - ACPI _PSS perf data\n", policy->cpu); in intel_pstate_init_acpi_perf_limits()
458 acpi_processor_unregister_performance(policy->cpu); in intel_pstate_init_acpi_perf_limits()
461 static void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy) in intel_pstate_exit_perf_limits() argument
465 cpu = all_cpu_data[policy->cpu]; in intel_pstate_exit_perf_limits()
469 acpi_processor_unregister_performance(policy->cpu); in intel_pstate_exit_perf_limits()
[all …]
Dcpufreq_stats.c58 static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf) in show_total_trans() argument
60 struct cpufreq_stats *stats = policy->stats; in show_total_trans()
69 static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf) in show_time_in_state() argument
71 struct cpufreq_stats *stats = policy->stats; in show_time_in_state()
103 static ssize_t store_reset(struct cpufreq_policy *policy, const char *buf, in store_reset() argument
106 struct cpufreq_stats *stats = policy->stats; in store_reset()
124 static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf) in show_trans_table() argument
126 struct cpufreq_stats *stats = policy->stats; in show_trans_table()
196 void cpufreq_stats_free_table(struct cpufreq_policy *policy) in cpufreq_stats_free_table() argument
198 struct cpufreq_stats *stats = policy->stats; in cpufreq_stats_free_table()
[all …]
Dcpufreq_conservative.c38 struct cpufreq_policy *policy) in get_freq_step() argument
40 unsigned int freq_step = (cs_tuners->freq_step * policy->max) / 100; in get_freq_step()
58 static unsigned int cs_dbs_update(struct cpufreq_policy *policy) in cs_dbs_update() argument
60 struct policy_dbs_info *policy_dbs = policy->governor_data; in cs_dbs_update()
65 unsigned int load = dbs_update(policy); in cs_dbs_update()
80 if (requested_freq > policy->max || requested_freq < policy->min) { in cs_dbs_update()
81 requested_freq = policy->cur; in cs_dbs_update()
85 freq_step = get_freq_step(cs_tuners, policy); in cs_dbs_update()
94 if (requested_freq > policy->min + freq_steps) in cs_dbs_update()
97 requested_freq = policy->min; in cs_dbs_update()
[all …]
Dcpufreq-nforce2.c250 static int nforce2_target(struct cpufreq_policy *policy, in nforce2_target() argument
257 if ((target_freq > policy->max) || (target_freq < policy->min)) in nforce2_target()
262 freqs.old = nforce2_get(policy->cpu); in nforce2_target()
271 cpufreq_freq_transition_begin(policy, &freqs); in nforce2_target()
285 cpufreq_freq_transition_end(policy, &freqs, 0); in nforce2_target()
294 static int nforce2_verify(struct cpufreq_policy_data *policy) in nforce2_verify() argument
298 fsb_pol_max = policy->max / (fid * 100); in nforce2_verify()
300 if (policy->min < (fsb_pol_max * fid * 100)) in nforce2_verify()
301 policy->max = (fsb_pol_max + 1) * fid * 100; in nforce2_verify()
303 cpufreq_verify_within_cpu_limits(policy); in nforce2_verify()
[all …]
Ds3c64xx-cpufreq.c51 static int s3c64xx_cpufreq_set_target(struct cpufreq_policy *policy, in s3c64xx_cpufreq_set_target() argument
58 old_freq = clk_get_rate(policy->clk) / 1000; in s3c64xx_cpufreq_set_target()
75 ret = clk_set_rate(policy->clk, new_freq * 1000); in s3c64xx_cpufreq_set_target()
90 if (clk_set_rate(policy->clk, old_freq * 1000) < 0) in s3c64xx_cpufreq_set_target()
99 clk_get_rate(policy->clk) / 1000); in s3c64xx_cpufreq_set_target()
143 static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy) in s3c64xx_cpufreq_driver_init() argument
147 if (policy->cpu != 0) in s3c64xx_cpufreq_driver_init()
150 policy->clk = clk_get(NULL, "armclk"); in s3c64xx_cpufreq_driver_init()
151 if (IS_ERR(policy->clk)) { in s3c64xx_cpufreq_driver_init()
153 PTR_ERR(policy->clk)); in s3c64xx_cpufreq_driver_init()
[all …]
Dppc_cbe_cpufreq_pmi.c67 struct cpufreq_policy *policy; in cbe_cpufreq_handle_pmi() local
81 policy = cpufreq_cpu_get(cpu); in cbe_cpufreq_handle_pmi()
82 if (!policy) { in cbe_cpufreq_handle_pmi()
87 req = policy->driver_data; in cbe_cpufreq_handle_pmi()
90 policy->freq_table[slow_mode].frequency); in cbe_cpufreq_handle_pmi()
96 cpufreq_cpu_put(policy); in cbe_cpufreq_handle_pmi()
104 void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_init() argument
116 ret = freq_qos_add_request(&policy->constraints, req, FREQ_QOS_MAX, in cbe_cpufreq_pmi_policy_init()
117 policy->freq_table[0].frequency); in cbe_cpufreq_pmi_policy_init()
124 policy->driver_data = req; in cbe_cpufreq_pmi_policy_init()
[all …]
Domap-cpufreq.c42 static int omap_target(struct cpufreq_policy *policy, unsigned int index) in omap_target() argument
49 old_freq = policy->cur; in omap_target()
53 ret = clk_round_rate(policy->clk, freq); in omap_target()
89 ret = clk_set_rate(policy->clk, new_freq * 1000); in omap_target()
97 clk_set_rate(policy->clk, old_freq * 1000); in omap_target()
111 static int omap_cpu_init(struct cpufreq_policy *policy) in omap_cpu_init() argument
115 policy->clk = clk_get(NULL, "cpufreq_ck"); in omap_cpu_init()
116 if (IS_ERR(policy->clk)) in omap_cpu_init()
117 return PTR_ERR(policy->clk); in omap_cpu_init()
124 __func__, policy->cpu, result); in omap_cpu_init()
[all …]
/drivers/thermal/
Dcpufreq_cooling.c75 struct cpufreq_policy *policy; member
219 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_get_requested_power() local
222 freq = cpufreq_quick_get(policy->cpu); in cpufreq_get_requested_power()
224 trace_android_vh_modify_thermal_request_freq(policy, &freq); in cpufreq_get_requested_power()
227 u32 ncpus = cpumask_weight(policy->related_cpus); in cpufreq_get_requested_power()
232 for_each_cpu(cpu, policy->related_cpus) { in cpufreq_get_requested_power()
251 trace_android_vh_modify_thermal_cpu_get_power(policy, power); in cpufreq_get_requested_power()
254 trace_thermal_power_cpu_get_power(policy->related_cpus, freq, in cpufreq_get_requested_power()
287 num_cpus = cpumask_weight(cpufreq_cdev->policy->cpus); in cpufreq_state2power()
321 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_power2state() local
[all …]
/drivers/hwtracing/stm/
Dpolicy.c31 struct stp_policy *policy; member
110 stm = policy_node->policy->stm; in stp_policy_node_masters_store()
157 stm = policy_node->policy->stm; in stp_policy_node_channels_store()
228 struct stp_policy *policy; in stp_policy_node_make() local
231 policy = container_of(group, struct stp_policy, group); in stp_policy_node_make()
235 policy = parent_node->policy; in stp_policy_node_make()
238 if (!policy->stm) in stp_policy_node_make()
241 pdrv = policy->stm->pdrv; in stp_policy_node_make()
251 if (policy->stm->pdrv_node_type) in stp_policy_node_make()
252 type = policy->stm->pdrv_node_type; in stp_policy_node_make()
[all …]

12345678