xref: /openbmc/linux/include/linux/hsi/ssi_protocol.h (revision 32a31bd4)
12b27bdccSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2dc7bf5d7SSebastian Reichel /*
3dc7bf5d7SSebastian Reichel  * ssip_slave.h
4dc7bf5d7SSebastian Reichel  *
5dc7bf5d7SSebastian Reichel  * SSIP slave support header file
6dc7bf5d7SSebastian Reichel  *
7dc7bf5d7SSebastian Reichel  * Copyright (C) 2010 Nokia Corporation. All rights reserved.
8dc7bf5d7SSebastian Reichel  *
9dc7bf5d7SSebastian Reichel  * Contact: Carlos Chinea <carlos.chinea@nokia.com>
10dc7bf5d7SSebastian Reichel  */
11dc7bf5d7SSebastian Reichel 
12dc7bf5d7SSebastian Reichel #ifndef __LINUX_SSIP_SLAVE_H__
13dc7bf5d7SSebastian Reichel #define __LINUX_SSIP_SLAVE_H__
14dc7bf5d7SSebastian Reichel 
15dc7bf5d7SSebastian Reichel #include <linux/hsi/hsi.h>
16dc7bf5d7SSebastian Reichel 
ssip_slave_put_master(struct hsi_client * master)17dc7bf5d7SSebastian Reichel static inline void ssip_slave_put_master(struct hsi_client *master)
18dc7bf5d7SSebastian Reichel {
19dc7bf5d7SSebastian Reichel }
20dc7bf5d7SSebastian Reichel 
21dc7bf5d7SSebastian Reichel struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
22dc7bf5d7SSebastian Reichel int ssip_slave_start_tx(struct hsi_client *master);
23dc7bf5d7SSebastian Reichel int ssip_slave_stop_tx(struct hsi_client *master);
24dc7bf5d7SSebastian Reichel void ssip_reset_event(struct hsi_client *master);
25dc7bf5d7SSebastian Reichel 
26dc7bf5d7SSebastian Reichel int ssip_slave_running(struct hsi_client *master);
27*32a31bd4SArnd Bergmann void ssi_waketest(struct hsi_client *cl, unsigned int enable);
28dc7bf5d7SSebastian Reichel 
29dc7bf5d7SSebastian Reichel #endif /* __LINUX_SSIP_SLAVE_H__ */
30dc7bf5d7SSebastian Reichel 
31