Lines Matching refs:ph
36 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify() argument
43 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify()
51 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify()
53 ph->xops->xfer_put(ph, t); in scmi_system_request_notify()
57 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled() argument
62 ret = scmi_system_request_notify(ph, enable); in scmi_system_set_notify_enabled()
70 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report() argument
114 static int scmi_system_protocol_init(const struct scmi_protocol_handle *ph) in scmi_system_protocol_init() argument
119 ph->xops->version_get(ph, &version); in scmi_system_protocol_init()
121 dev_dbg(ph->dev, "System Power Version %d.%d\n", in scmi_system_protocol_init()
124 pinfo = devm_kzalloc(ph->dev, sizeof(*pinfo), GFP_KERNEL); in scmi_system_protocol_init()
129 return ph->set_priv(ph, pinfo); in scmi_system_protocol_init()