scif_peer_bus.h 969 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Intel MIC Platform Software Stack (MPSS)
  3. *
  4. * Copyright(c) 2014 Intel Corporation.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License, version 2, as
  8. * published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * Intel SCIF driver.
  16. */
  17. #ifndef _SCIF_PEER_BUS_H_
  18. #define _SCIF_PEER_BUS_H_
  19. #include <linux/device.h>
  20. #include <linux/mic_common.h>
  21. #include <linux/scif.h>
  22. struct scif_dev;
  23. void scif_add_peer_device(struct work_struct *work);
  24. void scif_peer_register_device(struct scif_dev *sdev);
  25. int scif_peer_unregister_device(struct scif_dev *scifdev);
  26. int scif_peer_bus_init(void);
  27. void scif_peer_bus_exit(void);
  28. #endif /* _SCIF_PEER_BUS_H */