Home
last modified time | relevance | path

Searched refs:mac_addr_h (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/marvell/
Dmvneta.c3862 u32 mac_addr_l, mac_addr_h; in mvneta_get_mac_addr() local
3865 mac_addr_h = mvreg_read(pp, MVNETA_MAC_ADDR_HIGH); in mvneta_get_mac_addr()
3866 addr[0] = (mac_addr_h >> 24) & 0xFF; in mvneta_get_mac_addr()
3867 addr[1] = (mac_addr_h >> 16) & 0xFF; in mvneta_get_mac_addr()
3868 addr[2] = (mac_addr_h >> 8) & 0xFF; in mvneta_get_mac_addr()
3869 addr[3] = mac_addr_h & 0xFF; in mvneta_get_mac_addr()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4687 u32 mac_addr_l, mac_addr_m, mac_addr_h; in mvpp21_get_mac_address() local
4691 mac_addr_h = readl(port->priv->lms_base + MVPP2_SRC_ADDR_HIGH); in mvpp21_get_mac_address()
4692 addr[0] = (mac_addr_h >> 24) & 0xFF; in mvpp21_get_mac_address()
4693 addr[1] = (mac_addr_h >> 16) & 0xFF; in mvpp21_get_mac_address()
4694 addr[2] = (mac_addr_h >> 8) & 0xFF; in mvpp21_get_mac_address()
4695 addr[3] = mac_addr_h & 0xFF; in mvpp21_get_mac_address()