sof-client.h (5c68005083d620b1499fc81926a514d39ae8b88c) sof-client.h (70dad53ddff0778c4920a1ee9eb1cfea539d4e91)
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3#ifndef __SOC_SOF_CLIENT_H
4#define __SOC_SOF_CLIENT_H
5
6#include <linux/auxiliary_bus.h>
7#include <linux/device.h>
8#include <linux/list.h>

--- 61 unchanged lines hidden (view full) ---

70/* DSP state notification and query */
71typedef void (*sof_client_fw_state_callback)(struct sof_client_dev *cdev,
72 enum sof_fw_state state);
73
74int sof_client_register_fw_state_handler(struct sof_client_dev *cdev,
75 sof_client_fw_state_callback callback);
76void sof_client_unregister_fw_state_handler(struct sof_client_dev *cdev);
77enum sof_fw_state sof_client_get_fw_state(struct sof_client_dev *cdev);
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3#ifndef __SOC_SOF_CLIENT_H
4#define __SOC_SOF_CLIENT_H
5
6#include <linux/auxiliary_bus.h>
7#include <linux/device.h>
8#include <linux/list.h>

--- 61 unchanged lines hidden (view full) ---

70/* DSP state notification and query */
71typedef void (*sof_client_fw_state_callback)(struct sof_client_dev *cdev,
72 enum sof_fw_state state);
73
74int sof_client_register_fw_state_handler(struct sof_client_dev *cdev,
75 sof_client_fw_state_callback callback);
76void sof_client_unregister_fw_state_handler(struct sof_client_dev *cdev);
77enum sof_fw_state sof_client_get_fw_state(struct sof_client_dev *cdev);
78int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf);
78
79#endif /* __SOC_SOF_CLIENT_H */
79
80#endif /* __SOC_SOF_CLIENT_H */