ssi_protocol.h 700 B

1234567891011121314151617181920212223242526272829
  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 <[email protected]>
  10. */
  11. #ifndef __LINUX_SSIP_SLAVE_H__
  12. #define __LINUX_SSIP_SLAVE_H__
  13. #include <linux/hsi/hsi.h>
  14. static inline void ssip_slave_put_master(struct hsi_client *master)
  15. {
  16. }
  17. struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
  18. int ssip_slave_start_tx(struct hsi_client *master);
  19. int ssip_slave_stop_tx(struct hsi_client *master);
  20. void ssip_reset_event(struct hsi_client *master);
  21. int ssip_slave_running(struct hsi_client *master);
  22. #endif /* __LINUX_SSIP_SLAVE_H__ */