/qemu/include/hw/misc/ |
H A D | led.h | 2 * QEMU single LED device 14 #define TYPE_LED "led" 17 * LEDColor: Color of a LED 19 * This set is restricted to physically available LED colors. 21 * LED colors from 'Table 1. Product performance of LUXEON Rebel Color 55 DECLARE_INSTANCE_CHECKER(LEDState, LED, TYPE_LED) 58 * led_set_intensity: Set the intensity of a LED device 59 * @s: the LED object 66 * @s: the LED object 68 * Returns: The LED intensity as percentage in range 0 to 100. [all …]
|
H A D | mps2-fpgaio.h | 25 #include "hw/misc/led.h" 39 LEDState *led[MPS2FPGAIO_MAX_LEDS]; member
|
H A D | mps2-scc.h | 34 #include "hw/misc/led.h" 46 LEDState *led[8]; member
|
H A D | arm_integrator_debug.h | 2 * ARM Integrator Board Debug, switch and LED section
|
/qemu/hw/gpio/ |
H A D | pca9552.c | 2 * PCA9552 I2C LED blinker 98 * This is not the state of the LED, which signal might be in pca955x_display_pins_status() 122 /* Pin is set to 0V to turn on LED */ in pca955x_update_pin_input() 127 * Pin is set to Hi-Z to turn off LED and in pca955x_update_pin_input() 278 int led, rc, reg; in pca955x_get_led() local 281 rc = sscanf(name, "led%2d", &led); in pca955x_get_led() 286 if (led < 0 || led > k->pin_count) { in pca955x_get_led() 287 error_setg(errp, "%s invalid led %s", __func__, name); in pca955x_get_led() 295 reg = PCA9552_LS0 + led / 4; in pca955x_get_led() 296 state = (pca955x_read(s, reg) >> ((led % 4) * 2)) & 0x3; in pca955x_get_led() [all …]
|
/qemu/docs/interop/ |
H A D | vnc-ledstate-pseudo-encoding.rst | 1 VNC LED state Pseudo-encoding 7 This document describes the Pseudo-encoding of LED state for RFB which 13 between the lock keys notification LED on the computer running the VNC 17 To solve this problem it attempts to add LED state Pseudo-encoding 18 extension to VNC protocol to deal with setting LED state. 24 LED state extensions to the protocol. 26 The Pseudo-encoding number for LED state defined as: 31 -261 'LED state Pseudo-encoding' 34 LED state Pseudo-encoding 37 The LED state Pseudo-encoding describes the encoding of LED state which [all …]
|
/qemu/hw/display/ |
H A D | dm163.c | 2 * QEMU DM163 8x3-channel constant current led driver 14 * http://www.siti.com.tw/product/spec/LED/DM163.pdf 131 /* Led values are sent from the last one to the first one */ in dm163_propagate_outputs() 152 static uint8_t dm163_bank0(const DM163State *s, uint8_t led) in dm163_bank0() argument 155 * Bank 0 uses 6 bits per led, so a value may be stored accross in dm163_bank0() 158 const uint8_t low_bit = 6 * led; in dm163_bank0() 186 static uint8_t dm163_bank1(const DM163State *s, uint8_t led) in dm163_bank1() argument 188 const uint64_t entry = s->bank1_shift_register[led / RGB_MATRIX_NUM_COLS]; in dm163_bank1() 189 return extract64(entry, 8 * (led % RGB_MATRIX_NUM_COLS), 8); in dm163_bank1() 197 for (int led = 0; led < DM163_NUM_LEDS; led++) { in dm163_lat_b_gpio_handler() local [all …]
|
H A D | jazz_led.c | 2 * QEMU JAZZ LED emulator. 38 #define TYPE_JAZZ_LED "jazz-led" 208 /* display led */ in jazz_led_update_display() 256 .name = "jazz-led", 277 memory_region_init_io(&s->iomem, obj, &led_ops, s, "led", 1); in jazz_led_init() 301 dc->desc = "Jazz LED display", in jazz_led_class_init()
|
/qemu/hw/misc/ |
H A D | led.c | 2 * QEMU single LED device 12 #include "hw/misc/led.h" 63 LEDState *s = LED(opaque); in led_set_state_gpio_handler() 71 LEDState *s = LED(dev); in led_reset() 88 LEDState *s = LED(dev); in led_realize() 114 dc->desc = "LED"; in led_class_init() 150 name = g_strdup_printf("undescribed-led-#%u", undescribed_led_id++); in type_init() 159 return LED(dev); in type_init()
|
H A D | Kconfig | 113 select LED 117 select LED 162 config LED config
|
H A D | mps2-scc.c | 30 #include "hw/misc/led.h" 270 for (size_t i = 0; i < ARRAY_SIZE(s->led); i++) { in mps2_scc_write() 271 led_set_state(s->led[i], extract32(value, i, 1)); in mps2_scc_write() 379 for (i = 0; i < ARRAY_SIZE(s->led); i++) { in mps2_scc_reset() 380 device_cold_reset(DEVICE(s->led[i])); in mps2_scc_reset() 398 for (size_t i = 0; i < ARRAY_SIZE(s->led); i++) { in mps2_scc_realize() 399 char *name = g_strdup_printf("SCC LED%zu", i); in mps2_scc_realize() 400 s->led[i] = led_create_simple(OBJECT(dev), GPIO_POLARITY_ACTIVE_HIGH, in mps2_scc_realize()
|
H A D | mps2-fpgaio.c | 27 #include "hw/misc/led.h" 201 led_set_state(s->led[i], extract64(value, i, 1)); in mps2_fpgaio_write() 272 device_cold_reset(DEVICE(s->led[i])); in mps2_fpgaio_reset() 299 s->led[i] = led_create_simple(OBJECT(dev), GPIO_POLARITY_ACTIVE_HIGH, in mps2_fpgaio_realize()
|
H A D | trace-events | 90 slavio_led_mem_writew(uint32_t val) "Write diagnostic LED 0x%04x" 91 slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED 0x%04x" 350 # led.c 351 led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' co… 352 …char *desc, uint8_t old_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s …
|
H A D | arm_integrator_debug.c | 2 * LED, Switch and Debug control registers for ARM Integrator Boards
|
/qemu/tests/functional/ |
H A D | test_avr_uno.py | 19 The binary constantly prints out 'LED Blink' 28 wait_for_console_pattern(self, 'LED Blink')
|
/qemu/hw/arm/ |
H A D | kzm.c | 39 * 0xb4001010-0xb400101f 7-segment LED IGNORED 40 * 0xb4001020-0xb400102f LED IGNORED 41 * 0xb4001030-0xb400103f LED IGNORED
|
/qemu/hw/net/ |
H A D | e1000_regs.h | 212 #define PHY_LED_03_FUNC_CTRL1 0x10 /* LED[3:0] Function Control */ 213 #define PHY_LED_03_POL_CTRL 0x11 /* LED[3:0] Polarity Control */ 214 #define PHY_LED_TIMER_CTRL 0x12 /* LED Timer Control */ 215 #define PHY_LED_45_CTRL 0x13 /* LED[5:4] Function Control and Polarity */
|
/qemu/include/hw/gpio/ |
H A D | pca9552.h | 2 * PCA9552 I2C LED blinker
|
H A D | pca9552_regs.h | 2 * PCA9552 I2C LED blinker registers
|
/qemu/hw/input/ |
H A D | hid.c | 465 /* 0x01: Num Lock LED in hid_keyboard_write() 466 * 0x02: Caps Lock LED in hid_keyboard_write() 467 * 0x04: Scroll Lock LED in hid_keyboard_write() 468 * 0x08: Compose LED in hid_keyboard_write() 469 * 0x10: Kana LED */ in hid_keyboard_write()
|
/qemu/hw/pci/ |
H A D | shpc.c | 17 /* TODO: remove fully only on state DISABLED and LED off. 615 uint8_t led; in shpc_device_unplug_request_cb() local 623 led = shpc_get_status(shpc, slot, SHPC_SLOT_PWR_LED_MASK); in shpc_device_unplug_request_cb() 625 if (led == SHPC_LED_BLINK) { in shpc_device_unplug_request_cb() 631 if (state == SHPC_STATE_DISABLED && led == SHPC_LED_OFF) { in shpc_device_unplug_request_cb()
|
/qemu/include/hw/display/ |
H A D | dm163.h | 2 * QEMU DM163 8x3-channel constant current led driver
|
/qemu/docs/system/arm/ |
H A D | b-l475e-iot01a.rst | 23 - optional 8x8 led display (based on DM163 driver)
|
/qemu/tests/qtest/ |
H A D | pca9552-test.c | 2 * QTest testcase for the PCA9552 LED blinker
|
/qemu/hw/m68k/ |
H A D | next-cube.c | 102 uint32_t led; member 172 s->led++; in next_scr2_led_update() 173 if (s->led == 10) { in next_scr2_led_update() 174 DPRINTF("LED flashing, possible fault!\n"); in next_scr2_led_update() 175 s->led = 0; in next_scr2_led_update() 1226 VMSTATE_UINT32(led, NeXTPC),
|