Searched refs:mac_h (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/sys/dev/mge/
H A Dif_mge.c337 uint32_t mac_l, mac_h; local
363 mac_h = MGE_READ(sc, MGE_MAC_ADDR_H);
365 addr[0] = (mac_h & 0xff000000) >> 24;
366 addr[1] = (mac_h & 0x00ff0000) >> 16;
367 addr[2] = (mac_h & 0x0000ff00) >> 8;
368 addr[3] = (mac_h & 0x000000ff);
441 uint32_t mac_l, mac_h; local
448 mac_h = (if_mac[0] << 24)| (if_mac[1] << 16) |
452 MGE_WRITE(sc, MGE_MAC_ADDR_H, mac_h);
/freebsd-13-stable/sys/dev/usb/net/
H A Dif_smsc.c1557 uint32_t mac_h, mac_l; local
1573 (smsc_read_reg(sc, SMSC_MAC_ADDRH, &mac_h) == 0)) {
1574 sc->sc_ue.ue_eaddr[5] = (uint8_t)((mac_h >> 8) & 0xff);
1575 sc->sc_ue.ue_eaddr[4] = (uint8_t)((mac_h) & 0xff);
H A Dif_muge.c1473 uint32_t mac_h, mac_l; local
1482 (lan78xx_read_reg(sc, ETH_RX_ADDRH, &mac_h) == 0)) {
1483 ue->ue_eaddr[5] = (uint8_t)((mac_h >> 8) & 0xff);
1484 ue->ue_eaddr[4] = (uint8_t)((mac_h) & 0xff);
/freebsd-13-stable/sys/dev/neta/
H A Dif_mvneta.c365 unsigned int mac_h; local
369 mac_h = (addr[0] << 24) | (addr[1] << 16) |
373 MVNETA_WRITE(sc, MVNETA_MACAH, mac_h);
380 uint32_t mac_l, mac_h; local
390 mac_h = MVNETA_READ(sc, MVNETA_MACAH);
391 if (mac_l == 0 && mac_h == 0) {
398 mac_h = arc4random();
399 mac_h &= ~(3 << 24); /* Clear multicast and LAA bits */
407 addr[0] = (mac_h & 0xff000000) >> 24;
408 addr[1] = (mac_h
[all...]

Completed in 168 milliseconds