Searched defs:classdev (Results 1 - 6 of 6) sorted by relevance
/drivers/base/ |
H A D | transport_class.c | 119 struct device *classdev) 125 tclass->setup(tcont, dev, classdev); 153 struct device *classdev) 155 int error = attribute_container_add_class_device(classdev); 160 error = sysfs_create_group(&classdev->kobj, tcont->statistics); 216 struct device *classdev) 223 tclass->remove(tcont, dev, classdev); 227 sysfs_remove_group(&classdev->kobj, tcont->statistics); 228 attribute_container_class_device_del(classdev); 255 struct device *classdev) 117 transport_setup_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) argument 151 transport_add_class_device(struct attribute_container *cont, struct device *dev, struct device *classdev) argument 214 transport_remove_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) argument 253 transport_destroy_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) argument [all...] |
H A D | attribute_container.c | 25 /* This is a private structure used to tie the classdev and the 30 struct device classdev; member in struct:internal_container 37 get_device(&ic->classdev); 44 put_device(&ic->classdev); 49 * attribute_container_classdev_to_container - given a classdev, return the container 51 * @classdev: the class device created by attribute_container_add_device. 53 * Returns the container associated with this classdev. 56 attribute_container_classdev_to_container(struct device *classdev) argument 59 container_of(classdev, struct internal_container, classdev); 113 attribute_container_release(struct device *classdev) argument 315 attribute_container_add_attrs(struct device *classdev) argument 350 attribute_container_add_class_device(struct device *classdev) argument 365 attribute_container_add_class_device_adapter(struct attribute_container *cont, struct device *dev, struct device *classdev) argument 379 attribute_container_remove_attrs(struct device *classdev) argument 407 attribute_container_class_device_del(struct device *classdev) argument [all...] |
/drivers/hwmon/ |
H A D | wm831x-hwmon.c | 34 struct device *classdev; member in struct:wm831x_hwmon 174 hwmon->classdev = hwmon_device_register(&pdev->dev); 175 if (IS_ERR(hwmon->classdev)) { 176 ret = PTR_ERR(hwmon->classdev); 195 hwmon_device_unregister(hwmon->classdev);
|
/drivers/usb/mon/ |
H A D | usb_mon.h | 27 struct device *classdev; /* Device in usbmon class */ member in struct:mon_bus
|
/drivers/net/ |
H A D | macvtap.c | 1010 struct device *classdev; local 1030 classdev = device_create(macvtap_class, &dev->dev, devt, 1032 if (IS_ERR(classdev)) { 1034 return notifier_from_errno(PTR_ERR(classdev));
|
/drivers/media/video/et61x251/ |
H A D | et61x251_core.c | 991 struct device *classdev = &(cam->v4ldev->dev); local 994 if ((err = device_create_file(classdev, &dev_attr_reg))) 996 if ((err = device_create_file(classdev, &dev_attr_val))) 1000 if ((err = device_create_file(classdev, &dev_attr_i2c_reg))) 1002 if ((err = device_create_file(classdev, &dev_attr_i2c_val))) 1008 device_remove_file(classdev, &dev_attr_i2c_reg); 1010 device_remove_file(classdev, &dev_attr_val); 1012 device_remove_file(classdev, &dev_attr_reg);
|
Completed in 172 milliseconds