Lines Matching full:rev

71 	struct scmi_revision_info *rev = ph->get_priv(ph);  in scmi_base_attributes_get()  local
81 rev->num_protocols = attr_info->num_protocols; in scmi_base_attributes_get()
82 rev->num_agents = attr_info->num_agents; in scmi_base_attributes_get()
105 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_vendor_id_get() local
109 vendor_id = rev->sub_vendor_id; in scmi_base_vendor_id_get()
110 size = ARRAY_SIZE(rev->sub_vendor_id); in scmi_base_vendor_id_get()
113 vendor_id = rev->vendor_id; in scmi_base_vendor_id_get()
114 size = ARRAY_SIZE(rev->vendor_id); in scmi_base_vendor_id_get()
145 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_implementation_version_get() local
155 rev->impl_ver = le32_to_cpu(*impl_ver); in scmi_base_implementation_version_get()
182 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_implementation_list_get() local
208 if (loop_num_ret > rev->num_protocols - tot_num_ret) { in scmi_base_implementation_list_get()
244 } while (tot_num_ret < rev->num_protocols); in scmi_base_implementation_list_get()
381 struct scmi_revision_info *rev = scmi_revision_area_get(ph); in scmi_base_protocol_init() local
387 rev->major_ver = PROTOCOL_REV_MAJOR(version); in scmi_base_protocol_init()
388 rev->minor_ver = PROTOCOL_REV_MINOR(version); in scmi_base_protocol_init()
389 ph->set_priv(ph, rev, version); in scmi_base_protocol_init()
395 prot_imp = devm_kcalloc(dev, rev->num_protocols, sizeof(u8), in scmi_base_protocol_init()
408 rev->major_ver, rev->minor_ver, rev->vendor_id, in scmi_base_protocol_init()
409 rev->sub_vendor_id, rev->impl_ver); in scmi_base_protocol_init()
410 dev_dbg(dev, "Found %d protocol(s) %d agent(s)\n", rev->num_protocols, in scmi_base_protocol_init()
411 rev->num_agents); in scmi_base_protocol_init()
413 for (id = 0; id < rev->num_agents; id++) { in scmi_base_protocol_init()