mic_fops.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Intel MIC Platform Software Stack (MPSS)
  3. *
  4. * Copyright(c) 2013 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. * The full GNU General Public License is included in this distribution in
  16. * the file called "COPYING".
  17. *
  18. * Intel MIC Host driver.
  19. *
  20. */
  21. #ifndef _MIC_FOPS_H_
  22. #define _MIC_FOPS_H_
  23. int mic_open(struct inode *inode, struct file *filp);
  24. int mic_release(struct inode *inode, struct file *filp);
  25. ssize_t mic_read(struct file *filp, char __user *buf,
  26. size_t count, loff_t *pos);
  27. long mic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
  28. int mic_mmap(struct file *f, struct vm_area_struct *vma);
  29. unsigned int mic_poll(struct file *f, poll_table *wait);
  30. #endif