Home
last modified time | relevance | path

Searched refs:radio_led (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dled.c25 if (!wl->radio_led.gpiod) in brcms_radio_led_ctrl()
29 gpiod_set_value(wl->radio_led.gpiod, 1); in brcms_radio_led_ctrl()
31 gpiod_set_value(wl->radio_led.gpiod, 0); in brcms_radio_led_ctrl()
48 if (wl->radio_led.gpiod) in brcms_led_unregister()
49 gpiochip_free_own_desc(wl->radio_led.gpiod); in brcms_led_unregister()
55 struct brcms_led *radio_led = &wl->radio_led; in brcms_led_register() local
83 radio_led->gpiod = gpiochip_request_own_desc(bcma_gpio, hwnum, in brcms_led_register()
87 if (IS_ERR(radio_led->gpiod)) { in brcms_led_register()
88 err = PTR_ERR(radio_led->gpiod); in brcms_led_register()
94 snprintf(wl->radio_led.name, sizeof(wl->radio_led.name), in brcms_led_register()
[all …]
Dmac80211_if.h86 struct brcms_led radio_led; member
/linux-6.6.21/net/mac80211/
Dled.c27 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio()
29 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio()
40 local->radio_led.name = kasprintf(GFP_KERNEL, "%sradio", in ieee80211_alloc_led_names()
49 kfree(local->radio_led.name); in ieee80211_free_led_names()
116 radio_led); in ieee80211_radio_led_activate()
127 radio_led); in ieee80211_radio_led_deactivate()
179 local->radio_led.activate = ieee80211_radio_led_activate; in ieee80211_led_init()
180 local->radio_led.deactivate = ieee80211_radio_led_deactivate; in ieee80211_led_init()
181 if (local->radio_led.name && led_trigger_register(&local->radio_led)) { in ieee80211_led_init()
182 kfree(local->radio_led.name); in ieee80211_led_init()
[all …]
Dieee80211_i.h1506 struct led_trigger tx_led, rx_led, assoc_led, radio_led; member