Lines Matching defs:handle
35 static int scmi_system_request_notify(const struct scmi_handle *handle,
42 ret = scmi_xfer_get_init(handle, SYSTEM_POWER_STATE_NOTIFY,
50 ret = scmi_do_xfer(handle, t);
52 scmi_xfer_put(handle, t);
56 static int scmi_system_set_notify_enabled(const struct scmi_handle *handle,
61 ret = scmi_system_request_notify(handle, enable);
68 static void *scmi_system_fill_custom_report(const struct scmi_handle *handle,
104 static int scmi_system_protocol_init(struct scmi_handle *handle)
109 scmi_version_get(handle, SCMI_PROTOCOL_SYSTEM, &version);
111 dev_dbg(handle->dev, "System Power Version %d.%d\n",
114 pinfo = devm_kzalloc(handle->dev, sizeof(*pinfo), GFP_KERNEL);
118 scmi_register_protocol_events(handle,
126 handle->system_priv = pinfo;