Lines Matching refs:mac
27 u64 mac; in gsc_getmac() local
31 maclow = som_info.mac[5]; in gsc_getmac()
32 maclow |= som_info.mac[4] << 8; in gsc_getmac()
33 maclow |= som_info.mac[3] << 16; in gsc_getmac()
34 maclow |= som_info.mac[2] << 24; in gsc_getmac()
35 machigh = som_info.mac[1]; in gsc_getmac()
36 machigh |= som_info.mac[0] << 8; in gsc_getmac()
37 mac = machigh; in gsc_getmac()
38 mac <<= 32; in gsc_getmac()
39 mac |= maclow; in gsc_getmac()
46 maclow = base_info.mac[5]; in gsc_getmac()
47 maclow |= base_info.mac[4] << 8; in gsc_getmac()
48 maclow |= base_info.mac[3] << 16; in gsc_getmac()
49 maclow |= base_info.mac[2] << 24; in gsc_getmac()
50 machigh = base_info.mac[1]; in gsc_getmac()
51 machigh |= base_info.mac[0] << 8; in gsc_getmac()
52 mac = machigh; in gsc_getmac()
53 mac <<= 32; in gsc_getmac()
54 mac |= maclow; in gsc_getmac()
63 mac += i; in gsc_getmac()
64 address[0] = (mac >> 40) & 0xff; in gsc_getmac()
65 address[1] = (mac >> 32) & 0xff; in gsc_getmac()
66 address[2] = (mac >> 24) & 0xff; in gsc_getmac()
67 address[3] = (mac >> 16) & 0xff; in gsc_getmac()
68 address[4] = (mac >> 8) & 0xff; in gsc_getmac()
69 address[5] = (mac >> 0) & 0xff; in gsc_getmac()