HomeSort by relevance Sort by last modified time
    Searched refs:led (Results 1 - 25 of 42) sorted by null

1 2

  /external/iptables/extensions/
libxt_LED.c 2 * libxt_LED.c - shared library add-on to iptables to add customized LED
26 {.name = "led-trigger-id", .id = O_LED_TRIGGER_ID,
30 {.name = "led-delay", .id = O_LED_DELAY, .type = XTTYPE_STRING},
31 {.name = "led-always-blink", .id = O_LED_ALWAYS_BLINK,
40 "LED target options:\n"
41 "--led-trigger-id name suffix for led trigger name\n"
42 "--led-delay ms leave the LED on for this number of\n"
44 "--led-always-blink blink on arriving packets, even if\n
51 struct xt_led_info *led = cb->data; local
76 const struct xt_led_info *led = (void *)target->data; local
99 const struct xt_led_info *led = (void *)target->data; local
    [all...]
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/hppa/parse/
stringer.s 7 ; Octal escapes used to consume > 3 chars which led to this
  /device/google/contexthub/firmware/variant/argonkey/
Android.mk 27 src/os/led.c \
argonkey.mk 30 SRCS_os += $(VARIANT_PATH)/src/os/led.c
69 # LED on GPIO
72 # LP3943 LED controller
  /device/google/contexthub/firmware/variant/neonkey/
Android.mk 28 src/os/led.c
neonkey.mk 32 SRCS_os += $(VARIANT_PATH)/src/os/led.c
  /external/libxkbcommon/xkbcommon/src/xkbcomp/
compat.c 81 struct xkb_led led; member in struct:__anon26707
134 xkb_atom_text(info->ctx, ledi->led.name),
142 xkb_atom_text(info->ctx, ledi->led.name));
317 if (old->led.name != new->led.name)
320 if (old->led.mods.mods == new->led.mods.mods &&
321 old->led.groups == new->led.groups &&
322 old->led.ctrls == new->led.ctrls &
824 struct xkb_led *led; local
    [all...]
keymap-dump.c 152 const struct xkb_led *led; local
175 xkb_leds_enumerate(idx, led, keymap)
176 if (led->name != XKB_ATOM_NONE)
178 idx + 1, xkb_atom_text(keymap->ctx, led->name));
245 const struct xkb_led *led)
248 xkb_atom_text(keymap->ctx, led->name));
250 if (led->which_groups) {
251 if (led->which_groups != XKB_STATE_LAYOUT_EFFECTIVE) {
253 LedStateMaskText(keymap->ctx, led->which_groups));
256 led->groups)
408 const struct xkb_led *led; local
    [all...]
keymap.c 177 struct xkb_led *led; local
209 /* Update vmod -> led maps. */
210 xkb_leds_foreach(led, keymap)
211 ComputeEffectiveMask(keymap, &led->mods);
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue20333.go 7 // Issue 20333: early checkwidth of [...] arrays led to compilation errors.
bug502.go 8 // because the private method in testing.TB led gccgo to assume that
  /prebuilts/go/linux-x86/test/fixedbugs/
issue20333.go 7 // Issue 20333: early checkwidth of [...] arrays led to compilation errors.
bug502.go 8 // because the private method in testing.TB led gccgo to assume that
  /device/google/contexthub/firmware/os/drivers/leds/
leds_lp3943.c 106 uint8_t led[LP3943_MAX_LED_SECTION]; member in struct:LP3943Task
225 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num);
230 lval = mTask.led[index];
239 mTask.led[index] = lval;
240 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value);
251 lval = flag ? mTask.led[index] : 0;
292 mTask.led[0] = LP3943_DBG_VALUE;
343 memset(mTask.led, 0x00, LP3943_MAX_LED_SECTION);
leds_gpio.c 116 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num);
122 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value);
174 struct Gpio *led; local
183 led = gpioRequest(leds->leds_array[i]);
184 if (!led)
187 mTask.leds[mTask.num++].ledid = led;
188 gpioConfigOutput(led, GPIO_SPEED_LOW, GPIO_PULL_NONE, GPIO_OUT_PUSH_PULL, 0);
  /external/libxkbcommon/xkbcommon/src/
state.c 612 * Update the LED state to match the rest of the xkb_state.
618 const struct xkb_led *led; local
622 xkb_leds_enumerate(idx, led, state->keymap) {
626 if (led->which_mods != 0 && led->mods.mask != 0) {
627 if (led->which_mods & XKB_STATE_MODS_EFFECTIVE)
629 if (led->which_mods & XKB_STATE_MODS_DEPRESSED)
631 if (led->which_mods & XKB_STATE_MODS_LATCHED)
633 if (led->which_mods & XKB_STATE_MODS_LOCKED)
636 if (led->mods.mask & mod_mask)
    [all...]
keymap.c 379 * Returns the name for a given LED.
391 * Returns the index for a named LED.
398 const struct xkb_led *led; local
403 xkb_leds_enumerate(i, led, keymap)
404 if (led->name == atom)
  /external/libxkbcommon/xkbcommon/test/
common.c 420 for (xkb_led_index_t led = 0; led < xkb_keymap_num_leds(keymap); led++) {
421 if (xkb_state_led_index_is_active(state, led) <= 0)
423 printf("%s ", xkb_keymap_led_get_name(keymap, led));
state.c 43 xkb_led_index_t led; local
47 /* led = xkb_state_serialize_leds(state, XKB_STATE_LEDS); */
48 if (!group && !mod /* && !led */) {
95 for (led = 0; led < xkb_keymap_num_leds(keymap); led++) {
96 if (xkb_state_led_index_is_active(state, led) <= 0)
99 xkb_keymap_led_get_name(keymap, led),
100 led);
  /frameworks/native/services/inputflinger/
EventHub.h 243 /* LED related functions expect Android LED constants, not scan codes or HID usages */
244 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0;
245 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0;
319 virtual bool hasLed(int32_t deviceId, int32_t led) const;
320 virtual void setLedState(int32_t deviceId, int32_t led, bool on);
433 status_t mapLed(Device* device, int32_t led, int32_t* outScanCode) const;
434 void setLedStateLocked(Device* device, int32_t led, bool on);
EventHub.cpp 532 bool EventHub::hasLed(int32_t deviceId, int32_t led) const {
536 if (device && mapLed(device, led, &sc) == NO_ERROR) {
544 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
547 setLedStateLocked(device, led, on);
550 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) {
552 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) {
    [all...]
  /external/libxkbcommon/xkbcommon/src/x11/
keymap.c 707 struct xkb_led *led = &keymap->leds[i]; local
710 led->which_groups |= XKB_STATE_LAYOUT_DEPRESSED;
712 led->which_groups |= XKB_STATE_LAYOUT_LATCHED;
714 led->which_groups |= XKB_STATE_LAYOUT_LOCKED;
716 led->which_groups |= XKB_STATE_LAYOUT_EFFECTIVE;
718 led->which_groups |= XKB_STATE_LAYOUT_EFFECTIVE;
720 led->groups = wire->groups;
723 led->which_mods |= XKB_STATE_MODS_DEPRESSED;
725 led->which_mods |= XKB_STATE_MODS_LATCHED;
727 led->which_mods |= XKB_STATE_MODS_LOCKED
909 struct xkb_led *led = &keymap->leds[i]; local
    [all...]
  /frameworks/native/include/input/
InputEventLabels.h 25 #define DEFINE_LED(led) { #led, ALED_##led }
  /frameworks/native/libs/input/
KeyLayoutMap.cpp 217 } else if (keywordToken == "led") {
416 ALOGE("%s: Expected led %s number, got '%s'.", mTokenizer->getLocation().string(),
421 KeyedVector<int32_t, Led>& map = mapUsage ? mMap->mLedsByUsageCode : mMap->mLedsByScanCode;
423 ALOGE("%s: Duplicate entry for led %s '%s'.", mTokenizer->getLocation().string(),
432 ALOGE("%s: Expected LED code label, got '%s'.", mTokenizer->getLocation().string(),
438 ALOGD("Parsed led %s: code=%d, ledCode=%d.",
442 Led led; local
443 led.ledCode = ledCode;
444 map.add(code, led);
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/
huffman.go 112 codeLen uint8 // number of bits that led to the output of sym

Completed in 1033 milliseconds

1 2