Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_keycache.c144 u_int32_t mac_hi, mac_lo; in ar9300_set_key_cache_entry_mac() local
170 mac_lo = (mac[3] << 24) | (mac[2] << 16) in ar9300_set_key_cache_entry_mac()
172 mac_lo >>= 1; /* Note that the bit 0 is shifted out. This bit is used to in ar9300_set_key_cache_entry_mac()
174 mac_lo |= (mac_hi & 1) << 31; /* carry */ in ar9300_set_key_cache_entry_mac()
177 mac_lo = mac_hi = 0; in ar9300_set_key_cache_entry_mac()
179 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), mac_lo); in ar9300_set_key_cache_entry_mac()
H A Dar9300_misc.c3222 u_int32_t mac_hi, mac_lo; in ar9300_print_keycache() local
3238 mac_lo = OS_REG_READ(ah, AR_KEYTABLE_MAC0(entry)); in ar9300_print_keycache()
3247 if ((mac_hi != 0) && (mac_lo != 0)) { in ar9300_print_keycache()
3250 mac_hi |= ((mac_lo & (1 << 31) )) >> 31; in ar9300_print_keycache()
3251 mac_lo <<= 1; in ar9300_print_keycache()
3271 (mac_lo << 24) >> 24, (mac_lo << 16) >> 24, (mac_lo << 8) >> 24, in ar9300_print_keycache()
3272 (mac_lo) >> 24, (mac_hi << 24) >> 24, (mac_hi << 16) >> 24 ); in ar9300_print_keycache()