Lines Matching full:rev
62 struct scmi_revision_info *rev = handle->version; in scmi_base_attributes_get() local
72 rev->num_protocols = attr_info->num_protocols; in scmi_base_attributes_get()
73 rev->num_agents = attr_info->num_agents; in scmi_base_attributes_get()
96 struct scmi_revision_info *rev = handle->version; in scmi_base_vendor_id_get() local
100 vendor_id = rev->sub_vendor_id; in scmi_base_vendor_id_get()
101 size = ARRAY_SIZE(rev->sub_vendor_id); in scmi_base_vendor_id_get()
104 vendor_id = rev->vendor_id; in scmi_base_vendor_id_get()
105 size = ARRAY_SIZE(rev->vendor_id); in scmi_base_vendor_id_get()
136 struct scmi_revision_info *rev = handle->version; in scmi_base_implementation_version_get() local
146 rev->impl_ver = le32_to_cpu(*impl_ver); in scmi_base_implementation_version_get()
329 struct scmi_revision_info *rev = handle->version; in scmi_base_protocol_init() local
339 rev->major_ver = PROTOCOL_REV_MAJOR(version), in scmi_base_protocol_init()
340 rev->minor_ver = PROTOCOL_REV_MINOR(version); in scmi_base_protocol_init()
350 rev->major_ver, rev->minor_ver, rev->vendor_id, in scmi_base_protocol_init()
351 rev->sub_vendor_id, rev->impl_ver); in scmi_base_protocol_init()
352 dev_dbg(dev, "Found %d protocol(s) %d agent(s)\n", rev->num_protocols, in scmi_base_protocol_init()
353 rev->num_agents); in scmi_base_protocol_init()
361 for (id = 0; id < rev->num_agents; id++) { in scmi_base_protocol_init()