Home
last modified time | relevance | path

Searched refs:led_code (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/input/
H A Dinput-leds.c79 unsigned int led_code; in input_leds_get_count() local
82 for_each_set_bit(led_code, dev->ledbit, LED_CNT) in input_leds_get_count()
83 if (input_led_info[led_code].name) in input_leds_get_count()
96 unsigned int led_code; in input_leds_connect() local
124 for_each_set_bit(led_code, dev->ledbit, LED_CNT) { in input_leds_connect()
125 if (!input_led_info[led_code].name) in input_leds_connect()
130 led->code = led_code; in input_leds_connect()
134 input_led_info[led_code].name); in input_leds_connect()
143 led->cdev.default_trigger = input_led_info[led_code].trigger; in input_leds_connect()
/linux/drivers/hid/
H A Dhid-lenovo.c74 static int lenovo_led_set_tp10ubkbd(struct hid_device *hdev, u8 led_code, in lenovo_led_set_tp10ubkbd() argument
83 data->led_report[1] = led_code; in lenovo_led_set_tp10ubkbd()