Lines Matching refs:backlight_class
320 static struct class *backlight_class; variable
421 new_bd->dev.class = backlight_class; in backlight_device_register()
513 dev = class_find_device_by_name(backlight_class, name); in backlight_device_get_by_name()
681 dev = class_find_device(backlight_class, NULL, node, of_parent_match); in of_find_backlight_by_node()
749 class_destroy(backlight_class); in backlight_class_exit()
754 backlight_class = class_create(THIS_MODULE, "backlight"); in backlight_class_init()
755 if (IS_ERR(backlight_class)) { in backlight_class_init()
757 PTR_ERR(backlight_class)); in backlight_class_init()
758 return PTR_ERR(backlight_class); in backlight_class_init()
761 backlight_class->dev_groups = bl_device_groups; in backlight_class_init()
762 backlight_class->pm = &backlight_class_dev_pm_ops; in backlight_class_init()