Searched refs:TU_TO_USEC (Results 1 – 8 of 8) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_beacon.c | 28 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 51 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bt->bt_nexttbtt)); in ar5416SetBeaconTimers() 54 OS_REG_WRITE(ah, AR_NEXT_NDP, TU_TO_USEC(bt->bt_nextatim)); in ar5416SetBeaconTimers() 56 bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD); in ar5416SetBeaconTimers() 159 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bs->bs_nexttbtt)); in ar5416SetStaBeaconTimers() 167 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar5416SetStaBeaconTimers() 169 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar5416SetStaBeaconTimers() 251 TU_TO_USEC(bs->bs_nextdtim - SLEEP_SLOP)); in ar5416SetStaBeaconTimers() 252 OS_REG_WRITE(ah, AR_NEXT_TIM, TU_TO_USEC(nextTbtt - SLEEP_SLOP)); in ar5416SetStaBeaconTimers() 265 OS_REG_WRITE(ah, AR_TIM_PERIOD, TU_TO_USEC(beaconintval)); in ar5416SetStaBeaconTimers() [all …]
|
H A D | ar5416_misc.c | 418 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 424 uint32_t period_us = TU_TO_USEC(period); /* convert to us unit */ in ar5416SetQuiet() 425 uint32_t nextStart_us = TU_TO_USEC(nextStart); /* convert to us unit */ in ar5416SetQuiet() 444 #undef TU_TO_USEC
|
H A D | ar5416_xmit.c | 1241 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 1429 SM(TU_TO_USEC(value), AR_Q_RDYTIMECFG_INT) | in ar5416ResetTxQueue() 1498 #undef TU_TO_USEC
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_beacon.c | 25 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 91 OS_REG_WRITE(ah, AR_NEXT_TBTT_TIMER, TU_TO_USEC(bs->bs_nexttbtt)); in ar9300_set_sta_beacon_timers() 99 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar9300_set_sta_beacon_timers() 101 TU_TO_USEC(bs->bs_intval & HAL_BEACON_PERIOD)); in ar9300_set_sta_beacon_timers() 165 OS_REG_WRITE(ah, AR_NEXT_DTIM, TU_TO_USEC(bs->bs_nextdtim - SLEEP_SLOP)); in ar9300_set_sta_beacon_timers() 166 OS_REG_WRITE(ah, AR_NEXT_TIM, TU_TO_USEC(next_tbtt - SLEEP_SLOP)); in ar9300_set_sta_beacon_timers() 189 OS_REG_WRITE(ah, AR_TIM_PERIOD, TU_TO_USEC(beaconintval)); in ar9300_set_sta_beacon_timers() 190 OS_REG_WRITE(ah, AR_DTIM_PERIOD, TU_TO_USEC(dtimperiod)); in ar9300_set_sta_beacon_timers()
|
H A D | ar9300_freebsd.c | 952 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 974 OS_REG_WRITE(ah, AR_NEXT_TBTT_TIMER, TU_TO_USEC(bt->bt_nexttbtt)); in ar9300_beacon_set_beacon_timers() 977 OS_REG_WRITE(ah, AR_NEXT_NDP_TIMER, TU_TO_USEC(bt->bt_nextatim)); in ar9300_beacon_set_beacon_timers() 979 bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD); in ar9300_beacon_set_beacon_timers()
|
H A D | ar9300_xmit.c | 28 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 456 SM(TU_TO_USEC(value), AR_Q_RDYTIMECFG_DURATION) | in ar9300_reset_tx_queue()
|
H A D | ar9300_misc.c | 616 #define TU_TO_USEC(_tu) ((_tu) << 10) in ar9300_set_quiet() macro 621 next_start_us = TU_TO_USEC(next_start); in ar9300_set_quiet() 632 OS_REG_WRITE(ah, AR_QUIET_PERIOD, TU_TO_USEC(period)); in ar9300_set_quiet() 650 #undef TU_TO_USEC in ar9300_set_quiet()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_xmit.c | 266 #define TU_TO_USEC(_tu) ((_tu) << 10) macro 445 SM(TU_TO_USEC(value), AR_Q_RDYTIMECFG_INT) | in ar5212ResetTxQueue() 508 #undef TU_TO_USEC
|