Searched refs:macid_lo (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/net/ |
D | cpsw-common.c | 64 u32 macid_lo; in cpsw_am33xx_cm_get_macid() local 86 macid_lo = readl(addr); in cpsw_am33xx_cm_get_macid() 89 mac_addr[5] = (macid_lo >> 8) & 0xff; in cpsw_am33xx_cm_get_macid() 90 mac_addr[4] = macid_lo & 0xff; in cpsw_am33xx_cm_get_macid()
|
D | pch_gbe.c | 27 u32 macid_hi, macid_lo; in pch_gbe_mac_read() local 30 macid_lo = readl(&mac_regs->mac_adr[0].low) & 0xffff; 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() 37 addr[4] = (u8)(macid_lo & 0xff); in pch_gbe_mac_read() 38 addr[5] = (u8)((macid_lo >> 8) & 0xff); in pch_gbe_mac_read() 43 u32 macid_hi, macid_lo; in pch_gbe_mac_write() local 47 macid_lo = addr[4] + (addr[5] << 8); in pch_gbe_mac_write() 50 writel(macid_lo, &mac_regs->mac_adr[0].low); in pch_gbe_mac_write()
|
D | designware.c | 221 u32 macid_lo, macid_hi; in _dw_write_hwaddr() local 223 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _dw_write_hwaddr() 228 writel(macid_lo, &mac_p->macaddr0lo); in _dw_write_hwaddr()
|
D | sun8i_emac.c | 216 u32 macid_lo, macid_hi; in _sun8i_write_hwaddr() local 218 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _sun8i_write_hwaddr() 223 writel(macid_lo, priv->mac_reg + EMAC_ADDR0_LOW); in _sun8i_write_hwaddr()
|
D | ag7xxx.c | 529 u32 macid_lo, macid_hi; in ag7xxx_eth_write_hwaddr() local 532 macid_lo = (mac[5] << 16) | (mac[4] << 24); in ag7xxx_eth_write_hwaddr() 534 writel(macid_lo, priv->regs + AG7XXX_ETH_ADDR1); in ag7xxx_eth_write_hwaddr()
|