/linux-3.4.99/drivers/net/wireless/rt2x00/ |
D | rt2x00leds.c | 69 if (brightness != led->led_dev.brightness) { in rt2x00leds_led_quality() 70 led->led_dev.brightness_set(&led->led_dev, brightness); in rt2x00leds_led_quality() 71 led->led_dev.brightness = brightness; in rt2x00leds_led_quality() 82 led->led_dev.brightness_set(&led->led_dev, brightness); in rt2x00led_led_simple() 83 led->led_dev.brightness = brightness; in rt2x00led_led_simple() 111 led->led_dev.name = name; in rt2x00leds_register_led() 112 led->led_dev.brightness = LED_OFF; in rt2x00leds_register_led() 114 retval = led_classdev_register(device, &led->led_dev); in rt2x00leds_register_led() 171 if (rt2x00dev->led_radio.led_dev.blink_set) { in rt2x00leds_register() 174 rt2x00dev->led_radio.led_dev.blink_set( in rt2x00leds_register() [all …]
|
D | rt2x00leds.h | 38 struct led_classdev led_dev; member
|
D | rt2400pci.c | 216 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2400pci_brightness_set() 235 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2400pci_blink_set() 252 led->led_dev.brightness_set = rt2400pci_brightness_set; in rt2400pci_init_led() 253 led->led_dev.blink_set = rt2400pci_blink_set; in rt2400pci_init_led()
|
D | rt2500usb.c | 294 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2500usb_brightness_set() 313 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2500usb_blink_set() 330 led->led_dev.brightness_set = rt2500usb_brightness_set; in rt2500usb_init_led() 331 led->led_dev.blink_set = rt2500usb_blink_set; in rt2500usb_init_led()
|
D | rt2500pci.c | 216 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2500pci_brightness_set() 235 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2500pci_blink_set() 252 led->led_dev.brightness_set = rt2500pci_brightness_set; in rt2500pci_init_led() 253 led->led_dev.blink_set = rt2500pci_blink_set; in rt2500pci_init_led()
|
D | rt73usb.c | 200 container_of(led_cdev, struct rt2x00_led, led_dev); in rt73usb_brightness_set() 241 container_of(led_cdev, struct rt2x00_led, led_dev); in rt73usb_blink_set() 258 led->led_dev.brightness_set = rt73usb_brightness_set; in rt73usb_init_led() 259 led->led_dev.blink_set = rt73usb_blink_set; in rt73usb_init_led()
|
D | rt61pci.c | 254 container_of(led_cdev, struct rt2x00_led, led_dev); in rt61pci_brightness_set() 293 container_of(led_cdev, struct rt2x00_led, led_dev); in rt61pci_blink_set() 310 led->led_dev.brightness_set = rt61pci_brightness_set; in rt61pci_init_led() 311 led->led_dev.blink_set = rt61pci_blink_set; in rt61pci_init_led()
|
D | rt2800lib.c | 844 container_of(led_cdev, struct rt2x00_led, led_dev); in rt2800_brightness_set() 905 led->led_dev.brightness_set = rt2800_brightness_set; in rt2800_init_led()
|
/linux-3.4.99/drivers/net/wireless/p54/ |
D | led.c | 50 if (priv->leds[i].led_dev.brightness == LED_OFF) in p54_update_leds() 54 !!priv->leds[i].led_dev.brightness; in p54_update_leds() 68 static void p54_led_brightness_set(struct led_classdev *led_dev, in p54_led_brightness_set() argument 71 struct p54_led_dev *led = container_of(led_dev, struct p54_led_dev, in p54_led_brightness_set() 72 led_dev); in p54_led_brightness_set() 99 led->led_dev.name = led->name; in p54_register_led() 100 led->led_dev.default_trigger = trigger; in p54_register_led() 101 led->led_dev.brightness_set = p54_led_brightness_set; in p54_register_led() 103 err = led_classdev_register(wiphy_dev(priv->hw->wiphy), &led->led_dev); in p54_register_led() 157 led_classdev_unregister(&priv->leds[i].led_dev); in p54_unregister_leds()
|
D | p54.h | 151 struct led_classdev led_dev; member
|
/linux-3.4.99/drivers/leds/ |
D | leds-lm3530.c | 107 struct led_classdev led_dev; member 214 if (brightness > drvdata->led_dev.max_brightness) in lm3530_init_registers() 215 brightness = drvdata->led_dev.max_brightness; in lm3530_init_registers() 248 drvdata->led_dev.max_brightness); in lm3530_init_registers() 266 container_of(led_cdev, struct lm3530_data, led_dev); in lm3530_brightness_set() 318 drvdata = container_of(led_cdev, struct lm3530_data, led_dev); in lm3530_mode_get() 339 drvdata = container_of(led_cdev, struct lm3530_data, led_dev); in lm3530_mode_set() 401 drvdata->led_dev.name = LM3530_LED_DEV; in lm3530_probe() 402 drvdata->led_dev.brightness_set = lm3530_brightness_set; in lm3530_probe() 403 drvdata->led_dev.max_brightness = MAX_BRIGHTNESS; in lm3530_probe() [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/ath5k/ |
D | led.c | 111 ath5k_led_brightness_set(struct led_classdev *led_dev, in ath5k_led_brightness_set() argument 114 struct ath5k_led *led = container_of(led_dev, struct ath5k_led, in ath5k_led_brightness_set() 115 led_dev); in ath5k_led_brightness_set() 131 led->led_dev.name = led->name; in ath5k_register_led() 132 led->led_dev.default_trigger = trigger; in ath5k_register_led() 133 led->led_dev.brightness_set = ath5k_led_brightness_set; in ath5k_register_led() 135 err = led_classdev_register(ah->dev, &led->led_dev); in ath5k_register_led() 148 led_classdev_unregister(&led->led_dev); in ath5k_unregister_led()
|
D | ath5k.h | 1179 struct led_classdev led_dev; /* led classdev */ member
|
/linux-3.4.99/drivers/net/wireless/b43legacy/ |
D | leds.c | 69 static void b43legacy_led_brightness_set(struct led_classdev *led_dev, in b43legacy_led_brightness_set() argument 72 struct b43legacy_led *led = container_of(led_dev, struct b43legacy_led, in b43legacy_led_brightness_set() 73 led_dev); in b43legacy_led_brightness_set() 106 led->led_dev.name = led->name; in b43legacy_register_led() 107 led->led_dev.default_trigger = default_trigger; in b43legacy_register_led() 108 led->led_dev.brightness_set = b43legacy_led_brightness_set; in b43legacy_register_led() 110 err = led_classdev_register(dev->dev->dev, &led->led_dev); in b43legacy_register_led() 123 led_classdev_unregister(&led->led_dev); in b43legacy_unregister_led()
|
D | leds.h | 17 struct led_classdev led_dev; member
|
/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8187/ |
D | leds.c | 102 static void rtl8187_led_brightness_set(struct led_classdev *led_dev, in rtl8187_led_brightness_set() argument 105 struct rtl8187_led *led = container_of(led_dev, struct rtl8187_led, in rtl8187_led_brightness_set() 106 led_dev); in rtl8187_led_brightness_set() 151 led->led_dev.name = led->name; in rtl8187_register_led() 152 led->led_dev.default_trigger = default_trigger; in rtl8187_register_led() 153 led->led_dev.brightness_set = rtl8187_led_brightness_set; in rtl8187_register_led() 155 err = led_classdev_register(&priv->udev->dev, &led->led_dev); in rtl8187_register_led() 169 led_classdev_unregister(&led->led_dev); in rtl8187_unregister_led()
|
D | leds.h | 45 struct led_classdev led_dev; member
|
/linux-3.4.99/drivers/net/wireless/b43/ |
D | leds.c | 109 static void b43_led_brightness_set(struct led_classdev *led_dev, in b43_led_brightness_set() argument 112 struct b43_led *led = container_of(led_dev, struct b43_led, led_dev); in b43_led_brightness_set() 137 led->led_dev.name = led->name; in b43_register_led() 138 led->led_dev.default_trigger = default_trigger; in b43_register_led() 139 led->led_dev.brightness_set = b43_led_brightness_set; in b43_register_led() 141 err = led_classdev_register(dev->dev->dev, &led->led_dev); in b43_register_led() 155 led_classdev_unregister(&led->led_dev); in b43_unregister_led()
|
D | leds.h | 19 struct led_classdev led_dev; member
|
/linux-3.4.99/drivers/platform/x86/ |
D | toshiba_acpi.c | 125 struct led_classdev led_dev; member 311 struct toshiba_acpi_dev, led_dev); in toshiba_illumination_set() 356 struct toshiba_acpi_dev, led_dev); in toshiba_illumination_get() 1048 led_classdev_unregister(&dev->led_dev); in toshiba_acpi_remove() 1145 dev->led_dev.name = "toshiba::illumination"; in toshiba_acpi_add() 1146 dev->led_dev.max_brightness = 1; in toshiba_acpi_add() 1147 dev->led_dev.brightness_set = toshiba_illumination_set; in toshiba_acpi_add() 1148 dev->led_dev.brightness_get = toshiba_illumination_get; in toshiba_acpi_add() 1149 if (!led_classdev_register(&acpi_dev->dev, &dev->led_dev)) in toshiba_acpi_add()
|
/linux-3.4.99/drivers/hid/ |
D | hid-wiimote-core.c | 551 static enum led_brightness wiimote_leds_get(struct led_classdev *led_dev) in wiimote_leds_get() argument 554 struct device *dev = led_dev->dev->parent; in wiimote_leds_get() 562 if (wdata->leds[i] == led_dev) { in wiimote_leds_get() 573 static void wiimote_leds_set(struct led_classdev *led_dev, in wiimote_leds_set() argument 577 struct device *dev = led_dev->dev->parent; in wiimote_leds_set() 585 if (wdata->leds[i] == led_dev) { in wiimote_leds_set()
|