Lines Matching refs:led_index
21 static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, in b43_led_turn_on() argument
28 ctl &= ~(1 << led_index); in b43_led_turn_on()
30 ctl |= (1 << led_index); in b43_led_turn_on()
34 static void b43_led_turn_off(struct b43_wldev *dev, u8 led_index, in b43_led_turn_off() argument
41 ctl |= (1 << led_index); in b43_led_turn_off()
43 ctl &= ~(1 << led_index); in b43_led_turn_off()
110 u8 led_index, bool activelow) in b43_register_led() argument
119 led->index = led_index; in b43_register_led()
147 u8 led_index, in b43_map_led() argument
168 led_index, activelow); in b43_map_led()
173 led_index, activelow); in b43_map_led()
183 led_index, activelow); in b43_map_led()
191 led_index, activelow); in b43_map_led()
201 unsigned int led_index, in b43_led_get_sprominfo() argument
216 switch (led_index) { in b43_led_get_sprominfo()
241 if (sprom[led_index] == 0xff) in b43_led_get_sprominfo()
244 *behaviour = sprom[led_index] & B43_LED_BEHAVIOUR; in b43_led_get_sprominfo()
245 *activelow = !!(sprom[led_index] & B43_LED_ACTIVELOW); in b43_led_get_sprominfo()