Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/
Dpxa168_eth.c589 unsigned int mac_h = rdl(pep, MAC_ADDR_HIGH); in pxa168_eth_get_mac_address() local
592 addr[0] = (mac_h >> 24) & 0xff; in pxa168_eth_get_mac_address()
593 addr[1] = (mac_h >> 16) & 0xff; in pxa168_eth_get_mac_address()
594 addr[2] = (mac_h >> 8) & 0xff; in pxa168_eth_get_mac_address()
595 addr[3] = mac_h & 0xff; in pxa168_eth_get_mac_address()
605 u32 mac_h, mac_l; in pxa168_eth_set_mac_address() local
612 mac_h = dev->dev_addr[0] << 24; in pxa168_eth_set_mac_address()
613 mac_h |= dev->dev_addr[1] << 16; in pxa168_eth_set_mac_address()
614 mac_h |= dev->dev_addr[2] << 8; in pxa168_eth_set_mac_address()
615 mac_h |= dev->dev_addr[3]; in pxa168_eth_set_mac_address()
[all …]
Dmv643xx_eth.c1756 unsigned int mac_h = rdlp(mp, MAC_ADDR_HIGH); in uc_addr_get() local
1759 addr[0] = (mac_h >> 24) & 0xff; in uc_addr_get()
1760 addr[1] = (mac_h >> 16) & 0xff; in uc_addr_get()
1761 addr[2] = (mac_h >> 8) & 0xff; in uc_addr_get()
1762 addr[3] = mac_h & 0xff; in uc_addr_get()
Dmvneta.c1626 unsigned int mac_h; in mvneta_mac_addr_set() local
1631 mac_h = (addr[0] << 24) | (addr[1] << 16) | in mvneta_mac_addr_set()
1635 mvreg_write(pp, MVNETA_MAC_ADDR_HIGH, mac_h); in mvneta_mac_addr_set()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c1501 u16 mac_h; in brcms_b_set_addrmatch() local
1507 mac_h = addr[4] | (addr[5] << 8); in brcms_b_set_addrmatch()
1514 bcma_write16(core, D11REGOFFS(rcm_mat_data), mac_h); in brcms_b_set_addrmatch()