Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dled.c24 if (!wl->radio_led.gpiod) in brcms_radio_led_ctrl()
28 gpiod_set_value(wl->radio_led.gpiod, 1); in brcms_radio_led_ctrl()
30 gpiod_set_value(wl->radio_led.gpiod, 0); in brcms_radio_led_ctrl()
47 if (wl->radio_led.gpiod) in brcms_led_unregister()
48 gpiochip_free_own_desc(wl->radio_led.gpiod); in brcms_led_unregister()
54 struct brcms_led *radio_led = &wl->radio_led; in brcms_led_register() local
85 radio_led->gpiod = gpiochip_request_own_desc(bcma_gpio, hwnum, in brcms_led_register()
89 if (IS_ERR(radio_led->gpiod)) { in brcms_led_register()
90 err = PTR_ERR(radio_led->gpiod); in brcms_led_register()
96 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-v5.15/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.h1364 struct led_trigger tx_led, rx_led, assoc_led, radio_led; member