Lines Matching refs:mdev_device

15 struct mdev_device {  struct
25 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() argument
27 return container_of(dev, struct mdev_device, dev); in to_mdev_device()
38 static inline void mdev_set_iommu_device(struct mdev_device *mdev, in mdev_set_iommu_device()
44 static inline struct device *mdev_get_iommu_device(struct mdev_device *mdev) in mdev_get_iommu_device()
49 unsigned int mdev_get_type_group_id(struct mdev_device *mdev);
107 int (*create)(struct mdev_device *mdev);
108 int (*remove)(struct mdev_device *mdev);
109 int (*open_device)(struct mdev_device *mdev);
110 void (*close_device)(struct mdev_device *mdev);
111 ssize_t (*read)(struct mdev_device *mdev, char __user *buf,
113 ssize_t (*write)(struct mdev_device *mdev, const char __user *buf,
115 long (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
117 int (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
118 void (*request)(struct mdev_device *mdev, unsigned int count);
149 int (*probe)(struct mdev_device *dev);
150 void (*remove)(struct mdev_device *dev);
154 static inline void *mdev_get_drvdata(struct mdev_device *mdev) in mdev_get_drvdata()
158 static inline void mdev_set_drvdata(struct mdev_device *mdev, void *data) in mdev_set_drvdata()
162 static inline const guid_t *mdev_uuid(struct mdev_device *mdev) in mdev_uuid()
175 struct device *mdev_parent_dev(struct mdev_device *mdev);
176 static inline struct device *mdev_dev(struct mdev_device *mdev) in mdev_dev()
180 static inline struct mdev_device *mdev_from_dev(struct device *dev) in mdev_from_dev()