Lines Matching refs:pinfo
45 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_notify_supported() local
50 return pinfo->power_state_notify_cmd; in scmi_system_notify_supported()
95 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_fill_custom_report() local
97 expected_sz = pinfo->graceful_timeout_supported ? in scmi_system_fill_custom_report()
107 if (pinfo->graceful_timeout_supported && in scmi_system_fill_custom_report()
146 struct scmi_system_info *pinfo; in scmi_system_protocol_init() local
155 pinfo = devm_kzalloc(ph->dev, sizeof(*pinfo), GFP_KERNEL); in scmi_system_protocol_init()
156 if (!pinfo) in scmi_system_protocol_init()
159 pinfo->version = version; in scmi_system_protocol_init()
160 if (PROTOCOL_REV_MAJOR(pinfo->version) >= 0x2) in scmi_system_protocol_init()
161 pinfo->graceful_timeout_supported = true; in scmi_system_protocol_init()
164 pinfo->power_state_notify_cmd = true; in scmi_system_protocol_init()
166 return ph->set_priv(ph, pinfo, version); in scmi_system_protocol_init()