Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dpowercap.c184 struct scmi_powercap_info *dom_info = pinfo->powercaps + domain; in scmi_powercap_domain_attributes_get() local
199 dom_info->id = domain; in scmi_powercap_domain_attributes_get()
200 dom_info->notify_powercap_cap_change = in scmi_powercap_domain_attributes_get()
202 dom_info->notify_powercap_measurement_change = in scmi_powercap_domain_attributes_get()
204 dom_info->async_powercap_cap_set = in scmi_powercap_domain_attributes_get()
206 dom_info->powercap_cap_config = in scmi_powercap_domain_attributes_get()
208 dom_info->powercap_monitoring = in scmi_powercap_domain_attributes_get()
210 dom_info->powercap_pai_config = in scmi_powercap_domain_attributes_get()
212 dom_info->powercap_scale_mw = in scmi_powercap_domain_attributes_get()
214 dom_info->powercap_scale_uw = in scmi_powercap_domain_attributes_get()
[all …]
H A 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 …]
H A 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 …]
H A Dperf.c182 struct perf_dom_info *dom_info; member
231 xa_destroy(&((pinfo->dom_info + domain)->opps_by_idx)); in scmi_perf_xa_destroy()
232 xa_destroy(&((pinfo->dom_info + domain)->opps_by_lvl)); in scmi_perf_xa_destroy()
238 struct perf_dom_info *dom_info, in scmi_perf_domain_attributes_get() argument
247 sizeof(dom_info->id), sizeof(*attr), &t); in scmi_perf_domain_attributes_get()
251 put_unaligned_le32(dom_info->id, t->tx.buf); in scmi_perf_domain_attributes_get()
258 dom_info->set_limits = SUPPORTS_SET_LIMITS(flags); in scmi_perf_domain_attributes_get()
259 dom_info->info.set_perf = SUPPORTS_SET_PERF_LVL(flags); in scmi_perf_domain_attributes_get()
260 dom_info->perf_limit_notify = SUPPORTS_PERF_LIMIT_NOTIFY(flags); in scmi_perf_domain_attributes_get()
261 dom_info->perf_level_notify = SUPPORTS_PERF_LEVEL_NOTIFY(flags); in scmi_perf_domain_attributes_get()
[all …]