1 /* SPDX-License-Identifier: GPL-2.0 */
3 * System Control and Management Interface (SCMI) Message Protocol
4 * Raw mode support header.
6 * Copyright (C) 2022 ARM Ltd.
8 #ifndef _SCMI_RAW_MODE_H
9 #define _SCMI_RAW_MODE_H
20 void *scmi_raw_mode_init(const struct scmi_handle *handle,
21 struct dentry *top_dentry, int instance_id,
22 u8 *channels, int num_chans,
23 const struct scmi_desc *desc, int tx_max_msg);
24 void scmi_raw_mode_cleanup(void *raw);
26 void scmi_raw_message_report(void *raw, struct scmi_xfer *xfer,
27 unsigned int idx, unsigned int chan_id);
28 void scmi_raw_error_report(void *raw, struct scmi_chan_info *cinfo,
29 u32 msg_hdr, void *priv);
31 #endif /* _SCMI_RAW_MODE_H */