Lines Matching refs:led_is_gm
281 struct hellcreek *hellcreek = led_to_hellcreek(ldev, led_is_gm); in hellcreek_led_is_gm_set()
288 struct hellcreek *hellcreek = led_to_hellcreek(ldev, led_is_gm); in hellcreek_led_is_gm_get()
345 hellcreek->led_is_gm.name = ret ? "is_gm" : label; in hellcreek_led_setup()
350 hellcreek->led_is_gm.brightness = 1; in hellcreek_led_setup()
352 hellcreek->led_is_gm.brightness = 0; in hellcreek_led_setup()
354 hellcreek->led_is_gm.brightness = in hellcreek_led_setup()
359 hellcreek->led_is_gm.max_brightness = 1; in hellcreek_led_setup()
360 hellcreek->led_is_gm.brightness_set = hellcreek_led_is_gm_set; in hellcreek_led_setup()
361 hellcreek->led_is_gm.brightness_get = hellcreek_led_is_gm_get; in hellcreek_led_setup()
366 if (hellcreek->led_is_gm.brightness == 1) in hellcreek_led_setup()
371 led_classdev_register(hellcreek->dev, &hellcreek->led_is_gm); in hellcreek_led_setup()
447 led_classdev_unregister(&hellcreek->led_is_gm); in hellcreek_ptp_free()