Lines Matching refs:leds
159 enc->leds[c * AHCI_NUM_LEDS + i].dev = dev;
160 enc->leds[c * AHCI_NUM_LEDS + i].num =
166 enc->leds[c * AHCI_NUM_LEDS + 0].led =
168 &enc->leds[c * AHCI_NUM_LEDS + 0], buf);
172 enc->leds[c * AHCI_NUM_LEDS + 1].led =
174 &enc->leds[c * AHCI_NUM_LEDS + 1], buf);
177 enc->leds[c * AHCI_NUM_LEDS + 2].led =
179 &enc->leds[c * AHCI_NUM_LEDS + 2], buf);
207 if (enc->leds[i].led)
208 led_destroy(enc->leds[i].led);