Lines Matching refs:mdev_device
16 struct mdev_device;
73 int (*create)(struct kobject *kobj, struct mdev_device *mdev);
74 int (*remove)(struct mdev_device *mdev);
75 int (*open)(struct mdev_device *mdev);
76 void (*release)(struct mdev_device *mdev);
77 ssize_t (*read)(struct mdev_device *mdev, char __user *buf,
79 ssize_t (*write)(struct mdev_device *mdev, const char __user *buf,
81 long (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
83 int (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
121 extern void *mdev_get_drvdata(struct mdev_device *mdev);
122 extern void mdev_set_drvdata(struct mdev_device *mdev, void *data);
123 extern uuid_le mdev_uuid(struct mdev_device *mdev);
134 extern struct device *mdev_parent_dev(struct mdev_device *mdev);
135 extern struct device *mdev_dev(struct mdev_device *mdev);
136 extern struct mdev_device *mdev_from_dev(struct device *dev);