Home
last modified time | relevance | path

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

/u-boot/drivers/net/ti/
A Dcpsw-common.c37 u32 macid_lo = readl(addr); in cpsw_am33xx_cm_get_macid() local
40 mac_addr[5] = (macid_lo >> 8) & 0xff; in cpsw_am33xx_cm_get_macid()
41 mac_addr[4] = macid_lo & 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
34 macid_lo = readl(&mac_regs->mac_adr[0].low) & 0xffff; 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()
41 addr[4] = (u8)(macid_lo & 0xff); in pch_gbe_mac_read()
42 addr[5] = (u8)((macid_lo >> 8) & 0xff); in pch_gbe_mac_read()
47 u32 macid_hi, macid_lo; in pch_gbe_mac_write() local
51 macid_lo = addr[4] + (addr[5] << 8); in pch_gbe_mac_write()
54 writel(macid_lo, &mac_regs->mac_adr[0].low); in pch_gbe_mac_write()
A Ddesignware.c229 u32 macid_lo, macid_hi; in _dw_write_hwaddr() local
231 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _dw_write_hwaddr()
236 writel(macid_lo, &mac_p->macaddr0lo); in _dw_write_hwaddr()
A Dsun8i_emac.c263 u32 macid_lo, macid_hi; in sun8i_eth_write_hwaddr() local
265 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in sun8i_eth_write_hwaddr()
270 writel(macid_lo, priv->mac_reg + EMAC_ADDR0_LOW); in sun8i_eth_write_hwaddr()
A Dag7xxx.c595 u32 macid_lo, macid_hi; in ag7xxx_eth_write_hwaddr() local
598 macid_lo = (mac[5] << 16) | (mac[4] << 24); in ag7xxx_eth_write_hwaddr()
600 writel(macid_lo, priv->regs + AG7XXX_ETH_ADDR1); in ag7xxx_eth_write_hwaddr()

Completed in 10 milliseconds