Lines Matching refs:value

133 	__s32 *value = report->field[0]->value;  in steelseries_srws1_set_leds()  local
135 value[0] = 0x40; in steelseries_srws1_set_leds()
136 value[1] = leds & 0xFF; in steelseries_srws1_set_leds()
137 value[2] = leds >> 8; in steelseries_srws1_set_leds()
138 value[3] = 0x00; in steelseries_srws1_set_leds()
139 value[4] = 0x00; in steelseries_srws1_set_leds()
140 value[5] = 0x00; in steelseries_srws1_set_leds()
141 value[6] = 0x00; in steelseries_srws1_set_leds()
142 value[7] = 0x00; in steelseries_srws1_set_leds()
143 value[8] = 0x00; in steelseries_srws1_set_leds()
144 value[9] = 0x00; in steelseries_srws1_set_leds()
145 value[10] = 0x00; in steelseries_srws1_set_leds()
146 value[11] = 0x00; in steelseries_srws1_set_leds()
147 value[12] = 0x00; in steelseries_srws1_set_leds()
148 value[13] = 0x00; in steelseries_srws1_set_leds()
149 value[14] = 0x00; in steelseries_srws1_set_leds()
150 value[15] = 0x00; in steelseries_srws1_set_leds()
158 enum led_brightness value) in steelseries_srws1_led_all_set_brightness() argument
169 if (value == LED_OFF) in steelseries_srws1_led_all_set_brightness()
194 enum led_brightness value) in steelseries_srws1_led_set_brightness() argument
211 if (value == LED_OFF && state) { in steelseries_srws1_led_set_brightness()
214 } else if (value != LED_OFF && !state) { in steelseries_srws1_led_set_brightness()
227 int i, value = 0; in steelseries_srws1_led_get_brightness() local
238 value = (drv_data->led_state >> i) & 1; in steelseries_srws1_led_get_brightness()
242 return value ? LED_FULL : LED_OFF; in steelseries_srws1_led_get_brightness()