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; local
154 * the 4 MSBs, and mac_hi is the 2 LSBs.
169 mac_hi = (mac[5] << 8) | mac[4];
174 mac_lo |= (mac_hi & 1) << 31; /* carry */
175 mac_hi >>= 1;
177 mac_lo = mac_hi = 0;
180 OS_REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), mac_hi | unicast_addr);
H A Dar9300_misc.c3218 u_int32_t mac_hi, mac_lo; local
3235 mac_hi = OS_REG_READ(ah, AR_KEYTABLE_MAC1(entry));
3237 if (mac_hi & AR_KEYTABLE_VALID) {
3243 if ((mac_hi != 0) && (mac_lo != 0)) {
3244 mac_hi &= ~0x8000;
3245 mac_hi <<= 1;
3246 mac_hi |= ((mac_lo & (1 << 31) )) >> 31;
3268 (mac_lo) >> 24, (mac_hi << 24) >> 24, (mac_hi << 16) >> 24 );

Completed in 29 milliseconds