Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Dgpio.c33 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness()
75 if (ah->led_pin >= 0) { in ath_fill_led_pin()
76 if (!((1 << ah->led_pin) & AR_GPIO_OE_OUT_MASK)) in ath_fill_led_pin()
77 ath9k_hw_request_gpio(ah, ah->led_pin, "ath9k-led"); in ath_fill_led_pin()
82 ah->led_pin = ATH_LED_PIN_9287; in ath_fill_led_pin()
84 ah->led_pin = ATH_LED_PIN_9485; in ath_fill_led_pin()
86 ah->led_pin = ATH_LED_PIN_9300; in ath_fill_led_pin()
88 ah->led_pin = ATH_LED_PIN_9462; in ath_fill_led_pin()
90 ah->led_pin = ATH_LED_PIN_DEF; in ath_fill_led_pin()
93 ath9k_hw_cfg_output(ah, ah->led_pin, AR_GPIO_OUTPUT_MUX_AS_OUTPUT); in ath_fill_led_pin()
[all …]
Dhtc_drv_gpio.c232 ath9k_hw_set_gpio(priv->ah, priv->ah->led_pin, in ath9k_led_work()
262 ath9k_hw_cfg_output(priv->ah, priv->ah->led_pin, in ath9k_configure_leds()
265 ath9k_hw_set_gpio(priv->ah, priv->ah->led_pin, 1); in ath9k_configure_leds()
274 priv->ah->led_pin = ATH_LED_PIN_9287; in ath9k_init_leds()
276 priv->ah->led_pin = ATH_LED_PIN_9271; in ath9k_init_leds()
278 priv->ah->led_pin = ATH_LED_PIN_7010; in ath9k_init_leds()
280 priv->ah->led_pin = ATH_LED_PIN_DEF; in ath9k_init_leds()
Dinit.c574 sc->sc_ah->led_pin = -1; in ath9k_init_softc()
578 sc->sc_ah->led_pin = pdata->led_pin; in ath9k_init_softc()
Dmain.c723 if (ah->led_pin >= 0) { in ath9k_start()
724 ath9k_hw_cfg_output(ah, ah->led_pin, in ath9k_start()
726 ath9k_hw_set_gpio(ah, ah->led_pin, in ath9k_start()
936 if (ah->led_pin >= 0) { in ath9k_stop()
937 ath9k_hw_set_gpio(ah, ah->led_pin, in ath9k_stop()
939 ath9k_hw_cfg_gpio_input(ah, ah->led_pin); in ath9k_stop()
Dhw.h902 int led_pin; member
/drivers/net/wireless/ath/ath5k/
Dled.c93 ath5k_hw_set_gpio_output(ah, ah->led_pin); in ath5k_led_enable()
102 ath5k_hw_set_gpio(ah, ah->led_pin, ah->led_on); in ath5k_led_on()
109 ath5k_hw_set_gpio(ah, ah->led_pin, !ah->led_on); in ath5k_led_off()
182 ah->led_pin = ATH_PIN(match->driver_data); in ath5k_init_leds()
Dath5k.h1303 unsigned int led_pin, /* GPIO pin for driving LED */ member
/drivers/net/wireless/libertas/
Dtypes.h215 struct led_pin { struct
222 struct led_pin ledpin[1]; argument
/drivers/scsi/
Dncr53c8xx.h532 u8 led_pin; member
Dncr53c8xx.c729 driver_setup.led_pin = val; in sym53c8xx__setup()
3948 if ((driver_setup.led_pin) && in ncr_prepare_setting()