blob: 2d6f3cfa7deaa927bf4d3f3a3c92a72c2813ffe6 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
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 Scullb4b6d4a2019-01-02 15:54:55 +000010 */
11
12#ifndef __LINUX_SSIP_SLAVE_H__
13#define __LINUX_SSIP_SLAVE_H__
14
15#include <linux/hsi/hsi.h>
16
17static inline void ssip_slave_put_master(struct hsi_client *master)
18{
19}
20
21struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
22int ssip_slave_start_tx(struct hsi_client *master);
23int ssip_slave_stop_tx(struct hsi_client *master);
24void ssip_reset_event(struct hsi_client *master);
25
26int ssip_slave_running(struct hsi_client *master);
27
28#endif /* __LINUX_SSIP_SLAVE_H__ */
29