Searched refs:classdev (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/base/ |
| A D | attribute_container.c | 28 struct device classdev; member 35 get_device(&ic->classdev); in internal_container_klist_get() 42 put_device(&ic->classdev); in internal_container_klist_put() 57 container_of(classdev, struct internal_container, classdev); in attribute_container_classdev_to_container() 115 = container_of(classdev, struct internal_container, classdev); in attribute_container_release() 171 fn(cont, dev, &ic->classdev); in attribute_container_add_device() 229 fn(cont, dev, &ic->classdev); in attribute_container_remove_device() 276 if (dev == ic->classdev.parent) in do_attribute_container_device_trigger_safe() 374 fn(cont, dev, &ic->classdev); in attribute_container_device_trigger() 471 device_del(classdev); in attribute_container_class_device_del() [all …]
|
| A D | transport_class.c | 35 struct device *classdev); 122 struct device *classdev) in transport_setup_classdev() argument 128 tclass->setup(tcont, dev, classdev); in transport_setup_classdev() 156 struct device *classdev) in transport_add_class_device() argument 175 attribute_container_class_device_del(classdev); in transport_add_class_device() 178 tclass->remove(tcont, dev, classdev); in transport_add_class_device() 235 struct device *classdev) in transport_remove_classdev() argument 242 tclass->remove(tcont, dev, classdev); in transport_remove_classdev() 247 attribute_container_class_device_del(classdev); in transport_remove_classdev() 274 struct device *classdev) in transport_destroy_classdev() argument [all …]
|
| /linux/drivers/platform/x86/intel/int3472/ |
| A D | led.c | 13 container_of(led_cdev, struct int3472_discrete_device, pled.classdev); in int3472_pled_set() 24 if (int3472->pled.classdev.dev) in skl_int3472_register_pled() 36 int3472->pled.classdev.name = int3472->pled.name; in skl_int3472_register_pled() 37 int3472->pled.classdev.max_brightness = 1; in skl_int3472_register_pled() 38 int3472->pled.classdev.brightness_set_blocking = int3472_pled_set; in skl_int3472_register_pled() 40 ret = led_classdev_register(int3472->dev, &int3472->pled.classdev); in skl_int3472_register_pled() 54 if (IS_ERR_OR_NULL(int3472->pled.classdev.dev)) in skl_int3472_unregister_pled() 58 led_classdev_unregister(&int3472->pled.classdev); in skl_int3472_unregister_pled()
|
| A D | common.h | 101 struct led_classdev classdev; member
|
| /linux/include/linux/ |
| A D | attribute_container.h | 64 int attribute_container_add_attrs(struct device *classdev); 65 int attribute_container_add_class_device(struct device *classdev); 66 void attribute_container_remove_attrs(struct device *classdev); 67 void attribute_container_class_device_del(struct device *classdev); 70 struct device_attribute **attribute_container_classdev_to_attrs(const struct device *classdev);
|
| /linux/drivers/net/ |
| A D | macvtap.c | 154 struct device *classdev; in macvtap_device_event() local 176 classdev = device_create(&macvtap_class, &dev->dev, devt, in macvtap_device_event() 178 if (IS_ERR(classdev)) { in macvtap_device_event() 180 return notifier_from_errno(PTR_ERR(classdev)); in macvtap_device_event() 182 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in macvtap_device_event()
|
| /linux/drivers/net/ipvlan/ |
| A D | ipvtap.c | 141 struct device *classdev; in ipvtap_device_event() local 163 classdev = device_create(&ipvtap_class, &dev->dev, devt, in ipvtap_device_event() 165 if (IS_ERR(classdev)) { in ipvtap_device_event() 167 return notifier_from_errno(PTR_ERR(classdev)); in ipvtap_device_event() 169 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in ipvtap_device_event()
|
| /linux/drivers/hwmon/ |
| A D | nsa320-hwmon.c | 160 struct device *classdev; in nsa320_hwmon_probe() local 181 classdev = devm_hwmon_device_register_with_groups(&pdev->dev, in nsa320_hwmon_probe() 184 return PTR_ERR_OR_ZERO(classdev); in nsa320_hwmon_probe()
|
| /linux/drivers/usb/mon/ |
| A D | usb_mon.h | 28 struct device *classdev; /* Device in usbmon class */ member
|
| A D | mon_bin.c | 1376 mbus->classdev = dev; in mon_bin_add() 1382 device_destroy(&mon_bin_class, mbus->classdev->devt); in mon_bin_del()
|
| /linux/include/linux/mfd/wm8350/ |
| A D | core.h | 590 struct device *classdev; member
|
| /linux/Documentation/leds/ |
| A D | leds-class.rst | 138 A driver wanting to register a LED classdev for use by other drivers / 147 led_classdev_notify_brightness_hw_changed on a classdev not registered with
|
Completed in 26 milliseconds