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 D | ar9300_keycache.c | 144 u_int32_t mac_hi, mac_lo; local 153 * Set MAC address -- shifted right by 1. mac_lo is 170 mac_lo = (mac[3] << 24) | (mac[2] << 16) 172 mac_lo >>= 1; /* Note that the bit 0 is shifted out. This bit is used to 174 mac_lo |= (mac_hi & 1) << 31; /* carry */ 177 mac_lo = mac_hi = 0; 179 OS_REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), mac_lo);
|
H A D | ar9300_misc.c | 3218 u_int32_t mac_hi, mac_lo; local 3234 mac_lo = OS_REG_READ(ah, AR_KEYTABLE_MAC0(entry)); 3243 if ((mac_hi != 0) && (mac_lo != 0)) { 3246 mac_hi |= ((mac_lo & (1 << 31) )) >> 31; 3247 mac_lo <<= 1; 3267 (mac_lo << 24) >> 24, (mac_lo << 16) >> 24, (mac_lo << 8) >> 24, 3268 (mac_lo) >> 24, (mac_hi << 24) >> 24, (mac_hi << 16) >> 24 );
|
Completed in 53 milliseconds