Home
last modified time | relevance | path

Searched refs:leds (Results 1 – 25 of 77) sorted by relevance

1234

/linux-2.4.37.9/arch/arm/mach-sa1100/
DMakefile83 leds-y := leds.o
84 leds-$(CONFIG_SA1100_ADSAGC) += leds-adsagc.o
85 leds-$(CONFIG_SA1100_ADSBITSY) += leds-adsbitsy.o
86 leds-$(CONFIG_SA1100_ADSBITSYPLUS) += leds-adsbitsyplus.o
87 leds-$(CONFIG_SA1100_ASSABET) += leds-assabet.o
88 leds-$(CONFIG_SA1100_BRUTUS) += leds-brutus.o
89 leds-$(CONFIG_SA1100_CERF) += leds-cerf.o
90 leds-$(CONFIG_SA1100_CONSUS) += leds-consus.o
91 leds-$(CONFIG_SA1100_FLEXANET) += leds-flexanet.o
92 leds-$(CONFIG_SA1100_FRODO) += leds-frodo.o
[all …]
/linux-2.4.37.9/arch/arm/mach-omaha/
Dleds.c38 unsigned int leds; in omaha_leds_event() local
45 leds = __raw_readl(ctrl); in omaha_leds_event()
46 leds |= GREEN_LED; in omaha_leds_event()
47 __raw_writel(leds,ctrl); in omaha_leds_event()
51 leds = __raw_readl(ctrl); in omaha_leds_event()
52 leds &= ~GREEN_LED; in omaha_leds_event()
53 __raw_writel(leds,ctrl); in omaha_leds_event()
57 leds = __raw_readl(ctrl); in omaha_leds_event()
58 leds ^= YELLOW_LED; in omaha_leds_event()
59 __raw_writel(leds,ctrl); in omaha_leds_event()
[all …]
DMakefile19 obj-$(CONFIG_LEDS) += leds.o
/linux-2.4.37.9/arch/arm/mach-footbridge/
DMakefile26 leds-$(CONFIG_ARCH_CO285) += ebsa285-leds.o
27 leds-$(CONFIG_ARCH_EBSA285) += ebsa285-leds.o
28 leds-$(CONFIG_ARCH_NETWINDER) += netwinder-leds.o
34 obj-$(CONFIG_LEDS) +=$(leds-y)
/linux-2.4.37.9/arch/parisc/kernel/
Dkeyboard.c46 static void def_leds(unsigned char leds) in def_leds() argument
61 leds: def_leds, \
93 if(ops->leds) in register_kbd_ops()
94 kbd_ops->leds = ops->leds; in register_kbd_ops()
Dled.c262 static void led_ASP_driver(unsigned char leds) in led_ASP_driver() argument
266 leds = ~leds; in led_ASP_driver()
269 value = (leds & 0x80) >> 7; in led_ASP_driver()
272 leds <<= 1; in led_ASP_driver()
282 static void led_LASI_driver(unsigned char leds) in led_LASI_driver() argument
284 leds = ~leds; in led_LASI_driver()
285 gsc_writeb( leds, LED_DATA_REG ); in led_LASI_driver()
301 static void led_LCD_driver(unsigned char leds) in led_LCD_driver() argument
310 value = leds & LED_HEARTBEAT; in led_LCD_driver()
313 value = leds & LED_DISK_IO; in led_LCD_driver()
[all …]
/linux-2.4.37.9/arch/arm/mach-clps711x/
DMakefile19 export-objs := p720t-leds.o
28 leds-$(CONFIG_ARCH_P720T) += p720t-leds.o
29 obj-$(CONFIG_LEDS) += $(leds-y)
/linux-2.4.37.9/drivers/isdn/hisax/
Dst5481_b.c148 u_char leds = adapter->leds; in led_blink() local
156 leds |= GREEN_LED; in led_blink()
158 leds &= ~GREEN_LED; in led_blink()
161 st5481_usb_device_ctrl_msg(adapter, GPIO_OUT, leds, NULL, NULL); in led_blink()
228 adapter->leds |= B1_LED; in st5481B_mode()
230 adapter->leds |= B2_LED; in st5481B_mode()
242 adapter->leds &= ~B1_LED; in st5481B_mode()
244 adapter->leds &= ~B2_LED; in st5481B_mode()
247 st5481_usb_device_ctrl_msg(adapter, GPIO_OUT, adapter->leds, NULL, NULL); in st5481B_mode()
/linux-2.4.37.9/drivers/char/
Dkeyboard.c873 unsigned char leds; in getleds() local
877 leds = kbd->ledflagstate; in getleds()
881 leds |= 1; in getleds()
883 leds &= ~1; in getleds()
887 leds |= 2; in getleds()
889 leds &= ~2; in getleds()
893 leds |= 4; in getleds()
895 leds &= ~4; in getleds()
898 return leds; in getleds()
916 unsigned char leds = getleds(); in kbd_bh() local
[all …]
Dhp_psaux.c145 static void lasikbd_leds(unsigned char leds) in lasikbd_leds() argument
160 write_output(leds, lasikbd_hpa); in lasikbd_leds()
504 leds: lasikbd_leds,
519 gsc_ps2_kbd_ops.leds = NULL; in register_ps2_keybfuncs()
/linux-2.4.37.9/drivers/acorn/char/
Dkeyb_arc.c223 void a5kkbd_leds(unsigned char leds) in a5kkbd_leds() argument
225 leds = ((leds & (1<<VC_SCROLLOCK))?4:0) | ((leds & (1<<VC_NUMLOCK))?2:0) | in a5kkbd_leds()
226 ((leds & (1<<VC_CAPSLOCK))?1:0); in a5kkbd_leds()
227 a5kkbd_sendbyte(leds); in a5kkbd_leds()
/linux-2.4.37.9/drivers/sbus/char/
Dsunkbd.c1131 unsigned char leds; in getleds() local
1135 leds = kbd->ledflagstate; in getleds()
1139 leds |= 1; in getleds()
1141 leds &= ~1; in getleds()
1145 leds |= 2; in getleds()
1147 leds &= ~2; in getleds()
1151 leds |= 4; in getleds()
1153 leds &= ~4; in getleds()
1156 return leds; in getleds()
1176 unsigned char leds, kbd_leds; in sun_kbd_bh() local
[all …]
/linux-2.4.37.9/drivers/usb/
Dusbkbd.c75 unsigned char leds, newleds; member
124 if (kbd->leds == kbd->newleds) in usb_kbd_event()
127 kbd->leds = kbd->newleds; in usb_kbd_event()
142 if (kbd->leds == kbd->newleds) in usb_kbd_led()
145 kbd->leds = kbd->newleds; in usb_kbd_led()
249 (void*) &kbd->dr, &kbd->leds, 1, usb_kbd_led, kbd); in usb_kbd_probe()
Dpwc-ctrl.c1450 struct pwc_leds leds; in pwc_ioctl() local
1452 if (copy_from_user(&leds, arg, sizeof(leds))) in pwc_ioctl()
1455 ret = pwc_set_leds(pdev, leds.led_on, leds.led_off); in pwc_ioctl()
1462 struct pwc_leds leds; in pwc_ioctl() local
1464 ret = pwc_get_leds(pdev, &leds.led_on, &leds.led_off); in pwc_ioctl()
1467 if (copy_to_user(arg, &leds, sizeof(leds))) in pwc_ioctl()
/linux-2.4.37.9/drivers/macintosh/
Dmac_keyb.c652 static void real_mackbd_leds(unsigned char leds, int device) in real_mackbd_leds() argument
657 ~mac_ledmap[leds]); in real_mackbd_leds()
664 leds_pending[device] = leds | 0x100; in real_mackbd_leds()
668 void mackbd_leds(unsigned char leds) in mackbd_leds() argument
673 real_mackbd_leds(leds,keyboard_ids.id[i]); in mackbd_leds()
678 int leds,device; in leds_done() local
682 leds = leds_pending[device] & 0xff; in leds_done()
686 real_mackbd_leds(leds,device); in leds_done()
Dadbhid.c361 static void real_leds(unsigned char leds, int device) in real_leds() argument
366 ~leds); in real_leds()
373 leds_pending[device] = leds | 0x100; in real_leds()
384 unsigned char leds; in adbhid_kbd_event() local
388 leds = (test_bit(LED_SCROLLL, dev->led) ? 4 : 0) in adbhid_kbd_event()
391 real_leds(leds, adbhid->id); in adbhid_kbd_event()
400 int leds,device; in leds_done() local
404 leds = leds_pending[device] & 0xff; in leds_done()
408 real_leds(leds,device); in leds_done()
/linux-2.4.37.9/arch/arm/mach-integrator/
DMakefile19 export-objs := leds.o
21 obj-$(CONFIG_LEDS) += leds.o
/linux-2.4.37.9/include/asm-parisc/
Dkeyboard.h55 void (*leds)(unsigned char); member
66 #define kbd_leds (*kbd_ops->leds)
/linux-2.4.37.9/include/asm-arm/
Dkeyboard.h54 static inline void kbd_leds(unsigned char leds) in kbd_leds() argument
57 k_leds(leds); in kbd_leds()
/linux-2.4.37.9/include/asm-m68k/
Dkeyboard.h52 static __inline__ void kbd_leds(unsigned char leds) in kbd_leds() argument
55 mach_kbd_leds(leds); in kbd_leds()
/linux-2.4.37.9/include/asm-ppc64/
Dkeyboard.h68 static inline void kbd_leds(unsigned char leds) in kbd_leds() argument
71 ppc_md.kbd_leds(leds); in kbd_leds()
/linux-2.4.37.9/include/asm-ppc/
Dkeyboard.h69 static inline void kbd_leds(unsigned char leds) in kbd_leds() argument
72 ppc_md.kbd_leds(leds); in kbd_leds()
/linux-2.4.37.9/include/asm-mips/
Dkeyboard.h28 extern void pckbd_leds(unsigned char leds);
86 extern void kbd_leds(unsigned char leds);
/linux-2.4.37.9/include/asm-mips64/
Dkeyboard.h28 extern void pckbd_leds(unsigned char leds);
86 extern void kbd_leds(unsigned char leds);
/linux-2.4.37.9/drivers/tc/
Dlk201.c264 void kbd_leds(unsigned char leds) in kbd_leds() argument
273 if (leds & LED_SCR) in kbd_leds()
275 if (leds & LED_CAP) in kbd_leds()

1234