Lines Matching refs:dom_info
71 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()
320 if (!pinfo->dom_info) in scmi_power_protocol_init()
324 struct power_dom_info *dom = pinfo->dom_info + domain; in scmi_power_protocol_init()