Lines Matching refs:us
423 ar5211SetSifsTime(struct ath_hal *ah, u_int us) in ar5211SetSifsTime() argument
427 if (us > ath_hal_mac_usec(ah, 0xffff)) { in ar5211SetSifsTime()
429 __func__, us); in ar5211SetSifsTime()
434 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us)); in ar5211SetSifsTime()
435 ahp->ah_slottime = us; in ar5211SetSifsTime()
448 ar5211SetSlotTime(struct ath_hal *ah, u_int us) in ar5211SetSlotTime() argument
452 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) { in ar5211SetSlotTime()
454 __func__, us); in ar5211SetSlotTime()
455 ahp->ah_slottime = us; /* restore default handling */ in ar5211SetSlotTime()
459 OS_REG_WRITE(ah, AR_D_GBL_IFS_SLOT, ath_hal_mac_clks(ah, us)); in ar5211SetSlotTime()
460 ahp->ah_slottime = us; in ar5211SetSlotTime()
473 ar5211SetAckTimeout(struct ath_hal *ah, u_int us) in ar5211SetAckTimeout() argument
477 if (us > ath_hal_mac_usec(ah, MS(0xffffffff, AR_TIME_OUT_ACK))) { in ar5211SetAckTimeout()
479 __func__, us); in ar5211SetAckTimeout()
485 AR_TIME_OUT_ACK, ath_hal_mac_clks(ah, us)); in ar5211SetAckTimeout()
486 ahp->ah_acktimeout = us; in ar5211SetAckTimeout()
520 ar5211SetCTSTimeout(struct ath_hal *ah, u_int us) in ar5211SetCTSTimeout() argument
524 if (us > ath_hal_mac_usec(ah, MS(0xffffffff, AR_TIME_OUT_CTS))) { in ar5211SetCTSTimeout()
526 __func__, us); in ar5211SetCTSTimeout()
532 AR_TIME_OUT_CTS, ath_hal_mac_clks(ah, us)); in ar5211SetCTSTimeout()
533 ahp->ah_ctstimeout = us; in ar5211SetCTSTimeout()