Linux 4.1.16
[linux/fpc-iii.git] / drivers / misc / mic / host / mic_fops.h
blobdc3893dff6679ac7dfebc4ee20a646f9de4dd572
1 /*
2 * Intel MIC Platform Software Stack (MPSS)
4 * Copyright(c) 2013 Intel Corporation.
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.
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.
15 * The full GNU General Public License is included in this distribution in
16 * the file called "COPYING".
18 * Intel MIC Host driver.
21 #ifndef _MIC_FOPS_H_
22 #define _MIC_FOPS_H_
24 int mic_open(struct inode *inode, struct file *filp);
25 int mic_release(struct inode *inode, struct file *filp);
26 ssize_t mic_read(struct file *filp, char __user *buf,
27 size_t count, loff_t *pos);
28 long mic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
29 int mic_mmap(struct file *f, struct vm_area_struct *vma);
30 unsigned int mic_poll(struct file *f, poll_table *wait);
32 #endif