Home
last modified time | relevance | path

Searched refs:macid_hi (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/net/
Dcpsw-common.c65 u32 macid_hi; in cpsw_am33xx_cm_get_macid() local
87 macid_hi = readl(addr + 4); in cpsw_am33xx_cm_get_macid()
91 mac_addr[3] = (macid_hi >> 24) & 0xff; in cpsw_am33xx_cm_get_macid()
92 mac_addr[2] = (macid_hi >> 16) & 0xff; in cpsw_am33xx_cm_get_macid()
93 mac_addr[1] = (macid_hi >> 8) & 0xff; in cpsw_am33xx_cm_get_macid()
94 mac_addr[0] = macid_hi & 0xff; in cpsw_am33xx_cm_get_macid()
Dpch_gbe.c27 u32 macid_hi, macid_lo; in pch_gbe_mac_read() local
29 macid_hi = readl(&mac_regs->mac_adr[0].high); in pch_gbe_mac_read()
31 debug("pch_gbe: macid_hi %#x macid_lo %#x\n", macid_hi, macid_lo); in pch_gbe_mac_read()
33 addr[0] = (u8)(macid_hi & 0xff); in pch_gbe_mac_read()
34 addr[1] = (u8)((macid_hi >> 8) & 0xff); in pch_gbe_mac_read()
35 addr[2] = (u8)((macid_hi >> 16) & 0xff); in pch_gbe_mac_read()
36 addr[3] = (u8)((macid_hi >> 24) & 0xff); in pch_gbe_mac_read()
43 u32 macid_hi, macid_lo; in pch_gbe_mac_write() local
46 macid_hi = addr[0] + (addr[1] << 8) + (addr[2] << 16) + (addr[3] << 24); in pch_gbe_mac_write()
49 writel(macid_hi, &mac_regs->mac_adr[0].high); in pch_gbe_mac_write()
Dsun8i_emac.c216 u32 macid_lo, macid_hi; in _sun8i_write_hwaddr() local
220 macid_hi = mac_id[4] + (mac_id[5] << 8); in _sun8i_write_hwaddr()
222 writel(macid_hi, priv->mac_reg + EMAC_ADDR0_HIGH); in _sun8i_write_hwaddr()
Ddesignware.c221 u32 macid_lo, macid_hi; in _dw_write_hwaddr() local
225 macid_hi = mac_id[4] + (mac_id[5] << 8); in _dw_write_hwaddr()
227 writel(macid_hi, &mac_p->macaddr0hi); in _dw_write_hwaddr()
Dag7xxx.c529 u32 macid_lo, macid_hi; in ag7xxx_eth_write_hwaddr() local
531 macid_hi = mac[3] | (mac[2] << 8) | (mac[1] << 16) | (mac[0] << 24); in ag7xxx_eth_write_hwaddr()
535 writel(macid_hi, priv->regs + AG7XXX_ETH_ADDR2); in ag7xxx_eth_write_hwaddr()