1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * ssip_slave.h |
4 | * |
5 | * SSIP slave support header file |
6 | * |
7 | * Copyright (C) 2010 Nokia Corporation. All rights reserved. |
8 | * |
9 | * Contact: Carlos Chinea <carlos.chinea@nokia.com> |
10 | */ |
11 | |
12 | #ifndef __LINUX_SSIP_SLAVE_H__ |
13 | #define __LINUX_SSIP_SLAVE_H__ |
14 | |
15 | #include <linux/hsi/hsi.h> |
16 | |
17 | static inline void ssip_slave_put_master(struct hsi_client *master) |
18 | { |
19 | } |
20 | |
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); |
25 | |
26 | int ssip_slave_running(struct hsi_client *master); |
27 | void ssi_waketest(struct hsi_client *cl, unsigned int enable); |
28 | |
29 | #endif /* __LINUX_SSIP_SLAVE_H__ */ |
30 | |
31 | |