Searched refs:led_code (Results 1 – 2 of 2) sorted by relevance
73 unsigned int led_code; in input_leds_get_count() local76 for_each_set_bit(led_code, dev->ledbit, LED_CNT) in input_leds_get_count()77 if (input_led_info[led_code].name) in input_leds_get_count()90 unsigned int led_code; in input_leds_connect() local118 for_each_set_bit(led_code, dev->ledbit, LED_CNT) { in input_leds_connect()119 if (!input_led_info[led_code].name) in input_leds_connect()124 led->code = led_code; in input_leds_connect()128 input_led_info[led_code].name); in input_leds_connect()137 led->cdev.default_trigger = input_led_info[led_code].trigger; in input_leds_connect()
69 static int lenovo_led_set_tp10ubkbd(struct hid_device *hdev, u8 led_code, in lenovo_led_set_tp10ubkbd() argument78 data->led_report[1] = led_code; in lenovo_led_set_tp10ubkbd()