1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * SSIP slave support header file
7 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
9 * Contact: Carlos Chinea <carlos.chinea@nokia.com>
12 #ifndef __LINUX_SSIP_SLAVE_H__
13 #define __LINUX_SSIP_SLAVE_H__
15 #include <linux/hsi/hsi.h>
17 static inline void ssip_slave_put_master(struct hsi_client
*master
)
21 struct hsi_client
*ssip_slave_get_master(struct hsi_client
*slave
);
22 int ssip_slave_start_tx(struct hsi_client
*master
);
23 int ssip_slave_stop_tx(struct hsi_client
*master
);
24 void ssip_reset_event(struct hsi_client
*master
);
26 int ssip_slave_running(struct hsi_client
*master
);
27 void ssi_waketest(struct hsi_client
*cl
, unsigned int enable
);
29 #endif /* __LINUX_SSIP_SLAVE_H__ */