Searched refs:LED (Results 1 - 200 of 726) sorted by relevance

1234

/linux-4.1.27/sound/usb/caiaq/
H A Dcontrol.c180 { "LED left", 2 },
181 { "LED middle", 1 },
182 { "LED right", 0 },
183 { "LED ring", 3 }
187 { "LED 1", 5 },
188 { "LED 2", 4 },
189 { "LED 3", 3 },
190 { "LED 4", 2 },
191 { "LED 5", 1 },
192 { "LED 6", 0 },
193 { "LED pedal", 6 },
194 { "LED 7seg_1b", 8 },
195 { "LED 7seg_1c", 9 },
196 { "LED 7seg_2a", 10 },
197 { "LED 7seg_2b", 11 },
198 { "LED 7seg_2c", 12 },
199 { "LED 7seg_2d", 13 },
200 { "LED 7seg_2e", 14 },
201 { "LED 7seg_2f", 15 },
202 { "LED 7seg_2g", 16 },
203 { "LED 7seg_3a", 17 },
204 { "LED 7seg_3b", 18 },
205 { "LED 7seg_3c", 19 },
206 { "LED 7seg_3d", 20 },
207 { "LED 7seg_3e", 21 },
208 { "LED 7seg_3f", 22 },
209 { "LED 7seg_3g", 23 }
213 { "LED 7seg_1a", 0 + 0 },
214 { "LED 7seg_1b", 0 + 1 },
215 { "LED 7seg_1c", 0 + 2 },
216 { "LED 7seg_1d", 0 + 3 },
217 { "LED 7seg_1e", 0 + 4 },
218 { "LED 7seg_1f", 0 + 5 },
219 { "LED 7seg_1g", 0 + 6 },
220 { "LED 7seg_1p", 0 + 7 },
222 { "LED 7seg_2a", 8 + 0 },
223 { "LED 7seg_2b", 8 + 1 },
224 { "LED 7seg_2c", 8 + 2 },
225 { "LED 7seg_2d", 8 + 3 },
226 { "LED 7seg_2e", 8 + 4 },
227 { "LED 7seg_2f", 8 + 5 },
228 { "LED 7seg_2g", 8 + 6 },
229 { "LED 7seg_2p", 8 + 7 },
231 { "LED 7seg_3a", 16 + 0 },
232 { "LED 7seg_3b", 16 + 1 },
233 { "LED 7seg_3c", 16 + 2 },
234 { "LED 7seg_3d", 16 + 3 },
235 { "LED 7seg_3e", 16 + 4 },
236 { "LED 7seg_3f", 16 + 5 },
237 { "LED 7seg_3g", 16 + 6 },
238 { "LED 7seg_3p", 16 + 7 },
240 { "LED 7seg_4a", 24 + 0 },
241 { "LED 7seg_4b", 24 + 1 },
242 { "LED 7seg_4c", 24 + 2 },
243 { "LED 7seg_4d", 24 + 3 },
244 { "LED 7seg_4e", 24 + 4 },
245 { "LED 7seg_4f", 24 + 5 },
246 { "LED 7seg_4g", 24 + 6 },
247 { "LED 7seg_4p", 24 + 7 },
249 { "LED 1", 32 + 0 },
250 { "LED 2", 32 + 1 },
251 { "LED 3", 32 + 2 },
252 { "LED 4", 32 + 3 },
253 { "LED 5", 32 + 4 },
254 { "LED 6", 32 + 5 },
255 { "LED 7", 32 + 6 },
256 { "LED 8", 32 + 7 },
257 { "LED pedal", 32 + 8 }
261 { "LED F1", 8 | CNT_INTVAL },
262 { "LED F2", 12 | CNT_INTVAL },
263 { "LED F3", 0 | CNT_INTVAL },
264 { "LED F4", 4 | CNT_INTVAL },
265 { "LED F5", 11 | CNT_INTVAL },
266 { "LED F6", 15 | CNT_INTVAL },
267 { "LED F7", 3 | CNT_INTVAL },
268 { "LED F8", 7 | CNT_INTVAL },
269 { "LED touch1", 10 | CNT_INTVAL },
270 { "LED touch2", 14 | CNT_INTVAL },
271 { "LED touch3", 2 | CNT_INTVAL },
272 { "LED touch4", 6 | CNT_INTVAL },
273 { "LED touch5", 9 | CNT_INTVAL },
274 { "LED touch6", 13 | CNT_INTVAL },
275 { "LED touch7", 1 | CNT_INTVAL },
276 { "LED touch8", 5 | CNT_INTVAL },
277 { "LED left", 18 | CNT_INTVAL },
278 { "LED right", 22 | CNT_INTVAL },
279 { "LED up", 16 | CNT_INTVAL },
280 { "LED down", 20 | CNT_INTVAL },
281 { "LED stop", 23 | CNT_INTVAL },
282 { "LED play", 21 | CNT_INTVAL },
283 { "LED record", 19 | CNT_INTVAL },
284 { "LED listen", 17 | CNT_INTVAL },
285 { "LED lcd", 30 | CNT_INTVAL },
286 { "LED menu", 28 | CNT_INTVAL },
287 { "LED sound", 31 | CNT_INTVAL },
288 { "LED esc", 29 | CNT_INTVAL },
289 { "LED view", 27 | CNT_INTVAL },
290 { "LED enter", 24 | CNT_INTVAL },
291 { "LED control", 26 | CNT_INTVAL }
307 { "LED FX A: ON", 7 | CNT_INTVAL },
308 { "LED FX A: 1", 6 | CNT_INTVAL },
309 { "LED FX A: 2", 5 | CNT_INTVAL },
310 { "LED FX A: 3", 4 | CNT_INTVAL },
311 { "LED FX B: ON", 3 | CNT_INTVAL },
312 { "LED FX B: 1", 2 | CNT_INTVAL },
313 { "LED FX B: 2", 1 | CNT_INTVAL },
314 { "LED FX B: 3", 0 | CNT_INTVAL },
316 { "LED Hotcue", 28 | CNT_INTVAL },
317 { "LED Shift (white)", 29 | CNT_INTVAL },
318 { "LED Shift (green)", 30 | CNT_INTVAL },
320 { "LED Deck A: FX1", 24 | CNT_INTVAL },
321 { "LED Deck A: FX2", 25 | CNT_INTVAL },
322 { "LED Deck A: IN", 17 | CNT_INTVAL },
323 { "LED Deck A: OUT", 16 | CNT_INTVAL },
324 { "LED Deck A: < BEAT", 19 | CNT_INTVAL },
325 { "LED Deck A: BEAT >", 18 | CNT_INTVAL },
326 { "LED Deck A: CUE/ABS", 21 | CNT_INTVAL },
327 { "LED Deck A: CUP/REL", 20 | CNT_INTVAL },
328 { "LED Deck A: PLAY", 23 | CNT_INTVAL },
329 { "LED Deck A: SYNC", 22 | CNT_INTVAL },
331 { "LED Deck B: FX1", 26 | CNT_INTVAL },
332 { "LED Deck B: FX2", 27 | CNT_INTVAL },
333 { "LED Deck B: IN", 15 | CNT_INTVAL },
334 { "LED Deck B: OUT", 14 | CNT_INTVAL },
335 { "LED Deck B: < BEAT", 13 | CNT_INTVAL },
336 { "LED Deck B: BEAT >", 12 | CNT_INTVAL },
337 { "LED Deck B: CUE/ABS", 11 | CNT_INTVAL },
338 { "LED Deck B: CUP/REL", 10 | CNT_INTVAL },
339 { "LED Deck B: PLAY", 9 | CNT_INTVAL },
340 { "LED Deck B: SYNC", 8 | CNT_INTVAL },
344 { "LED: Master: Quant", 10 | CNT_INTVAL },
345 { "LED: Master: Headphone", 11 | CNT_INTVAL },
346 { "LED: Master: Master", 12 | CNT_INTVAL },
347 { "LED: Master: Snap", 14 | CNT_INTVAL },
348 { "LED: Master: Warning", 15 | CNT_INTVAL },
349 { "LED: Master: Master button", 112 | CNT_INTVAL },
350 { "LED: Master: Snap button", 113 | CNT_INTVAL },
351 { "LED: Master: Rec", 118 | CNT_INTVAL },
352 { "LED: Master: Size", 119 | CNT_INTVAL },
353 { "LED: Master: Quant button", 120 | CNT_INTVAL },
354 { "LED: Master: Browser button", 121 | CNT_INTVAL },
355 { "LED: Master: Play button", 126 | CNT_INTVAL },
356 { "LED: Master: Undo button", 127 | CNT_INTVAL },
358 { "LED: Channel A: >", 4 | CNT_INTVAL },
359 { "LED: Channel A: <", 5 | CNT_INTVAL },
360 { "LED: Channel A: Meter 1", 97 | CNT_INTVAL },
361 { "LED: Channel A: Meter 2", 98 | CNT_INTVAL },
362 { "LED: Channel A: Meter 3", 99 | CNT_INTVAL },
363 { "LED: Channel A: Meter 4", 100 | CNT_INTVAL },
364 { "LED: Channel A: Meter 5", 101 | CNT_INTVAL },
365 { "LED: Channel A: Meter 6", 102 | CNT_INTVAL },
366 { "LED: Channel A: Meter clip", 103 | CNT_INTVAL },
367 { "LED: Channel A: Active", 114 | CNT_INTVAL },
368 { "LED: Channel A: Cue", 116 | CNT_INTVAL },
369 { "LED: Channel A: FX1", 149 | CNT_INTVAL },
370 { "LED: Channel A: FX2", 148 | CNT_INTVAL },
372 { "LED: Channel B: >", 2 | CNT_INTVAL },
373 { "LED: Channel B: <", 3 | CNT_INTVAL },
374 { "LED: Channel B: Meter 1", 89 | CNT_INTVAL },
375 { "LED: Channel B: Meter 2", 90 | CNT_INTVAL },
376 { "LED: Channel B: Meter 3", 91 | CNT_INTVAL },
377 { "LED: Channel B: Meter 4", 92 | CNT_INTVAL },
378 { "LED: Channel B: Meter 5", 93 | CNT_INTVAL },
379 { "LED: Channel B: Meter 6", 94 | CNT_INTVAL },
380 { "LED: Channel B: Meter clip", 95 | CNT_INTVAL },
381 { "LED: Channel B: Active", 122 | CNT_INTVAL },
382 { "LED: Channel B: Cue", 125 | CNT_INTVAL },
383 { "LED: Channel B: FX1", 147 | CNT_INTVAL },
384 { "LED: Channel B: FX2", 146 | CNT_INTVAL },
386 { "LED: Channel C: >", 6 | CNT_INTVAL },
387 { "LED: Channel C: <", 7 | CNT_INTVAL },
388 { "LED: Channel C: Meter 1", 105 | CNT_INTVAL },
389 { "LED: Channel C: Meter 2", 106 | CNT_INTVAL },
390 { "LED: Channel C: Meter 3", 107 | CNT_INTVAL },
391 { "LED: Channel C: Meter 4", 108 | CNT_INTVAL },
392 { "LED: Channel C: Meter 5", 109 | CNT_INTVAL },
393 { "LED: Channel C: Meter 6", 110 | CNT_INTVAL },
394 { "LED: Channel C: Meter clip", 111 | CNT_INTVAL },
395 { "LED: Channel C: Active", 115 | CNT_INTVAL },
396 { "LED: Channel C: Cue", 117 | CNT_INTVAL },
397 { "LED: Channel C: FX1", 151 | CNT_INTVAL },
398 { "LED: Channel C: FX2", 150 | CNT_INTVAL },
400 { "LED: Channel D: >", 0 | CNT_INTVAL },
401 { "LED: Channel D: <", 1 | CNT_INTVAL },
402 { "LED: Channel D: Meter 1", 81 | CNT_INTVAL },
403 { "LED: Channel D: Meter 2", 82 | CNT_INTVAL },
404 { "LED: Channel D: Meter 3", 83 | CNT_INTVAL },
405 { "LED: Channel D: Meter 4", 84 | CNT_INTVAL },
406 { "LED: Channel D: Meter 5", 85 | CNT_INTVAL },
407 { "LED: Channel D: Meter 6", 86 | CNT_INTVAL },
408 { "LED: Channel D: Meter clip", 87 | CNT_INTVAL },
409 { "LED: Channel D: Active", 123 | CNT_INTVAL },
410 { "LED: Channel D: Cue", 124 | CNT_INTVAL },
411 { "LED: Channel D: FX1", 145 | CNT_INTVAL },
412 { "LED: Channel D: FX2", 144 | CNT_INTVAL },
414 { "LED: Deck A: 1 (blue)", 22 | CNT_INTVAL },
415 { "LED: Deck A: 1 (green)", 23 | CNT_INTVAL },
416 { "LED: Deck A: 2 (blue)", 20 | CNT_INTVAL },
417 { "LED: Deck A: 2 (green)", 21 | CNT_INTVAL },
418 { "LED: Deck A: 3 (blue)", 18 | CNT_INTVAL },
419 { "LED: Deck A: 3 (green)", 19 | CNT_INTVAL },
420 { "LED: Deck A: 4 (blue)", 16 | CNT_INTVAL },
421 { "LED: Deck A: 4 (green)", 17 | CNT_INTVAL },
422 { "LED: Deck A: Load", 44 | CNT_INTVAL },
423 { "LED: Deck A: Deck C button", 45 | CNT_INTVAL },
424 { "LED: Deck A: In", 47 | CNT_INTVAL },
425 { "LED: Deck A: Out", 46 | CNT_INTVAL },
426 { "LED: Deck A: Shift", 24 | CNT_INTVAL },
427 { "LED: Deck A: Sync", 27 | CNT_INTVAL },
428 { "LED: Deck A: Cue", 26 | CNT_INTVAL },
429 { "LED: Deck A: Play", 25 | CNT_INTVAL },
430 { "LED: Deck A: Tempo up", 33 | CNT_INTVAL },
431 { "LED: Deck A: Tempo down", 32 | CNT_INTVAL },
432 { "LED: Deck A: Master", 34 | CNT_INTVAL },
433 { "LED: Deck A: Keylock", 35 | CNT_INTVAL },
434 { "LED: Deck A: Deck A", 37 | CNT_INTVAL },
435 { "LED: Deck A: Deck C", 36 | CNT_INTVAL },
436 { "LED: Deck A: Samples", 38 | CNT_INTVAL },
437 { "LED: Deck A: On Air", 39 | CNT_INTVAL },
438 { "LED: Deck A: Sample 1", 31 | CNT_INTVAL },
439 { "LED: Deck A: Sample 2", 30 | CNT_INTVAL },
440 { "LED: Deck A: Sample 3", 29 | CNT_INTVAL },
441 { "LED: Deck A: Sample 4", 28 | CNT_INTVAL },
442 { "LED: Deck A: Digit 1 - A", 55 | CNT_INTVAL },
443 { "LED: Deck A: Digit 1 - B", 54 | CNT_INTVAL },
444 { "LED: Deck A: Digit 1 - C", 53 | CNT_INTVAL },
445 { "LED: Deck A: Digit 1 - D", 52 | CNT_INTVAL },
446 { "LED: Deck A: Digit 1 - E", 51 | CNT_INTVAL },
447 { "LED: Deck A: Digit 1 - F", 50 | CNT_INTVAL },
448 { "LED: Deck A: Digit 1 - G", 49 | CNT_INTVAL },
449 { "LED: Deck A: Digit 1 - dot", 48 | CNT_INTVAL },
450 { "LED: Deck A: Digit 2 - A", 63 | CNT_INTVAL },
451 { "LED: Deck A: Digit 2 - B", 62 | CNT_INTVAL },
452 { "LED: Deck A: Digit 2 - C", 61 | CNT_INTVAL },
453 { "LED: Deck A: Digit 2 - D", 60 | CNT_INTVAL },
454 { "LED: Deck A: Digit 2 - E", 59 | CNT_INTVAL },
455 { "LED: Deck A: Digit 2 - F", 58 | CNT_INTVAL },
456 { "LED: Deck A: Digit 2 - G", 57 | CNT_INTVAL },
457 { "LED: Deck A: Digit 2 - dot", 56 | CNT_INTVAL },
459 { "LED: Deck B: 1 (blue)", 78 | CNT_INTVAL },
460 { "LED: Deck B: 1 (green)", 79 | CNT_INTVAL },
461 { "LED: Deck B: 2 (blue)", 76 | CNT_INTVAL },
462 { "LED: Deck B: 2 (green)", 77 | CNT_INTVAL },
463 { "LED: Deck B: 3 (blue)", 74 | CNT_INTVAL },
464 { "LED: Deck B: 3 (green)", 75 | CNT_INTVAL },
465 { "LED: Deck B: 4 (blue)", 72 | CNT_INTVAL },
466 { "LED: Deck B: 4 (green)", 73 | CNT_INTVAL },
467 { "LED: Deck B: Load", 180 | CNT_INTVAL },
468 { "LED: Deck B: Deck D button", 181 | CNT_INTVAL },
469 { "LED: Deck B: In", 183 | CNT_INTVAL },
470 { "LED: Deck B: Out", 182 | CNT_INTVAL },
471 { "LED: Deck B: Shift", 64 | CNT_INTVAL },
472 { "LED: Deck B: Sync", 67 | CNT_INTVAL },
473 { "LED: Deck B: Cue", 66 | CNT_INTVAL },
474 { "LED: Deck B: Play", 65 | CNT_INTVAL },
475 { "LED: Deck B: Tempo up", 185 | CNT_INTVAL },
476 { "LED: Deck B: Tempo down", 184 | CNT_INTVAL },
477 { "LED: Deck B: Master", 186 | CNT_INTVAL },
478 { "LED: Deck B: Keylock", 187 | CNT_INTVAL },
479 { "LED: Deck B: Deck B", 189 | CNT_INTVAL },
480 { "LED: Deck B: Deck D", 188 | CNT_INTVAL },
481 { "LED: Deck B: Samples", 190 | CNT_INTVAL },
482 { "LED: Deck B: On Air", 191 | CNT_INTVAL },
483 { "LED: Deck B: Sample 1", 71 | CNT_INTVAL },
484 { "LED: Deck B: Sample 2", 70 | CNT_INTVAL },
485 { "LED: Deck B: Sample 3", 69 | CNT_INTVAL },
486 { "LED: Deck B: Sample 4", 68 | CNT_INTVAL },
487 { "LED: Deck B: Digit 1 - A", 175 | CNT_INTVAL },
488 { "LED: Deck B: Digit 1 - B", 174 | CNT_INTVAL },
489 { "LED: Deck B: Digit 1 - C", 173 | CNT_INTVAL },
490 { "LED: Deck B: Digit 1 - D", 172 | CNT_INTVAL },
491 { "LED: Deck B: Digit 1 - E", 171 | CNT_INTVAL },
492 { "LED: Deck B: Digit 1 - F", 170 | CNT_INTVAL },
493 { "LED: Deck B: Digit 1 - G", 169 | CNT_INTVAL },
494 { "LED: Deck B: Digit 1 - dot", 168 | CNT_INTVAL },
495 { "LED: Deck B: Digit 2 - A", 167 | CNT_INTVAL },
496 { "LED: Deck B: Digit 2 - B", 166 | CNT_INTVAL },
497 { "LED: Deck B: Digit 2 - C", 165 | CNT_INTVAL },
498 { "LED: Deck B: Digit 2 - D", 164 | CNT_INTVAL },
499 { "LED: Deck B: Digit 2 - E", 163 | CNT_INTVAL },
500 { "LED: Deck B: Digit 2 - F", 162 | CNT_INTVAL },
501 { "LED: Deck B: Digit 2 - G", 161 | CNT_INTVAL },
502 { "LED: Deck B: Digit 2 - dot", 160 | CNT_INTVAL },
504 { "LED: FX1: dry/wet", 153 | CNT_INTVAL },
505 { "LED: FX1: 1", 154 | CNT_INTVAL },
506 { "LED: FX1: 2", 155 | CNT_INTVAL },
507 { "LED: FX1: 3", 156 | CNT_INTVAL },
508 { "LED: FX1: Mode", 157 | CNT_INTVAL },
509 { "LED: FX2: dry/wet", 129 | CNT_INTVAL },
510 { "LED: FX2: 1", 130 | CNT_INTVAL },
511 { "LED: FX2: 2", 131 | CNT_INTVAL },
512 { "LED: FX2: 3", 132 | CNT_INTVAL },
513 { "LED: FX2: Mode", 133 | CNT_INTVAL },
517 { "LED: Pad 1", 3 | CNT_INTVAL },
518 { "LED: Pad 2", 2 | CNT_INTVAL },
519 { "LED: Pad 3", 1 | CNT_INTVAL },
520 { "LED: Pad 4", 0 | CNT_INTVAL },
521 { "LED: Pad 5", 7 | CNT_INTVAL },
522 { "LED: Pad 6", 6 | CNT_INTVAL },
523 { "LED: Pad 7", 5 | CNT_INTVAL },
524 { "LED: Pad 8", 4 | CNT_INTVAL },
525 { "LED: Pad 9", 11 | CNT_INTVAL },
526 { "LED: Pad 10", 10 | CNT_INTVAL },
527 { "LED: Pad 11", 9 | CNT_INTVAL },
528 { "LED: Pad 12", 8 | CNT_INTVAL },
529 { "LED: Pad 13", 15 | CNT_INTVAL },
530 { "LED: Pad 14", 14 | CNT_INTVAL },
531 { "LED: Pad 15", 13 | CNT_INTVAL },
532 { "LED: Pad 16", 12 | CNT_INTVAL },
534 { "LED: Mute", 16 | CNT_INTVAL },
535 { "LED: Solo", 17 | CNT_INTVAL },
536 { "LED: Select", 18 | CNT_INTVAL },
537 { "LED: Duplicate", 19 | CNT_INTVAL },
538 { "LED: Navigate", 20 | CNT_INTVAL },
539 { "LED: Pad Mode", 21 | CNT_INTVAL },
540 { "LED: Pattern", 22 | CNT_INTVAL },
541 { "LED: Scene", 23 | CNT_INTVAL },
543 { "LED: Shift", 24 | CNT_INTVAL },
544 { "LED: Erase", 25 | CNT_INTVAL },
545 { "LED: Grid", 26 | CNT_INTVAL },
546 { "LED: Right Bottom", 27 | CNT_INTVAL },
547 { "LED: Rec", 28 | CNT_INTVAL },
548 { "LED: Play", 29 | CNT_INTVAL },
549 { "LED: Left Bottom", 32 | CNT_INTVAL },
550 { "LED: Restart", 33 | CNT_INTVAL },
552 { "LED: Group A", 41 | CNT_INTVAL },
553 { "LED: Group B", 40 | CNT_INTVAL },
554 { "LED: Group C", 37 | CNT_INTVAL },
555 { "LED: Group D", 36 | CNT_INTVAL },
556 { "LED: Group E", 39 | CNT_INTVAL },
557 { "LED: Group F", 38 | CNT_INTVAL },
558 { "LED: Group G", 35 | CNT_INTVAL },
559 { "LED: Group H", 34 | CNT_INTVAL },
561 { "LED: Auto Write", 42 | CNT_INTVAL },
562 { "LED: Snap", 43 | CNT_INTVAL },
563 { "LED: Right Top", 44 | CNT_INTVAL },
564 { "LED: Left Top", 45 | CNT_INTVAL },
565 { "LED: Sampling", 46 | CNT_INTVAL },
566 { "LED: Browse", 47 | CNT_INTVAL },
567 { "LED: Step", 48 | CNT_INTVAL },
568 { "LED: Control", 49 | CNT_INTVAL },
570 { "LED: Top Button 1", 57 | CNT_INTVAL },
571 { "LED: Top Button 2", 56 | CNT_INTVAL },
572 { "LED: Top Button 3", 55 | CNT_INTVAL },
573 { "LED: Top Button 4", 54 | CNT_INTVAL },
574 { "LED: Top Button 5", 53 | CNT_INTVAL },
575 { "LED: Top Button 6", 52 | CNT_INTVAL },
576 { "LED: Top Button 7", 51 | CNT_INTVAL },
577 { "LED: Top Button 8", 50 | CNT_INTVAL },
579 { "LED: Note Repeat", 58 | CNT_INTVAL },
/linux-4.1.27/include/linux/
H A Dsmc91x.h19 #define RPC_LED_100_10 (0x00) /* LED = 100Mbps OR's with 10Mbps link detect */
20 #define RPC_LED_RES (0x01) /* LED = Reserved */
21 #define RPC_LED_10 (0x02) /* LED = 10Mbps link detect */
22 #define RPC_LED_FD (0x03) /* LED = Full Duplex Mode */
23 #define RPC_LED_TX_RX (0x04) /* LED = TX or RX packet occurred */
24 #define RPC_LED_100 (0x05) /* LED = 100Mbps link detect */
25 #define RPC_LED_TX (0x06) /* LED = TX packet occurred */
26 #define RPC_LED_RX (0x07) /* LED = RX packet occurred */
H A Dled-class-flash.h2 * LED Flash class interface
50 /* get the flash LED fault */
82 /* LED Flash class sysfs groups */
95 * @parent: the flash LED to register
106 * @fled_cdev: the flash LED to unregister
114 * @fled_cdev: the flash LED to set strobe on
117 * Strobe the flash LED.
129 * @fled_cdev: the flash LED to query
146 * led_set_flash_brightness - set flash LED brightness
147 * @fled_cdev: the flash LED to set
150 * Set a flash LED's brightness.
158 * led_update_flash_brightness - update flash LED brightness
159 * @fled_cdev: the flash LED to query
161 * Get a flash LED's current brightness and update led_flash->brightness
169 * led_set_flash_timeout - set flash LED timeout
170 * @fled_cdev: the flash LED to set
181 * led_get_flash_fault - get the flash LED fault
182 * @fled_cdev: the flash LED to query
185 * Get the flash LED fault.
H A Dleds_pwm.h2 * PWM LED driver data - see drivers/leds/leds-pwm.c
H A Dleds.h24 * LED Core
51 /* Set LED brightness level */
56 * Set LED brightness level immediately - it can block the caller for
57 * the time required for accessing a LED device register.
61 /* Get LED brightness level */
79 struct list_head node; /* LED Device list */
101 /* Ensures consistent access to the LED Flash Class device */
117 * @led_cdev: the LED to start blinking
121 * This function makes the LED blink, attempting to use the
124 * the LED refuses the passed values.
135 * @led_cdev: the LED to start blinking
140 * This function makes the LED blink one time for delay_on +
152 * led_set_brightness - set LED brightness
153 * @led_cdev: the LED to set
156 * Set an LED's brightness, and, if necessary, cancel the
163 * led_update_brightness - update LED brightness
164 * @led_cdev: the LED to query
166 * Get an LED's current brightness and update led_cdev->brightness
174 * led_sysfs_disable - disable LED sysfs interface
175 * @led_cdev: the LED to set
182 * led_sysfs_enable - enable LED sysfs interface
183 * @led_cdev: the LED to set
190 * led_sysfs_is_disabled - check if LED sysfs interface is disabled
191 * @led_cdev: the LED to query
201 * LED Triggers
244 * @trig: the LED trigger to rename
246 * Change a LED trigger name by copying the string passed in
251 * during LED registration, as that could lead to races.
288 * Generic LED platform data for describing LED names and default triggers. ledtrig_torch_ctrl()
H A Dleds-regulator.h42 char *name; /* LED name as expected by LED class */
H A Dleds-bd2802.h2 * leds-bd2802.h - RGB LED Driver
H A Dleds-tca6507.h2 * TCA6507 LED chip driver.
H A Drfkill.h276 * rfkill_get_led_trigger_name - Get the LED trigger name for the button's LED.
278 * LED trigger failed. Use this as "default_trigger" for the LED.
283 * rfkill_set_led_trigger_name -- set the LED trigger name
285 * @name: LED trigger name
287 * This function sets the LED trigger name of the radio LED
/linux-4.1.27/arch/parisc/include/asm/
H A Dled.h4 #define LED7 0x80 /* top (or furthest right) LED */
11 #define LED0 0x01 /* bottom (or furthest left) LED */
19 #define DISPLAY_MODEL_LCD 0 /* KittyHawk LED or LCD */
20 #define DISPLAY_MODEL_NONE 1 /* no LED or LCD */
21 #define DISPLAY_MODEL_LASI 2 /* LASI style 8 bit LED */
22 #define DISPLAY_MODEL_OLD_ASP 0x7F /* faked: ASP style 8 x 1 bit LED (only very old ASP versions) */
29 /* registers the LED regions for procfs */
39 /* main LED initialization function (uses PDC) */
H A Dpdc_chassis.h44 * They setup everything for you, the Log message and the corresponding LED state
64 /* Old PDC LED control */
68 * Available PDC PAT LED states
85 * Valid PDC PAT LED states combinations
269 #define PDC_CHASSIS_SYSTATE_LED (3ULL << 0) /* LED change */
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_LED.h7 char id[27]; /* Unique ID for this trigger in the LED class */
8 __u8 always_blink; /* Blink even if the LED is already on */
9 __u32 delay; /* Delay until LED is switched off after trigger */
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dleds.h16 /* The LED class device */
18 /* The index number of the LED. */
20 /* If activelow is true, the LED is ON if the
23 /* The unique name string for this LED device. */
29 /* LED behaviour values */
49 /* LED support disabled */
H A Dleds.c4 LED control
68 /* Callback from the LED subsystem. */ b43legacy_led_brightness_set()
79 * whether the LED has the wrong state for a second. */ b43legacy_led_brightness_set()
136 /* Map the b43 specific LED behaviour value to the b43legacy_map_led()
137 * generic LED triggers. */ b43legacy_map_led()
170 /* Sync the RF-kill LED state with radio and switch states. */ b43legacy_map_led()
204 /* There is no LED information in the SPROM b43legacy_leds_init()
205 * for this LED. Hardcode it here. */ b43legacy_leds_init()
/linux-4.1.27/arch/sparc/include/asm/
H A Dauxio_64.h13 * LED/Floppy (AUX1) register
17 * LED Auxio Register
31 * L - System LED on front panel (0=off, 1=on)
38 #define AUXIO_AUX1_LED 0x01 /* System LED */
56 * PCIO LED Auxio @ 0x726000
58 * | 31:1 Unused | LED |
61 * LED - System LED on front panel (0=off, 1=on)
63 #define AUXIO_PCIO_LED 0x01 /* System LED */
90 /* auxio_set_led - Set system front panel LED
H A Dfhc.h19 #define CLOCK_CTRL_LLED 0x04 /* Left LED, 0 == on */
20 #define CLOCK_CTRL_MLED 0x02 /* Mid LED, 1 == on */
21 #define CLOCK_CTRL_RLED 0x01 /* RIght LED, 1 == on */
51 #define FHC_CONTROL_LLED 0x00000040 /* 0=Left LED ON */
52 #define FHC_CONTROL_MLED 0x00000020 /* 1=Middle LED ON */
53 #define FHC_CONTROL_RLED 0x00000010 /* 1=Right LED */
H A Dauxio_32.h12 * First, it is used to control the front panel LED light on machines
64 /* auxio_set_led - Set system front panel LED
/linux-4.1.27/drivers/net/wireless/b43/
H A Dleds.h18 /* The LED class device */
20 /* The index number of the LED. */
22 /* If activelow is true, the LED is ON if the
25 /* The unique name string for this LED device. */
27 /* The current status of the LED. This is updated locklessly. */
47 /* LED behaviour values */
71 /* LED support disabled */
H A Dleds.c4 LED control
108 /* Callback from the LED subsystem. */ b43_led_brightness_set()
167 /* Map the b43 specific LED behaviour value to the b43_map_led()
168 * generic LED triggers. */ b43_map_led()
226 /* There is no LED information in the SPROM b43_led_get_sprominfo()
227 * for this LED. Hardcode it here. */ b43_led_get_sprominfo()
265 /* Sync the RF-kill LED state (if we have one) with radio and switch states. */ b43_leds_init()
299 /* Initialize other LED states. */ b43_leds_init()
344 /* Register the LEDs to the LED subsystem. */ b43_leds_register()
/linux-4.1.27/arch/arm/mach-orion5x/
H A Dboard-d2net.c32 * GPIO LED's
36 * The blue front LED is wired to the CPLD and can blink in relation with the
39 * The following array detail the different LED registers and the combination
42 * led_off | blink_ctrl | SATA active | LED state
49 * Notes: The blue and the red front LED's can't be on at the same time.
50 * Red LED have priority.
87 /* Configure register blink_ctrl to allow SATA activity LED blinking. */ d2net_gpio_leds_init()
88 err = gpio_request(D2NET_GPIO_BLUE_LED_BLINK_CTRL, "blue LED blink"); d2net_gpio_leds_init()
95 pr_err("d2net: failed to configure blue LED blink GPIO\n"); d2net_gpio_leds_init()
H A Dnet2big-setup.c197 * SATAx blue LED | SATAx activity | LED state
203 * Notes: The blue and the red front LED's can't be on at the same time.
204 * Blue LED have priority.
253 /* Stop initial CPLD slow red/blue blinking on power LED. */ net2big_gpio_leds_init()
255 "Power LED blink stop"); net2big_gpio_leds_init()
262 pr_err("net2big: failed to setup power LED blink GPIO\n"); net2big_gpio_leds_init()
269 "SATA0 blue LED control"); net2big_gpio_leds_init()
276 pr_err("net2big: failed to setup SATA0 blue LED GPIO\n"); net2big_gpio_leds_init()
279 "SATA1 blue LED control"); net2big_gpio_leds_init()
286 pr_err("net2big: failed to setup SATA1 blue LED GPIO\n"); net2big_gpio_leds_init()
350 MPP6_GPIO, /* Red front LED (0 = Off, 1 = On) */
351 MPP7_GPIO, /* Disable initial blinking on front LED */
354 MPP10_GPIO, /* SATA 1 red LED (0 = Off, 1 = On) */
355 MPP11_GPIO, /* SATA 0 red LED (0 = Off, 1 = On) */
357 MPP13_GPIO, /* SATA 1 blue LED blink control */
360 MPP16_GPIO, /* Blue front LED control */
361 MPP17_GPIO, /* SATA 0 blue LED blink control */
H A Drd88f5181l-fxo-setup.c66 MPP0_GPIO, /* LED1 CardBus LED (front panel) */
70 MPP4_GPIO, /* LED6 - phone LED (front panel) */
71 MPP5_GPIO, /* LED5 - phone LED (front panel) */
76 MPP10_GPIO, /* LED2 MiniPCI LED (front panel) */
H A Dwrt350n-v2-setup.c104 MPP0_GPIO, /* Power LED green (0=on) */
105 MPP1_GPIO, /* Security LED (0=on) */
109 MPP5_GPIO, /* Power LED orange (0=on) */
110 MPP6_GPIO, /* USB LED (0=on) */
111 MPP7_GPIO, /* Wireless LED (0=on) */
H A Ddns323-setup.c369 MPP1_GPIO, /* right amber LED (sata ch0) */
370 MPP2_GPIO, /* left amber LED (sata ch1) */
372 MPP4_GPIO, /* power button LED */
373 MPP5_GPIO, /* power button LED */
393 MPP1_GPIO, /* right amber LED (sata ch0) */
394 MPP2_GPIO, /* left amber LED (sata ch1) */
396 MPP4_GPIO, /* power button LED */
397 MPP5_GPIO, /* power button LED */
424 MPP8_GPIO, /* i/o right amber LED */
425 MPP9_GPIO, /* i/o left amber LED */
433 MPP17_GPIO, /* power button LED */
623 /* The 5181 power LED is active low and requires dns323_init()
679 * Without this flag set, power LED will flash and cannot be dns323_init()
H A Dwnr854t-setup.c27 MPP0_GPIO, /* Power LED green (0=on) */
29 MPP2_GPIO, /* Power LED blink (0=off) */
30 MPP3_GPIO, /* WAN Status LED amber (0=off) */
H A Dls-chl-setup.c254 MPP0_GPIO, /* LED POWER */
256 MPP2_GPIO, /* LED ALARM */
257 MPP3_GPIO, /* LED INFO */
271 MPP17_GPIO, /* LED FUNC */
H A Dmv2120-setup.c111 MPP0_GPIO, /* Sys status LED */
112 MPP1_GPIO, /* Sys error LED */
119 MPP8_GPIO, /* SATA 0 fail LED */
120 MPP9_GPIO, /* SATA 1 fail LED */
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
H A Dleds.h6 * Based on the LED handling in the r8187 driver, which is:
44 /* The LED class device */
48 /* The unique name string for this LED device. */
50 /* If the LED is radio or tx/rx */
H A Dleds.c2 * Linux LED driver for RTL8187
6 * Based on the LED handling in the r8187 driver, which is:
35 /* Don't change the LED, when the device is down. */ led_turn_on()
39 /* Skip if the LED is not registered. */ led_turn_on()
73 /* Don't change the LED, when the device is down. */ led_turn_off()
77 /* Skip if the LED is not registered. */ led_turn_off()
101 /* Callback from the LED subsystem. */ rtl8187_led_brightness_set()
126 /* The LED is off for 1/20 sec - it just blinks. */ rtl8187_led_brightness_set()
181 /* According to the vendor driver, the LED operation depends on the rtl8187_leds_init()
228 /* registration of RX LED failed - unregister */ rtl8187_leds_init()
/linux-4.1.27/arch/ia64/sn/kernel/
H A Didle.c16 * Turn the activity LED off. snidle()
24 * Turn the activity LED on. snidle()
/linux-4.1.27/sound/soc/codecs/
H A Dcs35l32.h22 /* LED Current Management*/
24 /* Audio Gain w/ LED */
47 #define CS35L32_AUDIO_LED_MNGR 0x0D /* Audio/LED Pwr Manager */
57 #define CS35L32_LED_STATUS 0x18 /* LED Lighting Status [RO] */
58 #define CS35L32_FLASH_MODE 0x19 /* LED Flash Mode Current */
59 #define CS35L32_MOVIE_MODE 0x1A /* LED Movie Mode Current */
60 #define CS35L32_FLASH_TIMER 0x1B /* LED Flash Timer */
61 #define CS35L32_FLASH_INHIBIT 0x1C /* LED Flash Inhibit Current */
/linux-4.1.27/include/linux/mfd/
H A Dmc13xxx.h96 /* MC13783 LED IDs */
109 /* MC13892 LED IDs */
116 /* MC34708 LED IDs */
129 /* MC13783 LED Control 0 */
137 /* MC13783 LED Control 1 */
140 /* MC13783 LED Control 2 */
146 /* MC13783 LED Control 3 */
152 /* MC13783 LED Control 4 */
158 /* MC13783 LED Control 5 */
164 /* MC13892 LED Control 0 */
167 /* MC13892 LED Control 1 */
169 /* MC13892 LED Control 2 */
172 /* MC13892 LED Control 3 */
174 /* MC34708 LED Control 0 */
H A Dtps6105x.h56 * @TPS61905X_MODE_TORCH: this instance is used as a LED, usually a while
57 * LED, for example as backlight or flashlight. If this is set, the
58 * TPS6105X will register to the LED framework
H A Dmax8997.h166 * The number of LED devices for MAX8997 is two
167 * @mode: LED mode for each LED device
168 * @brightness: initial brightness for each LED device
220 /* ---- LED ---- */
H A Dasic3.h90 #define ASIC3_GPIO_ALT_FUNCTION 0x28 /* R/W 1:LED register control */
176 /* LED TimeBase bits - match ASIC2 */
183 #define LED_EN (1 << 4) /* LED ON/OFF 0:off, 1:on */
184 #define LED_AUTOSTOP (1 << 5) /* LED ON/OFF auto stop 0:disable, 1:enable */
185 #define LED_ALWAYS (1 << 6) /* LED Interrupt Mask 0:No mask, 1:mask */
260 #define ASIC3_SDHWCTRL_SDLED (1 << 5) /* SD card LED signal 0=disable */
H A Dmax77693.h25 * MAX77693 has PMIC, Charger, Flash LED, Haptic, MUIC devices.
/linux-4.1.27/drivers/leds/
H A Dleds-menf21bmc.c4 * This is the core LED driver of the MEN 14F021P00 BMC.
6 * STATUS LED, HOT SWAP LED, USER LED 1, USER LED 2
94 dev_info(&pdev->dev, "MEN 140F21P00 BMC LED device enabled\n"); menf21bmc_led_probe()
99 dev_err(&pdev->dev, "failed to register LED device\n"); menf21bmc_led_probe()
H A Dleds-ipaq-micro.c6 * h3xxx atmel micro companion support, notification LED subdevice
19 #define LED_EN (1 << 4) /* LED ON/OFF 0:off, 1:on */
20 #define LED_AUTOSTOP (1 << 5) /* LED ON/OFF auto stop set 0:disable, 1:enable */
21 #define LED_ALWAYS (1 << 6) /* LED Interrupt Mask 0:No mask, 1:mask */
29 * Byte 0 = LED color: 0 = yellow, 1 = green micro_leds_brightness_set()
30 * yellow LED is always ~30 blinks per minute micro_leds_brightness_set()
66 * Byte 0 = LED color: 0 = yellow, 1 = green micro_leds_blink_set()
67 * yellow LED is always ~30 blinks per minute micro_leds_blink_set()
119 dev_info(&pdev->dev, "iPAQ micro notification LED driver\n"); micro_leds_probe()
H A Dleds-rb532.c2 * LEDs driver for the "User LED" on Routerboard532
7 * rb-diag.c (my own standalone driver for both LED and
62 MODULE_DESCRIPTION("User LED support for Routerboard532");
H A Dleds-pca955x.c10 * LED driver for various PCA955x I2C LED drivers
22 * Philips PCA955x LED driver chips follow a register map as shown below:
35 * NUM_INPUT_REGS + 4 LED selector 0
37 * + NUM_LED_REGS - 1 Last LED selector
53 /* LED select registers determine the source that drives LED outputs */
126 /* 4 bits per LED selector register */ pca95xx_num_led_regs()
133 * Return an LED selector register value based on an existing one, with
134 * the appropriate 2-bit state value set for the given LED number (0-3).
157 * output. LED is OFF when the count is less than the value of this
158 * register, and ON when it is greater. If PWMx == 0, LED is always OFF.
172 * Write to LED selector register, which determines the source that
173 * drives the LED output.
185 * Read the LED selector register, which determines the source that
186 * drives the LED output.
280 dev_info(&client->dev, "leds-pca955x: Using %s %d-bit LED driver at " pca955x_probe()
316 /* Platform data can specify LED names and default triggers */ pca955x_probe()
392 MODULE_DESCRIPTION("PCA955x LED driver");
H A Dleds-syscon.c34 * @cdev: LED class device for this LED
35 * @map: regmap to access the syscon device backing this LED
36 * @offset: the offset into the syscon regmap for the LED register
37 * @mask: the bit in the register corresponding to the LED
38 * @state: current state of the LED
66 dev_err(sled->cdev.dev, "error updating LED status\n"); syscon_led_set()
130 dev_info(dev, "registered LED %s\n", sled->cdev.name); for_each_available_child_of_node()
H A Dleds-lp55xx-common.h99 * @set_led_current : LED current set function
121 /* used for running firmware LED patterns */
131 * @led_mux : Mux bits for LED selection. Only used in LP5523
147 * @fw : Firmware data for running a LED pattern
164 * @cdev : LED class device
194 /* common LED class device functions */
H A Dleds-pca963x.c14 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62)
15 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.)
21 * in identical fashion. The delay_on/delay_off values of the last LED
40 /* LED select registers determine the source that drives LED outputs */
41 #define PCA963X_LED_OFF 0x0 /* LED driver off */
42 #define PCA963X_LED_ON 0x1 /* LED driver on */
394 /* Platform data can specify LED names and default triggers */ pca963x_probe()
423 /* Disable LED all-call address and set normal mode */ pca963x_probe()
472 MODULE_DESCRIPTION("PCA963X LED driver");
H A Dleds-cobalt-qube.c4 * Control the Cobalt Qube/RaQ front LED
85 MODULE_DESCRIPTION("Front LED support for Cobalt Server");
H A Dleds-hp6xx.c2 * LED Triggers Core
92 MODULE_DESCRIPTION("HP Jornada 6xx LED driver");
H A Dleds-sunfire.c1 /* leds-sunfire.c: SUNW,Ultra-Enterprise LED driver.
20 MODULE_DESCRIPTION("Sun Fire LED driver");
152 dev_err(&pdev->dev, "Could not register %s LED\n", sunfire_led_generic_probe()
242 pr_err("Could not register clock board LED driver\n"); sunfire_leds_init()
248 pr_err("Could not register FHC LED driver\n"); sunfire_leds_init()
H A Dled-triggers.c2 * LED Triggers Core
31 /* Used by LED Class */
191 /* LED Trigger Interface */
252 /* Simple LED Tigger Interface */
321 pr_warn("LED trigger %s failed to register (%d)\n", led_trigger_register_simple()
325 pr_warn("LED trigger %s failed to register (no memory)\n", led_trigger_register_simple()
342 MODULE_DESCRIPTION("LED Triggers Core");
H A Dleds-fsg.c2 * LED Driver for the Freecom FSG-3
150 /* Map the LED chip select address space */ fsg_led_probe()
224 MODULE_DESCRIPTION("Freecom FSG-3 LED driver");
H A Dleds-da9052.c2 * LED Driver for Dialog DA9052 PMICs.
122 dev_err(&pdev->dev, "No platform data for LED\n"); da9052_led_probe()
160 dev_err(&pdev->dev, "Failed to configure GPIO LED%d\n", error); da9052_led_probe()
210 MODULE_DESCRIPTION("LED driver for Dialog DA9052 PMIC");
H A Dleds-dac124s085.c9 * LED driver for the DAC124S085 SPI DAC
132 MODULE_DESCRIPTION("DAC124S085 LED driver");
H A Dleds-netxbig.c126 * Class LED driver.
171 /* Look for a LED mode with the requested timer frequency. */ netxbig_led_blink_set()
221 * SATA LED will affect all the others. netxbig_led_set()
322 * value, there is no way to probe the LED initial state. create_netxbig_led()
323 * So, the initial sysfs LED value for the "brightness" and "sata" create_netxbig_led()
326 * Note that the initial LED state can't be reconfigured. create_netxbig_led()
327 * The reason is that the LED behaviour must stay uniform during create_netxbig_led()
413 MODULE_DESCRIPTION("LED driver for LaCie xBig Network boards");
H A Dleds-versatile.c24 * LED triggers are compiled in.
109 MODULE_DESCRIPTION("ARM Versatile LED driver");
H A Dleds-ns2.c2 * leds-ns2.c - Driver for the Network Space v2 (and parents) dual-GPIO LED
36 * The Network Space v2 dual-GPIO LED is wired to a CPLD and can blink in
40 * The following array detail the different LED registers and the combination
43 * cmd_led | slow_led | /SATA active | LED state
236 /* Set LED initial state. */ create_ns2_led()
390 MODULE_DESCRIPTION("Network Space v2 LED driver");
H A Dleds-lt3593.c91 dev_info(parent, "%s: skipping unavailable LT3593 LED at gpio %d (%s)\n", create_lt3593_led()
120 dev_info(parent, "%s: registered LT3593 LED '%s' at GPIO %d\n", create_lt3593_led()
193 MODULE_DESCRIPTION("LED driver for LT3593 controllers");
H A Dleds-regulator.c2 * leds-regulator.c - LED class driver for regulator driven LEDs.
46 * and the LED can be turned on and off. led_regulator_get_max_brightness()
224 MODULE_DESCRIPTION("Regulator driven LED driver");
H A Dled-core.c2 * LED Class Core
138 dev_dbg(led_cdev->dev, "Setting LED brightness failed (%d)\n", led_set_brightness()
H A Dleds-da903x.c106 dev_err(&pdev->dev, "invalid LED ID (%d) specified\n", id); da903x_led_probe()
128 dev_err(&pdev->dev, "failed to register LED %d\n", id); da903x_led_probe()
H A Ddell-led.c2 * dell_led.c - Dell LED Driver
22 MODULE_DESCRIPTION("Dell LED Control Driver");
40 /* LED Commands */
295 /* The Dell LED delay is based on 125ms intervals. dell_led_blink()
H A Dleds-88pm860x.c2 * LED driver for Marvell 88PM860x
112 dev_dbg(chip->dev, "Update LED. (reg:%d, brightness:%d)\n", pm860x_led_work()
221 dev_err(&pdev->dev, "Failed to register LED: %d\n", ret); pm860x_led_probe()
247 MODULE_DESCRIPTION("LED driver for Marvell PM860x");
H A Dleds-locomo.c96 MODULE_DESCRIPTION("Locomo LED driver");
H A Dleds-net48xx.c94 MODULE_DESCRIPTION("Soekris net48xx LED driver");
H A Dleds.h2 * LED Core
H A Dleds-bd2802.c2 * leds-bd2802.c - RGB LED Driver
214 * off. So set RGB LED Control register to stop the current RGB LED bd2802_update_state()
579 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
591 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
603 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
615 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
627 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
640 dev_err(&led->client->dev, "couldn't register LED %s\n", bd2802_register_led_classdev()
808 MODULE_DESCRIPTION("BD2802 LED driver");
H A Dleds-asic3.c19 * The HTC ASIC3 LED GPIOs are inputs, not outputs.
178 MODULE_DESCRIPTION("HTC ASIC3 LED driver");
H A Dleds-clevo-mail.c19 MODULE_DESCRIPTION("Clevo mail LED driver");
120 * chose one user friendly blinking of the LED, and clevo_mail_led_blink()
H A Dleds-pwm.c4 * simple PWM based LED control
239 MODULE_DESCRIPTION("PWM LED driver for PXA");
H A Dleds-wm8350.c2 * LED driver for WM8350 driven LEDS.
284 MODULE_DESCRIPTION("WM8350 LED driver");
H A Dleds-lp8860.c2 * TI LP8860 4-Channel LED Driver
100 * @regulator - LED supply regulator pointer
102 * @label - LED label
491 MODULE_DESCRIPTION("Texas Instruments LP8860 LED driver");
H A Dleds-ot200.c167 MODULE_DESCRIPTION("ot200 LED driver");
H A Dleds-wrap.c151 MODULE_DESCRIPTION("PCEngines WRAP LED driver");
H A Dled-class.c2 * LED Class Core
123 /* Time to switch the LED on. */ led_timer_function()
405 MODULE_DESCRIPTION("LED Class Interface");
H A Dleds-mc13783.c219 dev_err(dev, "Invalid LED count %d\n", leds->num_leds); mc13xxx_led_probe()
250 dev_warn(dev, "LED %i already initialized\n", id); mc13xxx_led_probe()
267 dev_err(dev, "Failed to register LED %i\n", id); mc13xxx_led_probe()
H A Dleds-wm831x-status.c2 * LED driver for WM831x status LEDs
296 dev_err(&pdev->dev, "Failed to register LED: %d\n", ret); wm831x_status_probe()
323 MODULE_DESCRIPTION("WM831x status LED driver");
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-cpu.c2 * ledtrig-cpu.c - LED trigger based on CPU activity
4 * This LED trigger will be registered for each possible CPU and named as
7 * It can be bound to any LED just like other triggers using either a
46 * binded LED to turn on or turn off.
52 /* Locate the correct CPU LED */ ledtrig_cpu()
56 /* Will turn the LED on, max brightness */ ledtrig_cpu()
63 /* Will turn the LED off */ ledtrig_cpu()
68 /* Will leave the LED as it is */ ledtrig_cpu()
165 MODULE_DESCRIPTION("CPU LED trigger");
H A Dledtrig-ide-disk.c2 * LED IDE-Disk Activity Trigger
46 MODULE_DESCRIPTION("LED IDE Disk Activity Trigger");
H A Dledtrig-default-on.c2 * LED Kernel Default ON Trigger
44 MODULE_DESCRIPTION("Default-ON LED trigger");
H A Dledtrig-backlight.c2 * Backlight emulation LED trigger
90 /* After inverting, we need to update the LED. */ bl_trig_invert_store()
167 MODULE_DESCRIPTION("Backlight emulation LED trigger");
H A Dledtrig-camera.c55 MODULE_DESCRIPTION("LED Trigger for Camera Flash/Torch Control");
H A Dledtrig-timer.c2 * LED Kernel Timer Trigger
129 MODULE_DESCRIPTION("Timer LED trigger");
H A Dledtrig-gpio.c2 * ledtrig-gio.c - LED Trigger Based on GPIO events
122 /* After inverting, we need to update the LED. */ gpio_trig_inverted_store()
252 MODULE_DESCRIPTION("GPIO LED trigger");
H A Dledtrig-heartbeat.c2 * LED Heartbeat Trigger
160 MODULE_DESCRIPTION("Heartbeat LED trigger");
H A Dledtrig-oneshot.c2 * One-shot LED Trigger
203 MODULE_DESCRIPTION("One-shot LED trigger");
H A Dledtrig-transient.c2 * LED Kernel Transient Trigger
238 MODULE_DESCRIPTION("Transient LED trigger");
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Drtl8188eu_led.c27 /* LED object. */
31 /* Turn on LED according to LedPin specified. */ SwLedOn()
44 /* Turn off LED according to LedPin specified. */ SwLedOff()
56 /* Open-drain arrangement for controlling the LED) */ SwLedOff()
69 /* Interface to manipulate LED objects. */
70 /* Default LED behavior. */
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_led.h33 * LED customization.
68 * LED customization.
72 SW_LED_MODE0, /* SW control 1 LED via GPIO0. It is default option. */
74 SW_LED_MODE2, /* SW control 1 LED via GPIO0,
76 SW_LED_MODE3, /* SW control 1 LED via GPIO0,
88 u32 CurrLedState; /* Current LED state. */
89 u8 bLedOn; /* true if LED is ON */
117 * Interface to manipulate LED objects.
H A Drtl8712_led.c36 * Default LED behavior.
49 * LED object.
59 LED_SCAN_BLINK = 6, /* LED is blinking during scanning period,
62 LED_NO_LINK_BLINK = 7, /* LED is blinking during no link state. */
65 LED_BLINK_WPS = 9, /* LED is blinkg during WPS communication */
119 * Turn on LED according to LedPin specified.
148 * Turn off LED according to LedPin specified.
176 * Interface to manipulate LED objects.
203 * Implementation of LED blinking behavior.
204 * It toggle off LED and schedule corresponding timer if necessary.
212 /* Change LED according to BlinkingLedState specified. */ SwLedBlink()
217 /* Determine if we shall change LED state again. */ SwLedBlink()
253 /* Assign LED state to toggle. */ SwLedBlink()
259 /* Schedule a timer to toggle LED state. */ SwLedBlink()
293 /* Change LED according to BlinkingLedState specified. */ SwLedBlink1()
438 /* Change LED according to BlinkingLedState specified. */ SwLedBlink2()
503 /* Change LED according to BlinkingLedState specified. */ SwLedBlink3()
597 /* Change LED according to BlinkingLedState specified. */ SwLedBlink4()
725 /* Change LED according to BlinkingLedState specified. */ SwLedBlink5()
781 /* Change LED according to BlinkingLedState specified. */ SwLedBlink6()
821 * Callback function of LED BlinkTimer,
837 * Callback function of LED BlinkWorkItem.
838 * We dispatch actual LED blink action according to LedStrategy.
875 * Default LED behavior.
1802 * Dispatch LED action according to pHalData->LedStrategy.
/linux-4.1.27/arch/arm/mach-mvebu/
H A Dnetxbig.c54 * 0 | front LED
55 * 1 | front LED brightness
56 * 2 | SATA LED brightness
57 * 3 | SATA0 LED
58 * 4 | SATA1 LED
59 * 5 | SATA2 LED
60 * 6 | SATA3 LED
61 * 7 | SATA4 LED
65 * data | LED brightness
71 * data | front LED mode
82 * data | SATA LED mode
/linux-4.1.27/include/linux/platform_data/
H A Dleds-kirkwood-ns2.h2 * Platform data structure for Network Space v2 LED driver
H A Dleds-lm3642.h6 * Simple driver for Texas Instruments LM3642 LED driver chip
H A Dleds-s3c24xx.h16 #define S3C24XX_LEDF_ACTLOW (1<<0) /* LED is on when GPIO low */
H A Dleds-kirkwood-netxbig.h2 * Platform data structure for netxbig LED driver
H A Dleds-lp55xx.h50 * @num_channels : Number of LED channels
62 /* LED channel configuration */
H A Dleds-lm355x.h6 * Simple driver for Texas Instruments LM355x LED driver chip
H A Dleds-pca963x.h2 * PCA963X LED chip driver.
H A Dlm3630a_bl.h2 * Simple driver for Texas Instruments LM3630A LED Flash driver chip
H A Dlm3639_bl.h2 * Simple driver for Texas Instruments LM3630 LED Flash driver chip
/linux-4.1.27/arch/arm/mach-ebsa110/
H A Dleds.c2 * Driver for the LED found on the EBSA110 machine
3 * Based on Versatile and RealView machine LED code
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Drtw_led.h59 enum LED_STATE_871x CurrLedState; /* Current LED state. */
63 u8 bLedOn; /* true if LED is ON, false if LED is OFF. */
81 * manipulate H/W to blink LED. */
H A Drtl8188e_led.h28 /* Interface to manipulate LED objects. */
/linux-4.1.27/drivers/parisc/
H A Dled.c2 * Chassis LCD/LED driver for HP-PARISC workstations
61 static unsigned char lastleds; /* LED state from most recent update */
67 static int lcd_no_led_support __read_mostly = 0; /* KittyHawk doesn't support LED on its LCD */
82 unsigned char on; /* value for turning LED on */
83 unsigned char off; /* value for turning LED off */
92 unsigned long lcd_cmd_reg_addr; /* ptr to LCD cmd-register & data ptr for LED */
139 /* KittyHawk has no LED support on its LCD */ start_task()
142 /* Create the work queue and queue the LED task */ start_task()
151 /* ptr to LCD/LED-specific function */
259 &led_proc_fops, (void *)LED_NOLCD); /* LED */ led_create_procfs()
427 ** manages when and which chassis LCD/LED gets updated
430 - display load average (older machines like 715/64 have 4 "free" LED's for that)
458 /* flash heartbeat-LED like a real heart led_work_func()
498 ** LED/LCD activities.
546 ** registers an external LED or LCD for usage by this driver.
547 ** currently only LCD-, LASI- and ASP-style LCD/LED's are supported.
573 printk(KERN_INFO "LED display at %lx registered\n", LED_DATA_REG); register_led_driver()
580 printk(KERN_INFO "LED (ASP-style) display at %lx registered\n", register_led_driver()
586 printk(KERN_ERR "%s: Wrong LCD/LED model %d !\n", register_led_driver()
591 /* mark the LCD/LED driver now as initialized and register_led_driver()
607 ** register_led_regions() registers the LCD/LED regions for /procfs.
608 ** At bootup - where the initialisation of the LCD/LED normally happens -
678 ** and asks the PDC for an usable chassis LCD or LED.
679 ** If the PDC doesn't return any info, then the LED
702 "LED detection skipped.\n", __FILE__, CPU_HVERSION); led_init()
718 (lcd_info.model==DISPLAY_MODEL_LASI) ? "LED" : "unknown", led_init()
742 case DISPLAY_MODEL_NONE: /* no LED or LCD available */ led_init()
743 printk(KERN_INFO "PDC reported no LCD or LED.\n"); led_init()
746 case DISPLAY_MODEL_LASI: /* Lasi style 8 bit LED display */ led_init()
752 printk(KERN_WARNING "PDC reported unknown LCD/LED model %d\n", led_init()
758 /* register the LCD/LED driver */ led_init()
H A Dlasi.c97 ** lasi_led_init() initializes the LED controller on the LASI.
99 ** Since Mirage and Electra machines use a different LED
115 /* Gecko machines have only one single LED, which can be permanently lasi_led_init()
125 return; /* no need to register the LED interrupt-function */ lasi_led_init()
/linux-4.1.27/include/linux/mfd/da9063/
H A Dpdata.h67 * RGB LED configuration
69 /* LED IDs for flags in struct led_info. */
79 /* LED polarity for flags in struct led_info. */
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dgpio.c29 * DOC: GPIO/LED functions
36 * We also control the two LED pins provided by the hw, LED_0 is our
37 * "power" LED and LED_1 is our "network activity" LED but many scenarios
39 * GPIO pins, we handle them through the LED subsystem on led.c
48 * Used to set the LED blinking state. This only
49 * works for the LED connected to the LED_0, LED_1 pins,
/linux-4.1.27/samples/uhid/
H A Duhid-example.c86 * LED.NumLock
87 * LED.CapsLock
88 * LED.ScrollLock
103 * LED.NumLock ---> LED.NumLock
104 * LED.CapsLock ---> LED.CapsLock
105 * LED.ScrollLock ---> LED.ScrollLock
205 * However, for ducomentational purposes, we try to detect LED events here and
209 /* LED messages are adverised via OUTPUT reports; ignore the rest */ handle_output()
212 /* LED reports have length 2 bytes */ handle_output()
220 fprintf(stderr, "LED output report received with flags %x\n", handle_output()
/linux-4.1.27/drivers/hid/
H A Dhid-holtek-kbd.c26 * doesn't have an LED output usage block.
29 * and provides an LED output usage block. LED output events are redirected
91 /* LED usage for the boot protocol interface */
95 0x05, 0x08, /* Usage Page (LED), */
127 /* Locate the boot interface, to receive the LED change events */ holtek_kbd_input_event()
H A Dhid-steelseries.c137 /* Note: LED change does not show on device until the device is read/polled */ steelseries_srws1_set_leds()
274 hid_err(hdev, "can't allocate memory for LED ALL\n"); steelseries_srws1_probe()
291 /* Each individual LED */ steelseries_srws1_probe()
295 hid_err(hdev, "can't allocate memory for LED %d\n", i); steelseries_srws1_probe()
311 hid_err(hdev, "failed to register LED %d. Aborting.\n", i); steelseries_srws1_probe()
H A Dhid-picolcd_leds.c125 dev_err(dev, "can't allocate memory for LED %d\n", i); picolcd_init_leds()
142 dev_err(dev, "can't register LED %d\n", i); picolcd_init_leds()
H A Dhid-thingm.c2 * ThingM blink(1) USB RGB LED driver
53 /* Basically a WS2812 5050 RGB LED chip */
313 MODULE_DESCRIPTION("ThingM blink(1) USB RGB LED driver");
/linux-4.1.27/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.h54 #define PDAUDIOCF_RED_LED_OFF (1<<8) /* red LED off override */
55 #define PDAUDIOCF_BLUE_LED_OFF (1<<9) /* blue LED off override */
70 #define PDAUDIOCF_BLUEDUTY0 (1<<8) /* blue LED duty cycle; 00 = 100%, 01 = 50% */
72 #define PDAUDIOCF_REDDUTY0 (1<<10) /* red LED duty cycle; 00 = 100%, 01 = 50% */
74 #define PDAUDIOCF_BLUESDD (1<<12) /* blue LED against SDD bit */
77 #define PDAUDIOCF_HALFRATE (1<<15) /* slow both LED blinks by half (also spdif detect rate) */
/linux-4.1.27/drivers/pci/hotplug/
H A Dacpiphp_core.c85 * acpiphp_register_attention - set attention LED callback
86 * @info: must be completely filled with LED callbacks
89 * driver that manipulates the attention LED. All the fields in
107 * acpiphp_unregister_attention - unset attention LED callback
111 * driver that manipulates the attention LED. The pointer to the
162 * set_attention_status - set attention LED
163 * @hotplug_slot: slot to set attention LED on
164 * @status: value to set attention LED to (0 or 1)
166 * attention status LED, so we use a callback that
207 * get_attention_status - get attention LED status
209 * @value: returns with value of attention LED
212 * of the attention status LED, so we use a callback that
H A Drpaphp_core.c57 * set_attention_status - set attention LED
59 * @value: LED control value
61 * echo 0 > attention -- set LED OFF
62 * echo 1 > attention -- set LED ON
63 * echo 2 > attention -- set LED ID(identify, light is blinking)
104 * get_attention_status - get attention LED status
H A Dacpiphp_ibm.c164 * ibm_set_attention_status - callback method to set the attention LED
166 * @status: what to set the LED to (0 or 1)
169 * callback to do the device specific task of setting the LED status.
204 * ibm_get_attention_status - callback method to get attention LED status
206 * @status: returns what the LED is set to (0 or 1)
209 * callback to do the device specific task of getting the LED status.
211 * Because there is no direct method of getting the LED status directly
H A Dshpchp_ctrl.c272 /* turn on board, blink green LED, turn off Amber LED */ board_added()
301 /* turn on board, blink green LED, turn off Amber LED */ board_added()
336 /* turn off slot, turn on Amber LED, turn off Green LED */ board_added()
370 /* turn off slot, turn on Amber LED, turn off Green LED */ remove_board()
502 /* blink green LED and turn off amber */ handle_button_press_event()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dled.c34 /* Callback from the LED subsystem. */ brcms_led_brightness_set()
73 /* find radio enabled LED */ brcms_led_register()
87 /* request and configure LED gpio */ brcms_led_register()
/linux-4.1.27/arch/sh/boards/mach-cayman/
H A Dpanic.c41 /* This piece of code displays the PC on the LED display */ panic_handler()
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Ddisplay7seg.h23 * ALARM - Toggle alarm LED (0=green 1=red)
40 #define D7S_ALARM (1 << 6) /* Alarm LED */
/linux-4.1.27/sound/pci/hda/
H A Ddell_wmi_helper.c1 /* Helper functions for Dell Mic Mute LED control;
53 codec_dbg(codec, "Skipping micmute LED control due to several ADCs"); alc_fixup_dell_wmi()
H A Dthinkpad_helper.c1 /* Helper functions for Thinkpad LED control;
80 "Skipping micmute LED control due to several ADCs"); hda_fixup_thinkpad_acpi()
/linux-4.1.27/arch/sh/drivers/
H A Dheartbeat.c2 * Generic heartbeat driver for regular LED banks
8 * function or via the LED class, if desired -- the hardware tends to
9 * encapsulate some of the same "triggers" that the LED class supports,
12 * Additionally, most of these boards also have a LED bank that we've
14 * handled by this driver, rather than giving each LED bit position its
/linux-4.1.27/drivers/mfd/
H A Ddm355evm_msp.c102 MSP_GPIO(0, LED), MSP_GPIO(1, LED),
103 MSP_GPIO(2, LED), MSP_GPIO(3, LED),
104 MSP_GPIO(4, LED), MSP_GPIO(5, LED),
105 MSP_GPIO(6, LED), MSP_GPIO(7, LED),
267 /* LED output */ add_children()
391 /* init LED cache, and turn off the LEDs */ dm355evm_msp_probe()
H A Dlp3943.c16 * LED control General usage for a device
23 * Internal two PWM channels are used for LED dimming effect.
25 * The LED functionality can work with GPIOs or PWMs.
H A Dtps6105x.c2 * Core driver for TPS61050/61052 boost converters, used for while LED
3 * driving, audio power amplification, white LED flash, and generic
237 MODULE_DESCRIPTION("TPS6105x White LED Boost Converter Driver");
H A Dhtc-pasic3.c2 * Core driver for HTC PASIC3 LED/DS1WM chip.
181 dev_warn(dev, "failed to register LED device\n"); pasic3_probe()
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dpcm990_baseboard.h52 #define PCM990_CTRL_REG2 0x0004 /* LED REGISTER */
53 #define PCM990_CTRL_LEDPWR 0x0001 /* POWER LED enable */
54 #define PCM990_CTRL_LEDBAS 0x0002 /* BASIS LED enable */
55 #define PCM990_CTRL_LEDUSR 0x0004 /* USER LED enable */
68 #define PCM990_CTRL_MMC2LED 0x0002 /* RW MMC2 LED */
158 #define PCM990_CF_REG0_LED 0x0001 /* RW LED on */
159 #define PCM990_CF_REG0_BLK 0x0002 /* RW LED flash when access */
H A Dpalmz72.h40 /* LED */
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_led.c22 /* Callback function of LED BlinkTimer, */
38 /* Callback function of LED BlinkWorkItem. */
52 pLed->CurrLedState = RTW_LED_OFF; /* Current LED state. */ ResetLedStatus()
53 pLed->bLedOn = false; /* true if LED is ON, false if LED is OFF. */ ResetLedStatus()
95 /* Implementation of LED blinking behavior. */
96 /* It toggle off LED and schedule corresponding timer if necessary. */
105 /* Change LED according to BlinkingLedState specified. */ SwLedBlink1()
464 /* Handler function of LED Blinking. */
/linux-4.1.27/drivers/net/can/
H A Dled.c24 /* Trigger a LED event in response to a CAN device event */ can_led_event()
69 /* Register CAN LED triggers for a CAN device
80 netdev_err(netdev, "cannot register LED triggers\n"); devm_can_led_init()
/linux-4.1.27/drivers/atm/
H A Didt77105.h18 #define IDT77105_LEDHEC 0x3 /* LED Driver & HEC Status/Control */
64 #define IDT77105_LEDHEC_TLS 0x02 /* R, Tx LED Status (1=lit) */
65 #define IDT77105_LEDHEC_RLS 0x01 /* R, Rx LED Status (1=lit) */
/linux-4.1.27/arch/sh/include/mach-se/mach/
H A Dse7780.h38 #define PA_LED_DISP (PA_PERIPHERAL + 0x02000000) /* 8words LED Display */
65 #define FPGA_DBG_LED (PA_FPGA + 32) /* Debug LED(D-LED[8:1] */
H A Dse7721.h53 #define PA_LED 0xB6800000 /* 8bit LED */
H A Dse7724.h29 #define PA_LED (0xba203000) /* 8bit LED */
H A Dse7751.h37 #define PA_LED 0xba000000 /* LED */
H A Dse.h39 #define PA_LED 0xb0c00000 /* LED */
H A Dse7722.h54 #define PA_LED (PA_PERIPHERAL + 0x00800000) /* 8bit LED */
/linux-4.1.27/include/linux/i2c/
H A Dadp8860.h102 u8 bl_led_assign; /* 1 = Backlight 0 = Individual LED */
131 u8 led_fade_in; /* LED Fade-In Timer */
132 u8 led_fade_out; /* LED Fade-Out Timer */
H A Dadp8870.h109 u8 bl_led_assign; /* 1 = Backlight 0 = Individual LED */
147 u8 led_fade_in; /* LED Fade-In Timer */
148 u8 led_fade_out; /* LED Fade-Out Timer */
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dphy.h33 /* What link the LED tracks */
/linux-4.1.27/arch/mips/cobalt/
H A Dreset.c35 * turn on power off LED on RaQ cobalt_machine_halt()
H A Dled.c2 * Registration of Cobalt LED platform device.
/linux-4.1.27/drivers/usb/common/
H A Dled.c2 * LED Triggers for USB Activity
/linux-4.1.27/arch/sh/include/mach-ecovec24/mach/
H A Dromimage.h40 /* disable Hi-Z for LED pins */
/linux-4.1.27/arch/mips/include/asm/mach-ath25/
H A Dath25_platform.h27 #define BD_SYSLED 0x00000020 /* System LED stuffed */
41 u16 sys_led_gpio; /* System LED GPIO pin */
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Durquell.h44 #define SLEDR_OFS 0x0130 /* LED control resister */
65 #define CHARLED_OFS 0x2000 /* Character LED */
H A Dmagicpanelr2.h30 #define PA_LED PORT_PADR /* LED */
H A Dr2d.h39 #define PA_OUTPORT 0xa4000036 /* LED control */
H A Dsdk7780.h53 #define FPGA_SLEDR (PA_FPGA + 0x0B0) /* LED control */
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Danysee.h209 | 00-63 | LED CONTROL REQUEST PACKET
211 | 00 | 0x16 LED and IR control command
213 | 01 | 0x01 (LED)
219 | | 0x00 fastest (looks like LED lights continuously)
232 | 00 | 0x16 LED and IR control command
/linux-4.1.27/drivers/usb/misc/
H A Dusbled.c2 * USB LED driver
20 #define DRIVER_DESC "USB LED Driver"
28 /* the Webmail LED made by RISO KAGAKU CORP. decodes a color index
228 dev_info(&interface->dev, "USB LED device now attached\n"); led_probe()
259 dev_info(&interface->dev, "USB LED now disconnected\n"); led_disconnect()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dau8522_common.c146 /* bail out if we can't control an LED */ au8522_led_gpio_enable()
176 /* bail out if we can't control an LED */ au8522_led_ctrl()
182 /* if LED is already lit, then leave it as-is */ au8522_led_ctrl()
189 /* toggle LED if changing state */ au8522_led_ctrl()
204 /* set selected LED state */ au8522_led_ctrl()
H A Dds3000.h34 /* Hook for Lock LED */
H A Dstv0900.h57 /* Hook for Lock LED */
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dskge.h153 /* B0_LED 8 Bit LED register */
155 LED_STAT_ON = 1<<1, /* Status LED on */
156 LED_STAT_OFF = 1, /* Status LED off */
539 /* Receive MAC FIFO, Receive LED, and Link_Sync regs (GENESIS only) */
554 RX_LED_INI = 0x0c20,/* 32 bit Receive LED Cnt Init Value */
555 RX_LED_VAL = 0x0c24,/* 32 bit Receive LED Cnt Current Value */
556 RX_LED_CTRL = 0x0c28,/* 8 bit Receive LED Cnt Control Reg */
557 RX_LED_TST = 0x0c29,/* 8 bit Receive LED Cnt Test Register */
563 LNK_LED_REG = 0x0c3c,/* 8 bit Link LED Register */
639 /* Link LED Counter Registers (GENESIS only) */
641 /* RX_LED_CTRL 8 bit Receive LED Cnt Control Reg */
642 /* TX_LED_CTRL 8 bit Transmit LED Cnt Control Reg */
647 LED_STATE = 1<<0, /* Rx/Tx: LED State, 1=LED on */
650 /* RX_LED_TST 8 bit Receive LED Cnt Test Register */
651 /* TX_LED_TST 8 bit Transmit LED Cnt Test Register */
654 LED_T_ON = 1<<2, /* LED Counter Test mode On */
655 LED_T_OFF = 1<<1, /* LED Counter Test mode Off */
656 LED_T_STEP = 1<<0, /* LED Counter Step */
659 /* LNK_LED_REG 8 bit Link LED Register */
661 LED_BLK_ON = 1<<5, /* Link LED Blinking On */
662 LED_BLK_OFF = 1<<4, /* Link LED Blinking Off */
663 LED_SYNC_ON = 1<<3, /* Use Sync Wire to switch LED */
665 LED_ON = 1<<1, /* switch LED on */
666 LED_OFF = 1<<0, /* switch LED off */
781 /* Transmit MAC FIFO and Transmit LED Registers (GENESIS only), */
796 TX_LED_INI = 0x0d20,/* 32 bit Transmit LED Cnt Init Value */
797 TX_LED_VAL = 0x0d24,/* 32 bit Transmit LED Cnt Current Val */
798 TX_LED_CTRL = 0x0d28,/* 8 bit Transmit LED Cnt Control Reg */
799 TX_LED_TST = 0x0d29,/* 8 bit Transmit LED Cnt Test Reg */
1002 PHY_MARV_LED_CTRL = 0x18,/* 16 bit r/w LED Control Reg */
1003 PHY_MARV_LED_OVER = 0x19,/* 16 bit r/w Manual LED Override Reg */
1011 PHY_MARV_FE_LED_PAR = 0x16,/* 16 bit r/w LED Parallel Select Reg. */
1012 PHY_MARV_FE_LED_SER = 0x17,/* 16 bit r/w LED Stream Select S. LED */
1179 PHY_B_PEC_EN_LTR = 1<<5, /* Bit 5: Ena LED Traffic Mode */
1180 PHY_B_PEC_LED_ON = 1<<4, /* Bit 4: Force LED's on */
1181 PHY_B_PEC_LED_OFF = 1<<3, /* Bit 3: Force LED's off */
1183 PHY_B_PEC_3_LED = 1<<1, /* Bit 1: Three Link LED mode */
1463 /***** PHY_MARV_LED_CTRL 16 bit r/w LED Control Reg *****/
1465 PHY_M_LEDC_DIS_LED = 1<<15, /* Disable LED */
1507 /***** PHY_MARV_LED_OVER 16 bit r/w Manual LED Override Reg *****/
1569 /***** PHY_MARV_FE_LED_PAR 16 bit r/w LED Parallel Select Reg. *****/
1608 /***** PHY_MARV_PHY_CTRL (page 3) 16 bit r/w LED Control Reg. *****/
1610 PHY_M_LEDC_LOS_MSK = 0xf<<12, /* Bit 15..12: LOS LED Ctrl. Mask */
1611 PHY_M_LEDC_INIT_MSK = 0xf<<8, /* Bit 11.. 8: INIT LED Ctrl. Mask */
1612 PHY_M_LEDC_STA1_MSK = 0xf<<4, /* Bit 7.. 4: STAT1 LED Ctrl. Mask */
1613 PHY_M_LEDC_STA0_MSK = 0xf, /* Bit 3.. 0: STAT0 LED Ctrl. Mask */
/linux-4.1.27/drivers/scsi/dpt/
H A Ddpti_ioctl.h64 /* Get Blink LED Code */
111 uSHORT blinkState; // Blink LED state (0=Not in blink LED)
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dmy3126.c108 /* To check the activity LED */ my3126_get_link_status()
127 /* Turn on the LED. */ my3126_get_link_status()
133 /* Turn off the LED. */ my3126_get_link_status()
H A Dmv88x201x.c51 /* Setup the LED registers so we can turn on/off. led_init()
181 /* Turn on/off Link LED */ mv88x201x_get_link_status()
230 /* Allows for Link,Ack LED turn on/off */ mv88x201x_phy_create()
/linux-4.1.27/drivers/input/misc/
H A Dyealink.h25 * can be controlled like LCD, LED, dialtone and the ringtone.
209 * The LED, DIALTONE and RINGTONE are implemented as icons and use the same
214 _PIC('.', offsetof(struct yld_status, led) , 0x01, "LED" ),
/linux-4.1.27/drivers/bluetooth/
H A Dbluecard_cs.c70 struct timer_list timer; /* For LED control */
80 unsigned long hw_state; /* Status of the hardware and LED control */
155 /* ======================== LED handling routines ======================== */
167 /* Disable activity LED */ bluecard_activity_led_timeout()
170 /* Disable power LED */ bluecard_activity_led_timeout()
184 /* Enable activity LED */ bluecard_enable_activity_led()
187 /* Stop the LED after HZ/4 */ bluecard_enable_activity_led()
190 /* Enable power LED */ bluecard_enable_activity_led()
193 /* Stop the LED after HZ/2 */ bluecard_enable_activity_led()
270 /* Activate LED */ bluecard_write_wakeup()
637 /* Enable LED */ bluecard_hci_open()
657 /* Disable LED */ bluecard_hci_close()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dcolibri-pxa270.c125 /* LED */
126 GPIO54_GPIO, /* LED A */
127 GPIO55_GPIO, /* LED B */
/linux-4.1.27/net/netfilter/
H A Dxt_LED.c33 MODULE_DESCRIPTION("Xtables: trigger LED devices on packet match");
64 * LED will switch off, briefly switch it off now. led_tg()
196 .name = "LED",
/linux-4.1.27/arch/frv/kernel/
H A Dhead-mmu-fr451.S50 # GR30 LED address [saved]
76 # GR30 LED address revised LED address
159 # adjust LED bank address
173 # GR30 LED address [saved]
227 # GR30 LED address [saved]
H A Dhead-uc-fr401.S49 # GR30 LED address [saved]
83 # GR30 LED address revised LED address
166 # adjust LED bank address
178 # GR30 LED address [saved]
238 # GR30 LED address [saved]
H A Dhead-uc-fr555.S48 # GR30 LED address [saved]
74 # GR30 LED address revised LED address
152 # adjust LED bank address
166 # GR30 LED address [saved]
221 # GR30 LED address saved
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dfriio.h23 * LED x3 (+LNB) control: PIC 16F676
54 /* LED & LNB control via PIC. */
/linux-4.1.27/drivers/net/wireless/p54/
H A Dled.c37 /* Don't toggle the LED, when the device is down. */ p54_update_leds()
105 "Failed to register %s LED.\n", name); p54_register_led()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00firmware.c116 * When the firmware is uploaded to the hardware the LED rt2x00lib_load_firmware()
118 * LED handling it should now be reset. rt2x00lib_load_firmware()
/linux-4.1.27/drivers/gpio/
H A Dgpio-twl4030.c48 * There are also two LED pins used sometimes as output-only GPIOs.
95 * LED register offsets from TWL_MODULE_LED base
135 /* The LED lines are open drain outputs ... a FET pulls to GND, so an
137 * as a LED brightness control; we initialize it as "always on".
213 /* Support the two LED outputs as output-only GPIOs. */ twl_request()
236 /* init LED to not-driven (high) */ twl_request()
303 ret = -EINVAL; /* LED outputs can't be set as input */ twl_direction_in()
369 * LED gpios i.e. offset >= TWL4030_GPIO_MAX are always output twl_direction_out()
/linux-4.1.27/arch/cris/arch-v32/mach-a3/
H A Dio.c48 /* Dummy port used when green LED and red LED is on the same bit */
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dcommon-smdk.c50 /* LED devices */
195 /* Configure the LEDs (even if we have no LED support)*/ smdk_machine_init()
H A Dmach-n30.c250 /* This is the bluetooth LED on the device. */
257 /* This is the blue LED on the device. Originally used to indicate GPS activity
265 /* This LED is driven by the battery microcontroller, and is blinking
268 * to force the LED to blink red, so call that warning LED. */
452 * N35/PiN output 1=GPS LED on n30_hwinit()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
H A Dvxge-ethtool.h38 /* Maximum flicker time of adapter LED */
/linux-4.1.27/drivers/pwm/
H A Dpwm-twl-led.c2 * Driver for TWL4030/6030 Pulse Width Modulator used as LED driver
31 * This driver handles the PWM driven LED terminals of TWL4030 and TWL6030.
35 * TWL6030 has one LED pin with dedicated LEDPWM
346 MODULE_DESCRIPTION("PWM driver for TWL4030 and TWL6030 LED outputs");
/linux-4.1.27/arch/mips/include/asm/
H A Djazz.h31 * The segments of the seven segment LED are mapped
48 * Some characters for the LED control registers
49 * The original Mips machines seem to have a LED display
246 * 12: reserved, 13: free, 14: 7seg LED, 15: ???
/linux-4.1.27/arch/sh/boards/mach-landisk/
H A Dsetup.c88 /* LED ON */ landisk_setup()
/linux-4.1.27/arch/sh/boards/mach-se/7780/
H A Dsetup.c77 /* "SH-Linux" on LED Display */ se7780_setup()
/linux-4.1.27/arch/sh/include/mach-landisk/mach/
H A Diodata_landisk.h18 #define PA_LED 0xb0000001 /* LED Control Register */
/linux-4.1.27/arch/mips/mti-sead3/
H A Dleds-sead3.c76 MODULE_DESCRIPTION("SEAD3 LED driver");
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dtimer_interrupt.c41 /* LED blinking */ sn_timer_interrupt()
/linux-4.1.27/arch/m68k/include/asm/
H A Dnettel.h31 * GPIO lines. Most of the LED's are driver through a latch
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_yamaha.c14 * must be accompanied. If changing the state, a LED on the device starts to
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-falcon.c123 MFP_FALCON(GPIO9, LED, GPIO, NONE, NONE),
124 MFP_FALCON(GPIO10, LED, GPIO, NONE, NONE),
125 MFP_FALCON(GPIO11, LED, GPIO, NONE, NONE),
126 MFP_FALCON(GPIO12, LED, GPIO, NONE, NONE),
127 MFP_FALCON(GPIO13, LED, GPIO, NONE, NONE),
128 MFP_FALCON(GPIO14, LED, GPIO, NONE, NONE),
195 GRP_MUX("bootled", LED, pins_bled),
/linux-4.1.27/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c308 * - disable LED, no mouse nor keyboard IRQ wb977_init_gpio()
313 * - timer counting, disable power LED, disable timeouot wb977_init_gpio()
658 /* set a RED LED and toggle WD_TIMER for rebooting */ netwinder_restart()
672 * LED triggers are compiled in.
683 * The LED control in Netwinder is reversed:
684 * - setting bit means turn off LED
685 * - clearing bit means turn on LED
H A Debsa285.c33 * LED triggers are compiled in.
/linux-4.1.27/drivers/mtd/devices/
H A Dms02-nv.h59 * left LED battery disable status: lit = enabled
60 * right LED battery condition status: lit = OK
/linux-4.1.27/drivers/media/i2c/
H A Das3645a.c110 * @led_mode: V4L2 flash LED mode
113 * values are 400mA for two LEDs and 500mA for one LED.
115 * @indicator_current: Indicator LED current (0=0mA, 1=2.5mA ... 4=10mA)
241 * The AS3645A can't control the indicator LED independently of the flash/torch
242 * LED. If the flash controller is in V4L2_FLASH_LED_MODE_NONE mode, set the
302 dev_dbg(&client->dev, "Indicator LED fault: " as3645a_read_fault()
382 * applied when the LED mode is changed. Otherwise we apply the setting as3645a_set_ctrl()
884 MODULE_DESCRIPTION("LED flash driver for AS3645A, LM3555 and their clones");
H A Dlm3646.c3 * General device driver for TI lm3646, Dual FLASH LED Driver
64 * @led_mode: V4L2 LED mode
413 MODULE_DESCRIPTION("Texas Instruments LM3646 Dual Flash LED driver");
/linux-4.1.27/drivers/pcmcia/
H A Dvg468.h79 #define VG469_CTL_STRETCH 0x10 /* LED stretch */
91 #define VG469_MISC_LEDENA 0x10 /* LED enable */
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dled.c4 * LED handling
141 wiphy_err(ar->hw->wiphy, "failed to register %s LED (%d).\n", carl9170_led_register_led()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-sysinfo.h97 * Base address of the LED display (as on EBT3000 board) This
98 * will be 0 if LED display not present. Note that this
/linux-4.1.27/arch/cris/arch-v32/mach-fs/
H A Dio.c66 /* Dummy port used when green LED and red LED is on the same bit */
/linux-4.1.27/arch/arm/mach-omap1/
H A Dboard-voiceblue.c169 /* Flash power LED */ panic_event()
279 /* There is a good chance board is going up, so enable power LED voiceblue_init()
/linux-4.1.27/arch/x86/platform/geode/
H A Dgeos.c97 /* Setup LED control through leds-gpio driver */ register_geos()
H A Dnet5501.c88 /* Setup LED control through leds-gpio driver */ register_net5501()
/linux-4.1.27/arch/mips/include/asm/dec/
H A Dkn02ca.h77 #define KN03CA_IO_SSR_LED (1<<0) /* power LED */
/linux-4.1.27/arch/mips/include/asm/txx9/
H A Dgeneric.h88 /* 7SEG LED */
/linux-4.1.27/arch/mips/txx9/generic/
H A D7segled.c2 * 7 Segment LED routines
/linux-4.1.27/arch/parisc/kernel/
H A Dsetup.c150 /* initialize the LCD/LED after boot_cpu_data is available ! */ setup_arch()
151 led_init(); /* LCD/LED initialization */ setup_arch()
314 /* set up a new led state on systems shipped LED State panel */ parisc_init()
370 register_led_regions(); /* register LED port info in procfs */ parisc_init()
/linux-4.1.27/arch/m68k/kernel/
H A Dtime.c48 /* use power LED as a heartbeat instead -- much more useful timer_interrupt()
/linux-4.1.27/drivers/isdn/hisax/
H A Dhfc_usb.h185 signed short led_bits[8]; // array of 8 possible LED bitmask settings
188 #define LED_OFF 0 // no LED support
189 #define LED_SCHEME1 1 // LED standard scheme
/linux-4.1.27/drivers/regulator/
H A Dwm8350-regulator.c1280 * wm8350_register_led - Register a WM8350 LED output
1283 * @param lednum LED device index to create.
1284 * @param dcdc The DCDC to use for the LED.
1285 * @param isink The ISINK to use for the LED.
1286 * @param pdata Configuration for the LED.
1289 * provide a power-efficient LED driver. This function registers the
1290 * regulators and instantiates the platform device for a LED. The
1291 * operating modes for the LED regulators must be configured using
1303 dev_err(wm8350->dev, "Invalid LED index %d\n", lednum); wm8350_register_led()
1310 dev_err(wm8350->dev, "LED %d already allocated\n", lednum); wm8350_register_led()
1316 dev_err(wm8350->dev, "Failed to allocate LED %d\n", lednum); wm8350_register_led()
1360 dev_err(wm8350->dev, "Failed to register LED %d: %d\n", wm8350_register_led()
/linux-4.1.27/arch/x86/platform/ts5500/
H A Dts5500.c50 /* LED/Jumpers register */
52 #define TS5500_LED BIT(0) /* LED flag */
334 dev_warn(&pdev->dev, "LED registration failed\n"); ts5500_init()

Completed in 4028 milliseconds

1234