Home
last modified time | relevance | path

Searched refs:blinkrates (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/iwi/
H A Dif_iwi.c3424 } blinkrates[] = { in iwi_led_event() local
3448 j = nitems(blinkrates)-1; in iwi_led_event()
3453 if (blinkrates[sc->sc_txrix].rate != txrate) { in iwi_led_event()
3454 for (j = 0; j < nitems(blinkrates)-1; j++) in iwi_led_event()
3455 if (blinkrates[j].rate == txrate) in iwi_led_event()
3462 if (blinkrates[sc->sc_rxrix].rate != sc->sc_rxrate) { in iwi_led_event()
3463 for (j = 0; j < nitems(blinkrates)-1; j++) in iwi_led_event()
3464 if (blinkrates[j].rate == sc->sc_rxrate) in iwi_led_event()
3472 iwi_led_blink(sc, (blinkrates[j].timeOn * hz) / 1000, in iwi_led_event()
3473 (blinkrates[j].timeOff * hz) / 1000); in iwi_led_event()
/freebsd/sys/dev/ath/
H A Dif_ath.c6483 } blinkrates[] = { in ath_setcurmode() local
6529 for (j = 0; j < nitems(blinkrates)-1; j++) in ath_setcurmode()
6530 if (blinkrates[j].rate == sc->sc_hwmap[i].ieeerate) in ath_setcurmode()
6534 sc->sc_hwmap[i].ledon = (blinkrates[j].timeOn * hz) / 1000; in ath_setcurmode()
6535 sc->sc_hwmap[i].ledoff = (blinkrates[j].timeOff * hz) / 1000; in ath_setcurmode()