Home
last modified time | relevance | path

Searched refs:led_pin (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c232 ath9k_hw_set_gpio(priv->ah, priv->ah->led_pin, in ath9k_led_work()
257 ath9k_hw_gpio_free(priv->ah, priv->ah->led_pin); in ath9k_deinit_leds()
264 ath9k_hw_gpio_request_out(priv->ah, priv->ah->led_pin, in ath9k_configure_leds()
268 ath9k_hw_set_gpio(priv->ah, priv->ah->led_pin, 1); in ath9k_configure_leds()
276 priv->ah->led_pin = ATH_LED_PIN_9287; in ath9k_init_leds()
278 priv->ah->led_pin = ATH_LED_PIN_9271; in ath9k_init_leds()
280 priv->ah->led_pin = ATH_LED_PIN_7010; in ath9k_init_leds()
282 priv->ah->led_pin = ATH_LED_PIN_DEF; in ath9k_init_leds()
Dgpio.c30 if (ah->led_pin < 0) { in ath_fill_led_pin()
32 ah->led_pin = ATH_LED_PIN_9287; in ath_fill_led_pin()
34 ah->led_pin = ATH_LED_PIN_9485; in ath_fill_led_pin()
36 ah->led_pin = ATH_LED_PIN_9300; in ath_fill_led_pin()
38 ah->led_pin = ATH_LED_PIN_9462; in ath_fill_led_pin()
40 ah->led_pin = ATH_LED_PIN_DEF; in ath_fill_led_pin()
44 ath9k_hw_gpio_request_out(ah, ah->led_pin, "ath9k-led", in ath_fill_led_pin()
48 ath9k_hw_set_gpio(ah, ah->led_pin, ah->config.led_active_high ? 0 : 1); in ath_fill_led_pin()
60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness()
71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin); in ath_deinit_leds()
Dinit.c637 ah->led_pin = pdata->led_pin; in ath9k_init_platform()
716 ah->led_pin = -1; in ath9k_init_softc()
Dmain.c728 if (ah->led_pin >= 0) { in ath9k_start()
729 ath9k_hw_set_gpio(ah, ah->led_pin, in ath9k_start()
731 ath9k_hw_gpio_request_out(ah, ah->led_pin, NULL, in ath9k_start()
945 if (ah->led_pin >= 0) { in ath9k_stop()
946 ath9k_hw_set_gpio(ah, ah->led_pin, in ath9k_stop()
948 ath9k_hw_gpio_request_in(ah, ah->led_pin, NULL); in ath9k_stop()
Dhw.h909 int led_pin; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_init.c87 addr = mt7615_reg_map(dev, MT_LED_STATUS_0(mt76->led_pin)); in mt7615_led_set_config()
89 addr = mt7615_reg_map(dev, MT_LED_STATUS_1(mt76->led_pin)); in mt7615_led_set_config()
92 val = MT_LED_CTRL_REPLAY(mt76->led_pin) | in mt7615_led_set_config()
93 MT_LED_CTRL_KICK(mt76->led_pin); in mt7615_led_set_config()
95 val |= MT_LED_CTRL_POLARITY(mt76->led_pin); in mt7615_led_set_config()
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dled.c94 ath5k_hw_set_gpio_output(ah, ah->led_pin); in ath5k_led_enable()
103 ath5k_hw_set_gpio(ah, ah->led_pin, ah->led_on); in ath5k_led_on()
111 ath5k_hw_set_gpio(ah, ah->led_pin, !ah->led_on); in ath5k_led_off()
184 ah->led_pin = ATH_PIN(match->driver_data); in ath5k_init_leds()
Dath5k.h1303 unsigned int led_pin, /* GPIO pin for driving LED */ member
/linux-6.1.9/include/linux/
Dath9k_platform.h30 int led_pin; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c344 addr = mt7603_reg_map(dev, MT_LED_STATUS_0(mt76->led_pin)); in mt7603_led_set_config()
346 addr = mt7603_reg_map(dev, MT_LED_STATUS_1(mt76->led_pin)); in mt7603_led_set_config()
349 val = MT_LED_CTRL_REPLAY(mt76->led_pin) | in mt7603_led_set_config()
350 MT_LED_CTRL_KICK(mt76->led_pin); in mt7603_led_set_config()
352 val |= MT_LED_CTRL_POLARITY(mt76->led_pin); in mt7603_led_set_config()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dtypes.h216 struct led_pin { struct
223 struct led_pin ledpin[1]; argument
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c101 mt76_wr(dev, MT_LED_S0(mdev->led_pin), val); in mt76x02_led_set_config()
102 mt76_wr(dev, MT_LED_S1(mdev->led_pin), val); in mt76x02_led_set_config()
104 val = MT_LED_CTRL_REPLAY(mdev->led_pin) | in mt76x02_led_set_config()
105 MT_LED_CTRL_KICK(mdev->led_pin); in mt76x02_led_set_config()
107 val |= MT_LED_CTRL_POLARITY(mdev->led_pin); in mt76x02_led_set_config()
Ddebugfs.c132 debugfs_create_u8("led_pin", 0600, dir, &dev->led_pin); in mt76_register_debugfs_fops()
Dmac80211.c199 int led_pin; in mt76_led_init() local
216 if (!of_property_read_u32(np, "led-sources", &led_pin)) in mt76_led_init()
217 dev->led_pin = led_pin; in mt76_led_init()
Dmt76.h815 u8 led_pin; member
/linux-6.1.9/arch/arm64/boot/dts/rockchip/
Drk3328-rock-pi-e.dts55 pinctrl-0 = <&led_pin>;
328 led_pin: led-pin { label
Drk3566-pinenote.dtsi65 pinctrl-0 = <&led_pin>;
567 led_pin: led-pin { label
/linux-6.1.9/drivers/scsi/
Dncr53c8xx.h520 u8 led_pin; member
Dncr53c8xx.c721 driver_setup.led_pin = val; in sym53c8xx__setup()
3911 if ((driver_setup.led_pin) && in ncr_prepare_setting()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c474 i = dev->mt76.led_pin ? MT_LED_GPIO_MUX3 : MT_LED_GPIO_MUX2; in mt7915_mac_init()