Lines Matching refs:led_index
34 static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, in b43_led_turn_on() argument
41 ctl &= ~(1 << led_index); in b43_led_turn_on()
43 ctl |= (1 << led_index); in b43_led_turn_on()
47 static void b43_led_turn_off(struct b43_wldev *dev, u8 led_index, in b43_led_turn_off() argument
54 ctl |= (1 << led_index); in b43_led_turn_off()
56 ctl &= ~(1 << led_index); in b43_led_turn_off()
123 u8 led_index, bool activelow) in b43_register_led() argument
132 led->index = led_index; in b43_register_led()
160 u8 led_index, in b43_map_led() argument
181 led_index, activelow); in b43_map_led()
186 led_index, activelow); in b43_map_led()
196 led_index, activelow); in b43_map_led()
204 led_index, activelow); in b43_map_led()
214 unsigned int led_index, in b43_led_get_sprominfo() argument
225 if (sprom[led_index] == 0xFF) { in b43_led_get_sprominfo()
229 switch (led_index) { in b43_led_get_sprominfo()
253 *behaviour = sprom[led_index] & B43_LED_BEHAVIOUR; in b43_led_get_sprominfo()
254 *activelow = !!(sprom[led_index] & B43_LED_ACTIVELOW); in b43_led_get_sprominfo()