Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-playstation.c397 bool lightbar_enabled; /* For use by global LED control. */ member
2026 return ds4->lightbar_enabled; in dualshock4_led_get_brightness()
2085 ds4->lightbar_enabled = !!value; in dualshock4_led_set_brightness()
2088 if (!ds4->lightbar_enabled) { in dualshock4_led_set_brightness()
2180 common->lightbar_red = ds4->lightbar_enabled ? ds4->lightbar_red : 0; in dualshock4_output_worker()
2181 common->lightbar_green = ds4->lightbar_enabled ? ds4->lightbar_green : 0; in dualshock4_output_worker()
2182 common->lightbar_blue = ds4->lightbar_enabled ? ds4->lightbar_blue : 0; in dualshock4_output_worker()
2538 ds4->lightbar_enabled = true; in dualshock4_set_default_lightbar_colors()