Home
last modified time | relevance | path

Searched refs:hw_led_state (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/arch/arm/mach-shark/
Dleds.c33 static short hw_led_state; variable
54 hw_led_state = sequoia_read(0x09); in sequoia_leds_event()
58 hw_led_state |= SEQUOIA_LED_GREEN; in sequoia_leds_event()
59 hw_led_state |= SEQUOIA_LED_AMBER; in sequoia_leds_event()
61 hw_led_state |= SEQUOIA_LED_BACK; in sequoia_leds_event()
63 hw_led_state &= ~SEQUOIA_LED_BACK; in sequoia_leds_event()
69 hw_led_state &= ~SEQUOIA_LED_BACK; in sequoia_leds_event()
70 hw_led_state |= SEQUOIA_LED_GREEN; in sequoia_leds_event()
71 hw_led_state |= SEQUOIA_LED_AMBER; in sequoia_leds_event()
77 saved_state = hw_led_state; in sequoia_leds_event()
[all …]
/linux-2.4.37.9/arch/arm/mach-footbridge/
Debsa285-leds.c33 static char hw_led_state; variable
45 hw_led_state = XBUS_LED_RED | XBUS_LED_GREEN; in ebsa285_leds_event()
47 hw_led_state |= XBUS_LED_AMBER; in ebsa285_leds_event()
58 hw_led_state = XBUS_LED_RED | XBUS_LED_GREEN | XBUS_LED_AMBER; in ebsa285_leds_event()
63 hw_led_state = XBUS_LED_RED | XBUS_LED_GREEN | XBUS_LED_AMBER; in ebsa285_leds_event()
69 hw_led_state ^= XBUS_LED_GREEN; in ebsa285_leds_event()
76 hw_led_state |= XBUS_LED_AMBER; in ebsa285_leds_event()
81 hw_led_state &= ~XBUS_LED_AMBER; in ebsa285_leds_event()
87 hw_led_state &= ~XBUS_LED_RED; in ebsa285_leds_event()
92 hw_led_state &= ~XBUS_LED_GREEN; in ebsa285_leds_event()
[all …]
Dnetwinder-leds.c33 static char hw_led_state; variable
47 hw_led_state = GPIO_GREEN_LED; in netwinder_leds_event()
56 hw_led_state = 0; in netwinder_leds_event()
61 hw_led_state = 0; in netwinder_leds_event()
67 hw_led_state ^= GPIO_GREEN_LED; in netwinder_leds_event()
74 hw_led_state &= ~GPIO_RED_LED; in netwinder_leds_event()
79 hw_led_state |= GPIO_RED_LED; in netwinder_leds_event()
85 hw_led_state |= GPIO_RED_LED; in netwinder_leds_event()
90 hw_led_state |= GPIO_GREEN_LED; in netwinder_leds_event()
95 hw_led_state &= ~GPIO_GREEN_LED; in netwinder_leds_event()
[all …]
/linux-2.4.37.9/arch/arm/mach-sa1100/
Dleds-assabet.c27 static unsigned int hw_led_state; variable
39 hw_led_state = ASSABET_BCR_LED_RED | ASSABET_BCR_LED_GREEN; in assabet_leds_event()
45 hw_led_state = ASSABET_BCR_LED_RED | ASSABET_BCR_LED_GREEN; in assabet_leds_event()
46 ASSABET_BCR_frob(ASSABET_BCR_LED_MASK, hw_led_state); in assabet_leds_event()
51 hw_led_state = ASSABET_BCR_LED_RED | ASSABET_BCR_LED_GREEN; in assabet_leds_event()
56 hw_led_state = ASSABET_BCR_LED_RED | ASSABET_BCR_LED_GREEN; in assabet_leds_event()
62 hw_led_state ^= ASSABET_BCR_LED_GREEN; in assabet_leds_event()
69 hw_led_state |= ASSABET_BCR_LED_RED; in assabet_leds_event()
74 hw_led_state &= ~ASSABET_BCR_LED_RED; in assabet_leds_event()
83 hw_led_state &= ~ASSABET_BCR_LED_GREEN; in assabet_leds_event()
[all …]
Dleds-cerf.c20 static unsigned int hw_led_state; variable
48 hw_led_state = LED_MASK; in cerf_leds_event()
58 hw_led_state = LED_MASK; in cerf_leds_event()
62 hw_led_state = LED_MASK; in cerf_leds_event()
68 hw_led_state ^= LED_D0; in cerf_leds_event()
75 hw_led_state &= ~LED_D1; in cerf_leds_event()
80 hw_led_state |= LED_D1; in cerf_leds_event()
85 hw_led_state &= ~LED_D2; in cerf_leds_event()
90 hw_led_state |= LED_D2; in cerf_leds_event()
95 hw_led_state &= ~LED_D3; in cerf_leds_event()
[all …]
Dleds-brutus.c25 static unsigned int hw_led_state; variable
40 hw_led_state = LED_MASK; in brutus_leds_event()
50 hw_led_state = LED_MASK; in brutus_leds_event()
55 hw_led_state = LED_MASK; in brutus_leds_event()
61 hw_led_state ^= LED_D3; in brutus_leds_event()
68 hw_led_state |= LED_D17; in brutus_leds_event()
73 hw_led_state &= ~LED_D17; in brutus_leds_event()
78 hw_led_state &= ~LED_D4; in brutus_leds_event()
82 hw_led_state |= LED_D4; in brutus_leds_event()
93 hw_led_state &= ~LED_D17; in brutus_leds_event()
[all …]
Dleds-hackkit.c26 static unsigned int hw_led_state; variable
42 hw_led_state = LED_MASK; in hackkit_leds_event()
52 hw_led_state = LED_MASK; in hackkit_leds_event()
57 hw_led_state = LED_MASK; in hackkit_leds_event()
63 hw_led_state ^= LED_GREEN; in hackkit_leds_event()
72 hw_led_state &= ~LED_RED; in hackkit_leds_event()
78 hw_led_state |= LED_RED; in hackkit_leds_event()
84 hw_led_state &= ~LED_RED; in hackkit_leds_event()
89 hw_led_state |= LED_RED; in hackkit_leds_event()
94 hw_led_state &= ~LED_GREEN; in hackkit_leds_event()
[all …]
Dleds-lart.c26 static unsigned int hw_led_state; variable
41 hw_led_state = LED_MASK; in lart_leds_event()
51 hw_led_state = LED_MASK; in lart_leds_event()
56 hw_led_state = LED_MASK; in lart_leds_event()
62 hw_led_state ^= LED_23; in lart_leds_event()
71 hw_led_state &= ~LED_23; in lart_leds_event()
77 hw_led_state |= LED_23; in lart_leds_event()
83 hw_led_state &= ~LED_23; in lart_leds_event()
88 hw_led_state |= LED_23; in lart_leds_event()
97 GPSR = hw_led_state; in lart_leds_event()
[all …]
Dleds-graphicsmaster.c21 static unsigned int hw_led_state; variable
37 hw_led_state = 0; /* gc leds are positive logic */ in graphicsmaster_leds_event()
47 hw_led_state = LED_MASK; in graphicsmaster_leds_event()
52 hw_led_state = LED_MASK; in graphicsmaster_leds_event()
58 hw_led_state ^= LED_TIMER; in graphicsmaster_leds_event()
65 hw_led_state &= ~LED_IDLE; in graphicsmaster_leds_event()
70 hw_led_state |= LED_IDLE; in graphicsmaster_leds_event()
81 hw_led_state |= LED_USER; in graphicsmaster_leds_event()
85 hw_led_state &= ~LED_USER; in graphicsmaster_leds_event()
99 GPSR = hw_led_state; in graphicsmaster_leds_event()
[all …]
Dleds-graphicsclient.c21 static unsigned int hw_led_state; variable
37 hw_led_state = 0; /* gc leds are positive logic */ in graphicsclient_leds_event()
47 hw_led_state = LED_MASK; in graphicsclient_leds_event()
52 hw_led_state = LED_MASK; in graphicsclient_leds_event()
58 hw_led_state ^= LED_TIMER; in graphicsclient_leds_event()
65 hw_led_state &= ~LED_IDLE; in graphicsclient_leds_event()
70 hw_led_state |= LED_IDLE; in graphicsclient_leds_event()
81 hw_led_state |= LED_USER; in graphicsclient_leds_event()
85 hw_led_state &= ~LED_USER; in graphicsclient_leds_event()
99 GPSR = hw_led_state; in graphicsclient_leds_event()
[all …]
Dleds-adsagc.c21 static unsigned int hw_led_state; variable
37 hw_led_state = 0; /* gc leds are positive logic */ in adsagc_leds_event()
47 hw_led_state = LED_MASK; in adsagc_leds_event()
52 hw_led_state = LED_MASK; in adsagc_leds_event()
58 hw_led_state ^= LED_TIMER; in adsagc_leds_event()
65 hw_led_state &= ~LED_IDLE; in adsagc_leds_event()
70 hw_led_state |= LED_IDLE; in adsagc_leds_event()
81 hw_led_state |= LED_USER; in adsagc_leds_event()
85 hw_led_state &= ~LED_USER; in adsagc_leds_event()
102 ads_cr3 |= hw_led_state; in adsagc_leds_event()
Dleds-pfs168.c20 static unsigned int hw_led_state; variable
33 hw_led_state = LED_GREEN; in pfs168_leds_event()
43 hw_led_state = LED_GREEN; in pfs168_leds_event()
48 hw_led_state = LED_GREEN; in pfs168_leds_event()
54 hw_led_state ^= LED_GREEN; in pfs168_leds_event()
71 hw_led_state |= LED_GREEN; in pfs168_leds_event()
76 hw_led_state &= ~LED_GREEN; in pfs168_leds_event()
96 PFS168_SYSLED = (PFS168_SYSLED & ~LED_MASK) | hw_led_state; in pfs168_leds_event()
Dleds-adsbitsy.c21 static unsigned int hw_led_state; variable
35 hw_led_state = 0; /* gc leds are positive logic */ in adsbitsy_leds_event()
45 hw_led_state = LED_MASK; in adsbitsy_leds_event()
50 hw_led_state = LED_MASK; in adsbitsy_leds_event()
56 hw_led_state ^= LED_TIMER; in adsbitsy_leds_event()
91 GPSR = hw_led_state; in adsbitsy_leds_event()
92 GPCR = hw_led_state ^ LED_MASK; in adsbitsy_leds_event()
Dleds-adsbitsyplus.c22 static unsigned int hw_led_state; variable
36 hw_led_state = 0; /* gc leds are positive logic */ in adsbitsyplus_leds_event()
46 hw_led_state = LED_MASK; in adsbitsyplus_leds_event()
51 hw_led_state = LED_MASK; in adsbitsyplus_leds_event()
57 hw_led_state ^= LED_TIMER; in adsbitsyplus_leds_event()
92 GPSR = hw_led_state; in adsbitsyplus_leds_event()
93 GPCR = hw_led_state ^ LED_MASK; in adsbitsyplus_leds_event()
Dleds-simpad.c20 static unsigned int hw_led_state; variable
37 hw_led_state = LED_GREEN; in simpad_leds_event()
47 hw_led_state = LED_GREEN; in simpad_leds_event()
52 hw_led_state = LED_GREEN; in simpad_leds_event()
58 hw_led_state ^= LED_GREEN; in simpad_leds_event()
75 hw_led_state |= LED_GREEN; in simpad_leds_event()
80 hw_led_state &= ~LED_GREEN; in simpad_leds_event()
Dleds-system3.c42 static unsigned int hw_led_state; variable