Lines Matching defs:mdev_parent_ops
100 struct mdev_parent_ops { struct
101 struct module *owner;
102 struct mdev_driver *device_driver;
103 const struct attribute_group **dev_attr_groups;
104 const struct attribute_group **mdev_attr_groups;
105 struct attribute_group **supported_type_groups;
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);