Searched refs:led_code (Results 1 – 2 of 2) sorted by relevance
79 unsigned int led_code; in input_leds_get_count() local82 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() local124 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()
74 static int lenovo_led_set_tp10ubkbd(struct hid_device *hdev, u8 led_code, in lenovo_led_set_tp10ubkbd() argument83 data->led_report[1] = led_code; in lenovo_led_set_tp10ubkbd()