Lines Matching defs:led_state
3127 uint32_t led_state;
3132 led_state = sc->sc_led_state;
3135 led_state = 0;
3138 led_state ^= AR_GPIO_REG_DATA_LED0_ON | AR_GPIO_REG_DATA_LED1_ON;
3139 led_state &= ~(IEEE80211_IS_CHAN_2GHZ(sc->sc_curchan) ?
3145 led_state = AR_GPIO_REG_DATA_LED0_ON | AR_GPIO_REG_DATA_LED1_ON;
3148 led_state = IEEE80211_IS_CHAN_2GHZ(sc->sc_curchan) ?
3152 if (led_state != sc->sc_led_state) {
3153 otus_write(sc, AR_GPIO_REG_DATA, led_state);
3155 sc->sc_led_state = led_state;