| /src/sys/dev/ic/ |
| bcmgenet.c | 961 uint32_t maclo, machi, val; local in function:genet_get_eaddr 967 maclo = machi = 0; 971 maclo = RD4(sc, GENET_UMAC_MAC0); 975 if (maclo == 0 && machi == 0) { 977 maclo = 0x00f2 | (cprng_strong32() & 0xffff0000); 981 eaddr[0] = (maclo >> 24) & 0xff; 982 eaddr[1] = (maclo >> 16) & 0xff; 983 eaddr[2] = (maclo >> 8) & 0xff; 984 eaddr[3] = (maclo >> 0) & 0xff;
|
| dwc_eqos.c | 1276 uint32_t maclo, machi; local in function:eqos_get_eaddr 1282 maclo = RD4(sc, GMAC_MAC_ADDRESS0_LOW); 1284 if ((maclo & 0x00000001) != 0) { 1287 maclo &= ~0x00000001; 1290 if (maclo == 0xFFFFFFFF && machi == 0xFFFF) { 1292 maclo = 0x00f2 | (cprng_strong32() & 0xffff0000); 1296 eaddr[0] = maclo & 0xff; 1297 eaddr[1] = (maclo >> 8) & 0xff; 1298 eaddr[2] = (maclo >> 16) & 0xff; 1299 eaddr[3] = (maclo >> 24) & 0xff [all...] |
| dm9000.c | 224 uint32_t maclo = 0x00f2 | (cprng_strong32() << 16); local in function:dme_attach 226 enaddr[0] = maclo; 227 enaddr[1] = maclo >> 8; 228 enaddr[2] = maclo >> 16; 229 enaddr[3] = maclo >> 26;
|
| dwc_gmac.c | 190 uint32_t maclo, machi, hwft; local in function:dwc_gmac_attach 203 maclo = bus_space_read_4(sc->sc_bst, sc->sc_bsh, 208 if (maclo == 0xffffffff && (machi & 0xffff) == 0xffff) { 210 maclo = 0x00f2 | (cprng_strong32() << 16); 214 enaddr[0] = maclo & 0x0ff; 215 enaddr[1] = (maclo >> 8) & 0x0ff; 216 enaddr[2] = (maclo >> 16) & 0x0ff; 217 enaddr[3] = (maclo >> 24) & 0x0ff;
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_emac.c | 538 uint32_t val, crc, hashreg, hashbit, hash[2], machi, maclo; local in function:sunxi_emac_setup_rxfilter 572 maclo = (eaddr[3] << 24) | (eaddr[2] << 16) | (eaddr[1] << 8) | 575 WR4(sc, EMAC_ADDR_LOW(0), maclo); 1126 uint32_t maclo, machi; local in function:sunxi_emac_get_eaddr 1132 maclo = RD4(sc, EMAC_ADDR_LOW(0)); 1134 if (maclo == 0xffffffff && machi == 0xffff) { 1141 maclo = (rootkey[13] << 24) | (rootkey[12] << 16) | 1147 maclo = 0x00f2 | (cprng_strong32() & 0xffff0000); 1154 eaddr[0] = maclo & 0xff; 1155 eaddr[1] = (maclo >> 8) & 0xff [all...] |
| /src/sys/dev/usb/ |
| if_ure.c | 805 uint32_t maclo, machi; local in function:ure_attach 906 maclo = 0x00f2 | (cprng_strong32() & 0xffff0000); 908 eaddr[0] = maclo & 0xff; 909 eaddr[1] = (maclo >> 8) & 0xff; 910 eaddr[2] = (maclo >> 16) & 0xff; 911 eaddr[3] = (maclo >> 24) & 0xff;
|