Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/broadcom/b43legacy/
Dleds.c21 static void b43legacy_led_turn_on(struct b43legacy_wldev *dev, u8 led_index, in b43legacy_led_turn_on() argument
31 ctl &= ~(1 << led_index); in b43legacy_led_turn_on()
33 ctl |= (1 << led_index); in b43legacy_led_turn_on()
38 static void b43legacy_led_turn_off(struct b43legacy_wldev *dev, u8 led_index, in b43legacy_led_turn_off() argument
48 ctl |= (1 << led_index); in b43legacy_led_turn_off()
50 ctl &= ~(1 << led_index); in b43legacy_led_turn_off()
79 u8 led_index, bool activelow) in b43legacy_register_led() argument
83 b43legacy_led_turn_off(dev, led_index, activelow); in b43legacy_register_led()
89 led->index = led_index; in b43legacy_register_led()
116 u8 led_index, in b43legacy_map_led() argument
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dleds.c21 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()
[all …]
/linux-6.6.21/drivers/leds/
Dleds-da9052.c30 unsigned char led_index; member
47 error = da9052_reg_write(led->da9052, led_reg[led->led_index], val); in da9052_set_led_brightness()
124 led[i].led_index = pled->leds[i].flags; in da9052_led_probe()
130 led[i].led_index); in da9052_led_probe()
138 led[i].led_index); in da9052_led_probe()
/linux-6.6.21/drivers/net/wireless/intersil/p54/
Dled.c82 unsigned int led_index, in p54_register_led() argument
85 struct p54_led_dev *led = &priv->leds[led_index]; in p54_register_led()
94 led->index = led_index; in p54_register_led()
/linux-6.6.21/drivers/net/dsa/qca/
Dqca8k-leds.c372 int led_num, led_index; in qca8k_parse_port_leds() local
399 led_index = QCA8K_LED_PORT_INDEX(port_num, led_num); in qca8k_parse_port_leds()
401 port_led = &priv->ports_led[led_index]; in qca8k_parse_port_leds()
/linux-6.6.21/drivers/hid/
Dhid-playstation.c1156 unsigned int led_index; in dualsense_player_led_set_brightness() local
1160 led_index = led - ds->player_leds; in dualsense_player_led_set_brightness()
1162 ds->player_leds_state &= ~BIT(led_index); in dualsense_player_led_set_brightness()
1164 ds->player_leds_state |= BIT(led_index); in dualsense_player_led_set_brightness()
1998 unsigned int led_index; in dualshock4_led_get_brightness() local
2000 led_index = led - ds4->lightbar_leds; in dualshock4_led_get_brightness()
2001 switch (led_index) { in dualshock4_led_get_brightness()
2051 unsigned int led_index; in dualshock4_led_set_brightness() local
2055 led_index = led - ds4->lightbar_leds; in dualshock4_led_set_brightness()
2056 switch (led_index) { in dualshock4_led_set_brightness()
/linux-6.6.21/drivers/accel/habanalabs/include/common/
Dcpucp_if.h826 __le32 led_index; member
/linux-6.6.21/drivers/accel/habanalabs/common/
Ddebugfs.c101 pkt.led_index = cpu_to_le32(led); in hl_debugfs_led_set()