Home
last modified time | relevance | path

Searched full:leds (Results 1 – 25 of 27) sorted by relevance

12

/qemu/hw/misc/
H A Darm_integrator_debug.c9 …* https://developer.arm.com/documentation/dui0159/b/peripherals-and-interfaces/debug-leds-and-dip…
37 case 1: /* LEDS */ in intdbg_control_read()
56 case 2: /* LEDS */ in intdbg_control_write()
84 NULL, "dbg-leds", 0x1000000); in intdbg_control_init()
H A Dslavio_misc.c62 uint16_t leds; member
373 ret = s->leds; in slavio_led_mem_readw()
390 s->leds = val; in slavio_led_mem_writew()
462 /* ss600mp diag LEDs */ in slavio_misc_init()
464 "leds", LED_SIZE); in slavio_misc_init()
H A Dmps2-fpgaio.c292 error_setg(errp, "num-leds cannot be greater than %d", in mps2_fpgaio_realize()
325 /* Number of LEDs controlled by LED0 register */
326 DEFINE_PROP_UINT32("num-leds", MPS2FPGAIO, num_leds, 2),
H A Darm_sysctl.c35 uint32_t leds; member
61 VMSTATE_UINT32(leds, arm_sysctl_state),
101 s->leds = 0; in arm_sysctl_reset()
140 return s->leds; in arm_sysctl_read()
394 s->leds = val; in arm_sysctl_write()
H A Dmps2-scc.c102 /* Is CFG_REG1 driving a set of LEDs? */
263 * On most boards this register drives LEDs. in mps2_scc_write()
/qemu/hw/xtensa/
H A Dxtfpga.c70 uint32_t leds; member
78 s->leds = 0; in xtfpga_fpga_reset()
94 case 0x8: /*LEDs (off = 0, on = 1)*/ in xtfpga_fpga_read()
95 return s->leds; in xtfpga_fpga_read()
109 case 0x8: /*LEDs (off = 0, on = 1)*/ in xtfpga_fpga_write()
110 s->leds = val; in xtfpga_fpga_write()
/qemu/hw/mips/
H A Dtrace-events2 malta_fpga_leds(const char *text) "LEDs %s"
H A Dmalta.c84 uint32_t leds; member
121 if (s->leds & (1 << i)) { in malta_fpga_update_display_leds()
390 val = s->leds; in malta_fpga_read()
466 s->leds = val & 0xff; in malta_fpga_write()
542 s->leds = 0x00; in malta_fpga_reset()
/qemu/include/hw/misc/
H A Darm_integrator_debug.h6 …* https://developer.arm.com/documentation/dui0159/b/peripherals-and-interfaces/debug-leds-and-dip…
H A Dled.h23 * https://www.lumileds.com/products/color-leds/luxeon-rebel-color/
/qemu/hw/input/
H A Dhid.c470 hs->kbd.leds = buf[0]; in hid_keyboard_write()
471 if (hs->kbd.leds & 0x04) { in hid_keyboard_write()
474 if (hs->kbd.leds & 0x01) { in hid_keyboard_write()
477 if (hs->kbd.leds & 0x02) { in hid_keyboard_write()
619 VMSTATE_UINT8(kbd.leds, HIDState),
H A Dps2.c40 #define KBD_CMD_SET_LEDS 0xED /* Set keyboard leds */
/qemu/include/hw/input/
H A Dhid.h30 uint8_t leds; member
/qemu/tests/qtest/
H A Dpca9552-test.c22 /* Switch on LEDs 0 and 12 */ in pca9552_init()
/qemu/docs/system/arm/
H A Daspeed.rst61 * Front LEDs (PCA9552 on I2C bus)
278 * Front LEDs (PCA9552 on I2C bus)
/qemu/tests/vmstate-static-checker-data/
H A Ddump2.json933 "field": "kbd.leds",
H A Ddump1.json1131 "field": "kbd.leds",
/qemu/include/standard-headers/linux/
H A Dinput.h171 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */
H A Dinput-event-codes.h946 * LEDs
/qemu/hw/arm/
H A Dintegratorcp.c172 * We don't have any nice place to display LEDs. printf is a bad in integratorcm_set_ctrl()
H A Dmps3r.c533 qdev_prop_set_uint32(DEVICE(&mms->fpgaio), "num-leds", 10); in mps3r_common_init()
H A Dmps2-tz.c121 uint32_t fpgaio_num_leds; /* Number of LEDs in FPGAIO LED0 register */
493 qdev_prop_set_uint32(DEVICE(fpgaio), "num-leds", mmc->fpgaio_num_leds); in make_fpgaio()
/qemu/hw/usb/
H A Ddev-hid.c543 0x05, 0x08, /* Usage Page (LEDs) */
/qemu/hw/char/
H A Descc.c942 case 0xe: /* Set leds */ in handle_kbd_command()
/qemu/hw/net/
H A Dlan9118.c1035 /* Probably just enabling LEDs. */ in lan9118_writel()

12