Home
last modified time | relevance | path

Searched refs:mac_hi (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
169 mac_hi = (mac[5] << 8) | mac[4]; in ar9300_set_key_cache_entry_mac()
174 mac_lo |= (mac_hi & 1) << 31; /* carry */ in ar9300_set_key_cache_entry_mac()
175 mac_hi >>= 1; in ar9300_set_key_cache_entry_mac()
177 mac_lo = mac_hi = 0; in ar9300_set_key_cache_entry_mac()
180 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), mac_hi | unicast_addr); in ar9300_set_key_cache_entry_mac()
H A Dar9300_misc.c3222 u_int32_t mac_hi, mac_lo; in ar9300_print_keycache() local
3239 mac_hi = OS_REG_READ(ah, AR_KEYTABLE_MAC1(entry)); in ar9300_print_keycache()
3241 if (mac_hi & AR_KEYTABLE_VALID) { in ar9300_print_keycache()
3247 if ((mac_hi != 0) && (mac_lo != 0)) { in ar9300_print_keycache()
3248 mac_hi &= ~0x8000; in ar9300_print_keycache()
3249 mac_hi <<= 1; in ar9300_print_keycache()
3250 mac_hi |= ((mac_lo & (1 << 31) )) >> 31; in ar9300_print_keycache()
3272 (mac_lo) >> 24, (mac_hi << 24) >> 24, (mac_hi << 16) >> 24 ); in ar9300_print_keycache()