Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * ssip_slave.h
0004  *
0005  * SSIP slave support header file
0006  *
0007  * Copyright (C) 2010 Nokia Corporation. All rights reserved.
0008  *
0009  * Contact: Carlos Chinea <carlos.chinea@nokia.com>
0010  */
0011 
0012 #ifndef __LINUX_SSIP_SLAVE_H__
0013 #define __LINUX_SSIP_SLAVE_H__
0014 
0015 #include <linux/hsi/hsi.h>
0016 
0017 static inline void ssip_slave_put_master(struct hsi_client *master)
0018 {
0019 }
0020 
0021 struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
0022 int ssip_slave_start_tx(struct hsi_client *master);
0023 int ssip_slave_stop_tx(struct hsi_client *master);
0024 void ssip_reset_event(struct hsi_client *master);
0025 
0026 int ssip_slave_running(struct hsi_client *master);
0027 
0028 #endif /* __LINUX_SSIP_SLAVE_H__ */
0029