Lines Matching refs:led_info
785 const struct ps_led_info *led_info) in ps_led_register() argument
789 if (led_info->name) { in ps_led_register()
791 "%s:%s:%s", ps_dev->input_dev_name, led_info->color, led_info->name); in ps_led_register()
795 "%s:%s", ps_dev->input_dev_name, led_info->color); in ps_led_register()
802 led->max_brightness = led_info->max_brightness; in ps_led_register()
804 led->brightness_get = led_info->brightness_get; in ps_led_register()
805 led->brightness_set_blocking = led_info->brightness_set; in ps_led_register()
806 led->blink_set = led_info->blink_set; in ps_led_register()
810 hid_err(ps_dev->hdev, "Failed to register LED %s: %d\n", led_info->name, ret); in ps_led_register()
1711 const struct ps_led_info *led_info = &player_leds_info[i]; in dualsense_create() local
1713 ret = ps_led_register(ps_dev, &ds->player_leds[i], led_info); in dualsense_create()
2655 const struct ps_led_info *led_info = &lightbar_leds_info[i]; in dualshock4_create() local
2657 ret = ps_led_register(ps_dev, &ds4->lightbar_leds[i], led_info); in dualshock4_create()