Home
last modified time | relevance | path

Searched refs:mic_vdev (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/misc/mic/host/
Dmic_virtio.h64 struct mic_vdev *mvdev;
93 struct mic_vdev { struct
114 int mic_virtio_add_device(struct mic_vdev *mvdev, argument
116 void mic_virtio_del_device(struct mic_vdev *mvdev);
117 int mic_virtio_config_change(struct mic_vdev *mvdev,
119 int mic_virtio_copy_desc(struct mic_vdev *mvdev,
125 static inline struct device *mic_dev(struct mic_vdev *mvdev) in mic_dev()
131 static inline int mic_vdev_inited(struct mic_vdev *mvdev) in mic_vdev_inited()
151 static inline bool mic_vdevup(struct mic_vdev *mvdev) in mic_vdevup()
Dmic_fops.c32 struct mic_vdev *mvdev; in mic_open()
51 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; in mic_release()
62 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; in mic_ioctl()
139 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; in mic_poll()
155 mic_query_offset(struct mic_vdev *mvdev, unsigned long offset, in mic_query_offset()
194 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; in mic_mmap()
Dmic_virtio.c75 static int mic_virtio_copy_to_user(struct mic_vdev *mvdev, void __user *ubuf, in mic_virtio_copy_to_user()
124 static int mic_virtio_copy_from_user(struct mic_vdev *mvdev, void __user *ubuf, in mic_virtio_copy_from_user()
183 struct mic_vdev *mvdev = mvrh->mvdev; in mic_notify()
208 static int mic_vringh_copy(struct mic_vdev *mvdev, struct vringh_kiov *iov, in mic_vringh_copy()
255 static int _mic_virtio_copy(struct mic_vdev *mvdev, in _mic_virtio_copy()
346 static inline int mic_verify_copy_args(struct mic_vdev *mvdev, in mic_verify_copy_args()
358 int mic_virtio_copy_desc(struct mic_vdev *mvdev, in mic_virtio_copy_desc()
385 static void mic_virtio_init_post(struct mic_vdev *mvdev) in mic_virtio_init_post()
406 static inline void mic_virtio_device_reset(struct mic_vdev *mvdev) in mic_virtio_device_reset()
440 struct mic_vdev *mvdev; in mic_virtio_reset_devices()
[all …]
Dmic_debugfs.c202 struct mic_vdev *mvdev; in mic_vdev_info_show()
207 mvdev = list_entry(pos, struct mic_vdev, list); in mic_vdev_info_show()
/linux-4.4.14/drivers/misc/mic/card/
Dmic_virtio.c49 struct mic_vdev { struct
62 #define to_micvdev(vd) container_of(vd, struct mic_vdev, vdev) argument
65 static inline struct device *mic_dev(struct mic_vdev *mvdev) in mic_dev()
149 struct mic_vdev *mvdev = to_micvdev(vdev); in mic_set_status()
159 struct mic_vdev *mvdev = to_micvdev(vdev); in mic_reset_inform_host()
182 struct mic_vdev *mvdev = to_micvdev(vdev); in mic_reset()
196 struct mic_vdev *mvdev = vq->priv; in mic_notify()
204 struct mic_vdev *mvdev = to_micvdev(vq->vdev); in mic_del_vq()
215 struct mic_vdev *mvdev = to_micvdev(vdev); in mic_del_vqs()
235 struct mic_vdev *mvdev = to_micvdev(vdev); in mic_find_vq()
[all …]