Lines Matching +full:disable +full:- +full:leds
8 * struct keyboard_priv - information about a keyboard, for the uclass
24 * struct keyboard_ops - keyboard device operations
28 * start() - enable the keyboard ready for use
31 * @return 0 if OK, -ve on error
36 * stop() - disable the keyboard when no-longer needed
38 * @dev: Device to disable
39 * @return 0 if OK, -ve on error
44 * tstc() - check if a key is available
47 * @return 0 if no key is available, 1 if a key is available, -ve on
53 * getc() - get a key
59 * @return -EAGAIN if no key is available, otherwise key value read
65 * update_leds() - update keyboard LEDs
67 * This is called when the LEDs have changed and need to be updated.
72 * @leds: New LED mask (see INPUT_LED_... in input.h)
74 int (*update_leds)(struct udevice *dev, int leds);
77 #define keyboard_get_ops(dev) ((struct keyboard_ops *)(dev)->driver->ops)