Home
last modified time | relevance | path

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

/u-boot/drivers/net/ti/
A Dcpsw-common.c38 u32 macid_hi = readl(addr + 4); in cpsw_am33xx_cm_get_macid() local
42 mac_addr[3] = (macid_hi >> 24) & 0xff; in cpsw_am33xx_cm_get_macid()
43 mac_addr[2] = (macid_hi >> 16) & 0xff; in cpsw_am33xx_cm_get_macid()
44 mac_addr[1] = (macid_hi >> 8) & 0xff; in cpsw_am33xx_cm_get_macid()
45 mac_addr[0] = macid_hi & 0xff; in cpsw_am33xx_cm_get_macid()
/u-boot/drivers/net/
A Dpch_gbe.c31 u32 macid_hi, macid_lo; in pch_gbe_mac_read() local
33 macid_hi = readl(&mac_regs->mac_adr[0].high); in pch_gbe_mac_read()
35 debug("pch_gbe: macid_hi %#x macid_lo %#x\n", macid_hi, macid_lo); in pch_gbe_mac_read()
37 addr[0] = (u8)(macid_hi & 0xff); in pch_gbe_mac_read()
38 addr[1] = (u8)((macid_hi >> 8) & 0xff); in pch_gbe_mac_read()
39 addr[2] = (u8)((macid_hi >> 16) & 0xff); in pch_gbe_mac_read()
40 addr[3] = (u8)((macid_hi >> 24) & 0xff); in pch_gbe_mac_read()
47 u32 macid_hi, macid_lo; in pch_gbe_mac_write() local
50 macid_hi = addr[0] + (addr[1] << 8) + (addr[2] << 16) + (addr[3] << 24); in pch_gbe_mac_write()
53 writel(macid_hi, &mac_regs->mac_adr[0].high); in pch_gbe_mac_write()
A Ddesignware.c229 u32 macid_lo, macid_hi; in _dw_write_hwaddr() local
233 macid_hi = mac_id[4] + (mac_id[5] << 8); in _dw_write_hwaddr()
235 writel(macid_hi, &mac_p->macaddr0hi); in _dw_write_hwaddr()
A Dsun8i_emac.c263 u32 macid_lo, macid_hi; in sun8i_eth_write_hwaddr() local
267 macid_hi = mac_id[4] + (mac_id[5] << 8); in sun8i_eth_write_hwaddr()
269 writel(macid_hi, priv->mac_reg + EMAC_ADDR0_HIGH); in sun8i_eth_write_hwaddr()
A Dag7xxx.c595 u32 macid_lo, macid_hi; in ag7xxx_eth_write_hwaddr() local
597 macid_hi = mac[3] | (mac[2] << 8) | (mac[1] << 16) | (mac[0] << 24); in ag7xxx_eth_write_hwaddr()
601 writel(macid_hi, priv->regs + AG7XXX_ETH_ADDR2); in ag7xxx_eth_write_hwaddr()

Completed in 11 milliseconds