Home
last modified time | relevance | path

Searched refs:dom_info (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/firmware/arm_scmi/
Dpowercap.c182 struct scmi_powercap_info *dom_info = pinfo->powercaps + domain; in scmi_powercap_domain_attributes_get() local
197 dom_info->id = domain; in scmi_powercap_domain_attributes_get()
198 dom_info->notify_powercap_cap_change = in scmi_powercap_domain_attributes_get()
200 dom_info->notify_powercap_measurement_change = in scmi_powercap_domain_attributes_get()
202 dom_info->async_powercap_cap_set = in scmi_powercap_domain_attributes_get()
204 dom_info->powercap_cap_config = in scmi_powercap_domain_attributes_get()
206 dom_info->powercap_monitoring = in scmi_powercap_domain_attributes_get()
208 dom_info->powercap_pai_config = in scmi_powercap_domain_attributes_get()
210 dom_info->powercap_scale_mw = in scmi_powercap_domain_attributes_get()
212 dom_info->powercap_scale_uw = in scmi_powercap_domain_attributes_get()
[all …]
Dreset.c67 struct reset_dom_info *dom_info; member
94 u32 domain, struct reset_dom_info *dom_info, in scmi_reset_domain_attributes_get() argument
114 dom_info->async_reset = SUPPORTS_ASYNC_RESET(attributes); in scmi_reset_domain_attributes_get()
115 dom_info->reset_notify = SUPPORTS_NOTIFY_RESET(attributes); in scmi_reset_domain_attributes_get()
116 dom_info->latency_us = le32_to_cpu(attr->latency); in scmi_reset_domain_attributes_get()
117 if (dom_info->latency_us == U32_MAX) in scmi_reset_domain_attributes_get()
118 dom_info->latency_us = 0; in scmi_reset_domain_attributes_get()
119 strscpy(dom_info->name, attr->name, SCMI_SHORT_NAME_MAX_SIZE); in scmi_reset_domain_attributes_get()
131 dom_info->name, SCMI_MAX_STR_SIZE); in scmi_reset_domain_attributes_get()
148 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_name_get()
[all …]
Dperf.c146 struct perf_dom_info *dom_info; member
191 u32 domain, struct perf_dom_info *dom_info, in scmi_perf_domain_attributes_get() argument
211 dom_info->set_limits = SUPPORTS_SET_LIMITS(flags); in scmi_perf_domain_attributes_get()
212 dom_info->set_perf = SUPPORTS_SET_PERF_LVL(flags); in scmi_perf_domain_attributes_get()
213 dom_info->perf_limit_notify = SUPPORTS_PERF_LIMIT_NOTIFY(flags); in scmi_perf_domain_attributes_get()
214 dom_info->perf_level_notify = SUPPORTS_PERF_LEVEL_NOTIFY(flags); in scmi_perf_domain_attributes_get()
215 dom_info->perf_fastchannels = SUPPORTS_PERF_FASTCHANNELS(flags); in scmi_perf_domain_attributes_get()
216 dom_info->sustained_freq_khz = in scmi_perf_domain_attributes_get()
218 dom_info->sustained_perf_level = in scmi_perf_domain_attributes_get()
220 if (!dom_info->sustained_freq_khz || in scmi_perf_domain_attributes_get()
[all …]
Dpower.c71 struct power_dom_info *dom_info; member
102 u32 domain, struct power_dom_info *dom_info, in scmi_power_domain_attributes_get() argument
122 dom_info->state_set_notify = SUPPORTS_STATE_SET_NOTIFY(flags); in scmi_power_domain_attributes_get()
123 dom_info->state_set_async = SUPPORTS_STATE_SET_ASYNC(flags); in scmi_power_domain_attributes_get()
124 dom_info->state_set_sync = SUPPORTS_STATE_SET_SYNC(flags); in scmi_power_domain_attributes_get()
125 strscpy(dom_info->name, attr->name, SCMI_SHORT_NAME_MAX_SIZE); in scmi_power_domain_attributes_get()
136 domain, dom_info->name, in scmi_power_domain_attributes_get()
197 struct power_dom_info *dom = pi->dom_info + domain; in scmi_power_name_get()
318 pinfo->dom_info = devm_kcalloc(ph->dev, pinfo->num_domains, in scmi_power_protocol_init()
319 sizeof(*pinfo->dom_info), GFP_KERNEL); in scmi_power_protocol_init()
[all …]