Lines Matching refs:cdev
80 * @cdev: LED class device instance
84 struct led_classdev cdev;
88 #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev)
340 cpld->pled[i].cdev.name = cpld->profile[i].name;
341 cpld->pled[i].cdev.brightness = cpld->profile[i].brightness;
342 cpld->pled[i].cdev.max_brightness = 1;
343 cpld->pled[i].cdev.brightness_set = mlxcpld_led_brightness_set;
344 cpld->pled[i].cdev.blink_set = mlxcpld_led_blink_set;
345 cpld->pled[i].cdev.flags = LED_CORE_SUSPENDRESUME;
346 err = devm_led_classdev_register(dev, &cpld->pled[i].cdev);
356 mlxcpld_led_brightness_set(&cpld->pled[i].cdev,