Lines Matching refs:dom_info
67 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()
157 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_latency_get()
174 rdom = pi->dom_info + domain; in scmi_domain_reset()
333 pinfo->dom_info = devm_kcalloc(ph->dev, pinfo->num_domains, in scmi_reset_protocol_init()
334 sizeof(*pinfo->dom_info), GFP_KERNEL); in scmi_reset_protocol_init()
335 if (!pinfo->dom_info) in scmi_reset_protocol_init()
339 struct reset_dom_info *dom = pinfo->dom_info + domain; in scmi_reset_protocol_init()