Lines Matching refs:led_state

597 	u8 led_state[MAX_LEDS];  member
1941 memcpy(sc->led_state, sixaxis_leds[id], sizeof(sixaxis_leds[id])); in sixaxis_set_leds_from_id()
1965 memcpy(sc->led_state, color_code[id], sizeof(color_code[id])); in dualshock4_set_leds_from_id()
1980 value[1] = sc->led_state[0] ? 0xff : 0x00; in buzz_set_leds()
1981 value[2] = sc->led_state[1] ? 0xff : 0x00; in buzz_set_leds()
1982 value[3] = sc->led_state[2] ? 0xff : 0x00; in buzz_set_leds()
1983 value[4] = sc->led_state[3] ? 0xff : 0x00; in buzz_set_leds()
2024 (value != drv_data->led_state[n] || in sony_led_set_brightness()
2028 drv_data->led_state[n] = value; in sony_led_set_brightness()
2056 return drv_data->led_state[n]; in sony_led_get_brightness()
2136 sc->led_state[3] = 1; in sony_leds_init()
2152 memcpy(sc->led_state, navigation_leds, sizeof(navigation_leds)); in sony_leds_init()
2194 led->brightness = sc->led_state[n]; in sony_leds_init()
2241 report->leds_bitmap |= sc->led_state[0] << 1; in sixaxis_send_output_report()
2242 report->leds_bitmap |= sc->led_state[1] << 2; in sixaxis_send_output_report()
2243 report->leds_bitmap |= sc->led_state[2] << 3; in sixaxis_send_output_report()
2244 report->leds_bitmap |= sc->led_state[3] << 4; in sixaxis_send_output_report()
2312 if (sc->led_state[3]) { in dualshock4_send_output_report()
2313 buf[offset++] = sc->led_state[0]; in dualshock4_send_output_report()
2314 buf[offset++] = sc->led_state[1]; in dualshock4_send_output_report()
2315 buf[offset++] = sc->led_state[2]; in dualshock4_send_output_report()
2347 report->r = sc->led_state[0]; in motion_send_output_report()
2348 report->g = sc->led_state[1]; in motion_send_output_report()
2349 report->b = sc->led_state[2]; in motion_send_output_report()