Searched refs:dom_info (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/ |
| H A D | reset.c | 65 struct reset_dom_info *dom_info; member 92 u32 domain, struct reset_dom_info *dom_info) in scmi_reset_domain_attributes_get() argument 110 dom_info->async_reset = SUPPORTS_ASYNC_RESET(attributes); in scmi_reset_domain_attributes_get() 111 dom_info->reset_notify = SUPPORTS_NOTIFY_RESET(attributes); in scmi_reset_domain_attributes_get() 112 dom_info->latency_us = le32_to_cpu(attr->latency); in scmi_reset_domain_attributes_get() 113 if (dom_info->latency_us == U32_MAX) in scmi_reset_domain_attributes_get() 114 dom_info->latency_us = 0; in scmi_reset_domain_attributes_get() 115 strlcpy(dom_info->name, attr->name, SCMI_MAX_STR_SIZE); in scmi_reset_domain_attributes_get() 134 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_name_get() 143 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_latency_get() [all …]
|
| H A D | perf.c | 171 struct perf_dom_info *dom_info; member 210 u32 domain, struct perf_dom_info *dom_info) in scmi_perf_domain_attributes_get() argument 228 dom_info->set_limits = SUPPORTS_SET_LIMITS(flags); in scmi_perf_domain_attributes_get() 229 dom_info->set_perf = SUPPORTS_SET_PERF_LVL(flags); in scmi_perf_domain_attributes_get() 230 dom_info->perf_limit_notify = SUPPORTS_PERF_LIMIT_NOTIFY(flags); in scmi_perf_domain_attributes_get() 231 dom_info->perf_level_notify = SUPPORTS_PERF_LEVEL_NOTIFY(flags); in scmi_perf_domain_attributes_get() 232 dom_info->perf_fastchannels = SUPPORTS_PERF_FASTCHANNELS(flags); in scmi_perf_domain_attributes_get() 233 dom_info->sustained_freq_khz = in scmi_perf_domain_attributes_get() 235 dom_info->sustained_perf_level = in scmi_perf_domain_attributes_get() 237 if (!dom_info->sustained_freq_khz || in scmi_perf_domain_attributes_get() [all …]
|
| H A D | power.c | 69 struct power_dom_info *dom_info; member 100 u32 domain, struct power_dom_info *dom_info) in scmi_power_domain_attributes_get() argument 118 dom_info->state_set_notify = SUPPORTS_STATE_SET_NOTIFY(flags); in scmi_power_domain_attributes_get() 119 dom_info->state_set_async = SUPPORTS_STATE_SET_ASYNC(flags); in scmi_power_domain_attributes_get() 120 dom_info->state_set_sync = SUPPORTS_STATE_SET_SYNC(flags); in scmi_power_domain_attributes_get() 121 strlcpy(dom_info->name, attr->name, SCMI_MAX_STR_SIZE); in scmi_power_domain_attributes_get() 181 struct power_dom_info *dom = pi->dom_info + domain; in scmi_power_name_get() 298 pinfo->dom_info = devm_kcalloc(ph->dev, pinfo->num_domains, in scmi_power_protocol_init() 299 sizeof(*pinfo->dom_info), GFP_KERNEL); in scmi_power_protocol_init() 300 if (!pinfo->dom_info) in scmi_power_protocol_init() [all …]
|