ssi_protocol.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * ssip_slave.h
  3. *
  4. * SSIP slave support header file
  5. *
  6. * Copyright (C) 2010 Nokia Corporation. All rights reserved.
  7. *
  8. * Contact: Carlos Chinea <carlos.chinea@nokia.com>
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License
  12. * version 2 as published by the Free Software Foundation.
  13. *
  14. * This program is distributed in the hope that it will be useful, but
  15. * WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  22. * 02110-1301 USA
  23. */
  24. #ifndef __LINUX_SSIP_SLAVE_H__
  25. #define __LINUX_SSIP_SLAVE_H__
  26. #include <linux/hsi/hsi.h>
  27. static inline void ssip_slave_put_master(struct hsi_client *master)
  28. {
  29. }
  30. struct hsi_client *ssip_slave_get_master(struct hsi_client *slave);
  31. int ssip_slave_start_tx(struct hsi_client *master);
  32. int ssip_slave_stop_tx(struct hsi_client *master);
  33. void ssip_reset_event(struct hsi_client *master);
  34. int ssip_slave_running(struct hsi_client *master);
  35. #endif /* __LINUX_SSIP_SLAVE_H__ */