/external/iptables/extensions/ |
D | libxt_LED.c | 51 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 …]
|
D | libxt_LED.t | 3 -j LED --led-trigger-id "foo";=;OK 4 -j LED --led-trigger-id "foo" --led-delay 42 --led-always-blink;=;OK
|
D | libxt_LED.man | 7 \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/ |
D | compat.c | 81 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 …]
|
D | keymap-dump.c | 152 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/ |
D | lowlevel_init.S | 74 .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/ |
D | pca9551_led.c | 39 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()
|
D | status_led.c | 106 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/ |
D | sbx81lifkw.c | 38 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/ |
D | netgear,dgnd3700v2.dts | 61 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 {
|
D | comtrend,ar-5315u.dts | 30 led@0 { 36 led@1 { 42 led@2 { 48 led@8 { 54 led@9 { 60 led@10 { 66 led@11 {
|
D | netgear,cg3100d.dts | 45 led@0 { 51 led@1 { 57 led@2 { 63 led@3 { 69 led@4 { 75 led@6 { 81 led@7 {
|
D | comtrend,vr-3032u.dts | 33 led@2 { 39 led@3 { 45 led@4 { 51 led@7 { 57 led@8 { 63 led@20 {
|
D | comtrend,ar-5387un.dts | 30 led@1 { 35 led@4 { 40 led@7 { 45 led@8 { 50 led@11 {
|
D | sfr,nb4-ser.dts | 64 led@0 { 70 led@2 { 76 led@3 { 82 led@4 {
|
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
D | led.c | 15 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/ |
D | kirkwood-iconnect.dts | 33 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 {
|
D | am572x-idk-common.dtsi | 18 cpu0-led { 25 usr0-led { 31 heartbeat-led { 38 cpu1-led { 45 usr1-led { 51 mmc0-led {
|
D | am335x-icev2.dts | 54 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 …]
|
D | am571x-idk.dts | 27 cpu0-led { 34 usr0-led { 40 heartbeat-led { 47 usr1-led { 53 usr2-led { 59 mmc0-led {
|
D | armada-388-helios4.dts | 73 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 {
|
D | kirkwood-dnskw.dtsi | 69 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 {
|
D | kirkwood-guruplug-server-plus.dts | 23 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 {
|
D | kirkwood-lsxl.dtsi | 33 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/ |
D | state.c | 618 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 …]
|