blob: a501d1b48255011316a4f3698b9156f61322335b [file] [log] [blame]
Etienne Carriere02fd1262020-09-09 18:44:00 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019-2020 Linaro Limited.
4 */
5#ifndef _SCMI_AGENT_UCLASS_H
6#define _SCMI_AGENT_UCLASS_H
7
8struct udevice;
9struct scmi_msg;
10
11/**
12 * struct scmi_transport_ops - The functions that a SCMI transport layer must implement.
13 */
14struct scmi_agent_ops {
15 /*
16 * process_msg - Request transport to get the SCMI message processed
17 *
18 * @agent: Agent using the transport
19 * @msg: SCMI message to be transmitted
20 */
21 int (*process_msg)(struct udevice *dev, struct scmi_msg *msg);
22};
23
24#endif /* _SCMI_TRANSPORT_UCLASS_H */