Lines Matching refs:mdev_device
13 struct mdev_device;
84 int (*create)(struct kobject *kobj, struct mdev_device *mdev);
85 int (*remove)(struct mdev_device *mdev);
86 int (*open)(struct mdev_device *mdev);
87 void (*release)(struct mdev_device *mdev);
88 ssize_t (*read)(struct mdev_device *mdev, char __user *buf,
90 ssize_t (*write)(struct mdev_device *mdev, const char __user *buf,
92 long (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
94 int (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
132 void *mdev_get_drvdata(struct mdev_device *mdev);
133 void mdev_set_drvdata(struct mdev_device *mdev, void *data);
134 const guid_t *mdev_uuid(struct mdev_device *mdev);
144 struct device *mdev_parent_dev(struct mdev_device *mdev);
145 struct device *mdev_dev(struct mdev_device *mdev);
146 struct mdev_device *mdev_from_dev(struct device *dev);