Lines Matching defs:us
425 ar5211SetSifsTime(struct ath_hal *ah, u_int us)
429 if (us > ath_hal_mac_usec(ah, 0xffff)) {
431 __func__, us);
436 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
437 ahp->ah_slottime = us;
450 ar5211SetSlotTime(struct ath_hal *ah, u_int us)
454 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) {
456 __func__, us);
457 ahp->ah_slottime = us; /* restore default handling */
461 OS_REG_WRITE(ah, AR_D_GBL_IFS_SLOT, ath_hal_mac_clks(ah, us));
462 ahp->ah_slottime = us;
475 ar5211SetAckTimeout(struct ath_hal *ah, u_int us)
479 if (us > ath_hal_mac_usec(ah, MS(0xffffffff, AR_TIME_OUT_ACK))) {
481 __func__, us);
487 AR_TIME_OUT_ACK, ath_hal_mac_clks(ah, us));
488 ahp->ah_acktimeout = us;
522 ar5211SetCTSTimeout(struct ath_hal *ah, u_int us)
526 if (us > ath_hal_mac_usec(ah, MS(0xffffffff, AR_TIME_OUT_CTS))) {
528 __func__, us);
534 AR_TIME_OUT_CTS, ath_hal_mac_clks(ah, us));
535 ahp->ah_ctstimeout = us;