David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 28 | #endif /* __LINUX_SSIP_SLAVE_H__ */ |
| 29 | |