/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_gpio.c | 232 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()
|
D | gpio.c | 30 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()
|
D | init.c | 637 ah->led_pin = pdata->led_pin; in ath9k_init_platform() 716 ah->led_pin = -1; in ath9k_init_softc()
|
D | main.c | 728 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()
|
D | hw.h | 909 int led_pin; member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | pci_init.c | 87 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/ |
D | led.c | 94 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()
|
D | ath5k.h | 1303 unsigned int led_pin, /* GPIO pin for driving LED */ member
|
/linux-6.1.9/include/linux/ |
D | ath9k_platform.h | 30 int led_pin; member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | init.c | 344 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/ |
D | types.h | 216 struct led_pin { struct 223 struct led_pin ledpin[1]; argument
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_util.c | 101 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()
|
D | debugfs.c | 132 debugfs_create_u8("led_pin", 0600, dir, &dev->led_pin); in mt76_register_debugfs_fops()
|
D | mac80211.c | 199 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()
|
D | mt76.h | 815 u8 led_pin; member
|
/linux-6.1.9/arch/arm64/boot/dts/rockchip/ |
D | rk3328-rock-pi-e.dts | 55 pinctrl-0 = <&led_pin>; 328 led_pin: led-pin { label
|
D | rk3566-pinenote.dtsi | 65 pinctrl-0 = <&led_pin>; 567 led_pin: led-pin { label
|
/linux-6.1.9/drivers/scsi/ |
D | ncr53c8xx.h | 520 u8 led_pin; member
|
D | ncr53c8xx.c | 721 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/ |
D | init.c | 474 i = dev->mt76.led_pin ? MT_LED_GPIO_MUX3 : MT_LED_GPIO_MUX2; in mt7915_mac_init()
|