Home
last modified time | relevance | path

Searched refs:led (Results 1 – 25 of 215) sorted by relevance

123456789

/external/iptables/extensions/
Dlibxt_LED.c51 struct xt_led_info *led = cb->data; in LED_parse() local
56 strcpy(led->id, "netfilter-"); in LED_parse()
57 strcat(led->id, cb->arg); in LED_parse()
61 led->delay = -1; in LED_parse()
62 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse()
68 led->always_blink = 1; in LED_parse()
76 const struct xt_led_info *led = (void *)target->data; in LED_print() local
77 const char *id = led->id + strlen("netfilter-"); /* trim off prefix */ in LED_print()
88 if (led->delay == -1) in LED_print()
91 printf(" led-delay:%dms", led->delay); in LED_print()
[all …]
Dlibxt_LED.t3 -j LED --led-trigger-id "foo";=;OK
4 -j LED --led-trigger-id "foo" --led-delay 42 --led-always-blink;=;OK
Dlibxt_LED.man7 \fB\-\-led\-trigger\-id\fP \fIname\fP
11 \fB\-\-led-delay\fP \fIms\fP
19 \fB\-\-led\-always\-blink\fP
27 iptables \-A INPUT \-p tcp \-\-dport 22 \-j LED \-\-led\-trigger\-id ssh
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dcompat.c81 struct xkb_led led; member
134 xkb_atom_text(info->ctx, ledi->led.name), in ReportLedBadType()
142 xkb_atom_text(info->ctx, ledi->led.name)); in ReportLedNotArray()
317 if (old->led.name != new->led.name) in AddLedMap()
320 if (old->led.mods.mods == new->led.mods.mods && in AddLedMap()
321 old->led.groups == new->led.groups && in AddLedMap()
322 old->led.ctrls == new->led.ctrls && in AddLedMap()
323 old->led.which_mods == new->led.which_mods && in AddLedMap()
324 old->led.which_groups == new->led.which_groups) { in AddLedMap()
334 xkb_atom_text(info->ctx, old->led.name)); in AddLedMap()
[all …]
Dkeymap-dump.c152 const struct xkb_led *led; in write_keycodes() local
175 xkb_leds_enumerate(idx, led, keymap) in write_keycodes()
176 if (led->name != XKB_ATOM_NONE) in write_keycodes()
178 idx + 1, xkb_atom_text(keymap->ctx, led->name)); in write_keycodes()
245 const struct xkb_led *led) in write_led_map() argument
248 xkb_atom_text(keymap->ctx, led->name)); in write_led_map()
250 if (led->which_groups) { in write_led_map()
251 if (led->which_groups != XKB_STATE_LAYOUT_EFFECTIVE) { in write_led_map()
253 LedStateMaskText(keymap->ctx, led->which_groups)); in write_led_map()
256 led->groups); in write_led_map()
[all …]
/external/u-boot/arch/nds32/cpu/n1213/ag101/
Dlowlevel_init.S74 .macro led, num macro
98 led 0x01
131 led 0x02
137 led 0x03
143 led 0x04
145 led 0x05
147 led 0x06
150 led 0x07
154 led 0x08
158 led 0x09
[all …]
/external/u-boot/drivers/misc/
Dpca9551_led.c39 static int pca9551_led_get_state(int led, int *state) in pca9551_led_get_state() argument
45 if (led < 0 || led > 7) { in pca9551_led_get_state()
47 } else if (led < 4) { in pca9551_led_get_state()
49 shift = led << 1; in pca9551_led_get_state()
52 shift = (led - 4) << 1; in pca9551_led_get_state()
63 static int pca9551_led_set_state(int led, int state) in pca9551_led_set_state() argument
69 if (led < 0 || led > 7) { in pca9551_led_set_state()
71 } else if (led < 4) { in pca9551_led_set_state()
73 shift = led << 1; in pca9551_led_set_state()
76 shift = (led - 4) << 1; in pca9551_led_set_state()
Dstatus_led.c106 void status_led_set (int led, int state) in status_led_set() argument
110 if (led < 0 || led >= MAX_LED_DEV) in status_led_set()
116 ld = &led_dev[led]; in status_led_set()
/external/u-boot/board/alliedtelesis/SBx81LIFKW/
Dsbx81lifkw.c38 struct led { struct
44 struct led amber_solid = { argument
50 struct led green_solid = {
56 struct led amber_flash = {
62 struct led green_flash = {
68 static void status_led_set(struct led *led) in status_led_set() argument
70 clrsetbits_le32(led->reg, led->mask, led->value); in status_led_set()
/external/u-boot/arch/mips/dts/
Dnetgear,dgnd3700v2.dts61 led@8 {
66 led@9 {
72 led@10 {
78 led@11 {
84 led@12 {
90 led@13 {
96 led@14 {
102 led@16 {
108 led@17 {
114 led@18 {
Dcomtrend,ar-5315u.dts30 led@0 {
36 led@1 {
42 led@2 {
48 led@8 {
54 led@9 {
60 led@10 {
66 led@11 {
Dnetgear,cg3100d.dts45 led@0 {
51 led@1 {
57 led@2 {
63 led@3 {
69 led@4 {
75 led@6 {
81 led@7 {
Dcomtrend,vr-3032u.dts33 led@2 {
39 led@3 {
45 led@4 {
51 led@7 {
57 led@8 {
63 led@20 {
Dcomtrend,ar-5387un.dts30 led@1 {
35 led@4 {
40 led@7 {
45 led@8 {
50 led@11 {
Dsfr,nb4-ser.dts64 led@0 {
70 led@2 {
76 led@3 {
82 led@4 {
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dled.c15 static inline void switch_LED_on(uint8_t led) in switch_LED_on() argument
19 writel(readl(&gpio->pedr) | gpio_pin[led], &gpio->pedr); in switch_LED_on()
20 saved_state[led] = CONFIG_LED_STATUS_ON; in switch_LED_on()
23 static inline void switch_LED_off(uint8_t led) in switch_LED_off() argument
27 writel(readl(&gpio->pedr) & ~gpio_pin[led], &gpio->pedr); in switch_LED_off()
28 saved_state[led] = CONFIG_LED_STATUS_OFF; in switch_LED_off()
/external/u-boot/arch/arm/dts/
Dkirkwood-iconnect.dts33 pmx_led_level: pmx-led-level {
37 pmx_led_power_blue: pmx-led-power-blue {
45 pmx_led_usb1: pmx-led-usb1 {
49 pmx_led_usb2: pmx-led-usb2 {
53 pmx_led_usb3: pmx-led-usb3 {
57 pmx_led_usb4: pmx-led-usb4 {
61 pmx_led_otb: pmx-led-otb {
87 led-level {
Dam572x-idk-common.dtsi18 cpu0-led {
25 usr0-led {
31 heartbeat-led {
38 cpu1-led {
45 usr1-led {
51 mmc0-led {
Dam335x-icev2.dts54 led@0 {
60 led@1 {
66 led@2 {
72 led@3 {
78 led@4 {
84 led@5 {
90 led@6 {
96 led@7 {
109 led@0 {
116 led@1 {
[all …]
Dam571x-idk.dts27 cpu0-led {
34 usr0-led {
40 heartbeat-led {
47 usr1-led {
53 usr2-led {
59 mmc0-led {
Darmada-388-helios4.dts73 status-led {
80 fault-led {
89 sata1-led {
95 sata2-led {
101 sata3-led {
107 sata4-led {
113 usb-led {
295 helios_led_pins: helios-led-pins {
Dkirkwood-dnskw.dtsi69 pmx_led_power: pmx-led-power {
73 pmx_led_red_right_hdd: pmx-led-red-right-hdd {
77 pmx_led_red_left_hdd: pmx-led-red-left-hdd {
81 pmx_led_red_usb_325: pmx-led-red-usb-325 {
89 pmx_led_red_usb_320: pmx-led-red-usb-320 {
117 pmx_led_white_usb: pmx-led-white-usb {
Dkirkwood-guruplug-server-plus.dts23 pmx_led_health_r: pmx-led-health-r {
27 pmx_led_health_g: pmx-led-health-g {
31 pmx_led_wmode_r: pmx-led-wmode-r {
35 pmx_led_wmode_g: pmx-led-wmode-g {
Dkirkwood-lsxl.dtsi33 pmx_led_function_blue: pmx-led-function-blue {
37 pmx_led_alarm: pmx-led-alarm {
41 pmx_led_info: pmx-led-info {
45 pmx_led_power: pmx-led-power {
65 pmx_led_function_red: pmx-led-function_red {
/external/libxkbcommon/xkbcommon/src/
Dstate.c618 const struct xkb_led *led; in xkb_state_led_update_all() local
622 xkb_leds_enumerate(idx, led, state->keymap) { in xkb_state_led_update_all()
626 if (led->which_mods != 0 && led->mods.mask != 0) { in xkb_state_led_update_all()
627 if (led->which_mods & XKB_STATE_MODS_EFFECTIVE) in xkb_state_led_update_all()
629 if (led->which_mods & XKB_STATE_MODS_DEPRESSED) in xkb_state_led_update_all()
631 if (led->which_mods & XKB_STATE_MODS_LATCHED) in xkb_state_led_update_all()
633 if (led->which_mods & XKB_STATE_MODS_LOCKED) in xkb_state_led_update_all()
636 if (led->mods.mask & mod_mask) { in xkb_state_led_update_all()
642 if (led->which_groups != 0 && led->groups != 0) { in xkb_state_led_update_all()
643 if (led->which_groups & XKB_STATE_LAYOUT_EFFECTIVE) in xkb_state_led_update_all()
[all …]

123456789