Home
last modified time | relevance | path

Searched refs:macid_msb (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c18 u32 macid_msb; in davinci_emac_3517_get_macid() local
29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); in davinci_emac_3517_get_macid()
31 mac_addr[0] = (macid_msb >> 16) & 0xff; in davinci_emac_3517_get_macid()
32 mac_addr[1] = (macid_msb >> 8) & 0xff; in davinci_emac_3517_get_macid()
33 mac_addr[2] = macid_msb & 0xff; in davinci_emac_3517_get_macid()
/openbmc/u-boot/drivers/net/ti/
H A Dcpsw-common.c25 u32 macid_msb; in davinci_emac_3517_get_macid() local
47 macid_msb = readl(addr + 4); in davinci_emac_3517_get_macid()
49 mac_addr[0] = (macid_msb >> 16) & 0xff; in davinci_emac_3517_get_macid()
50 mac_addr[1] = (macid_msb >> 8) & 0xff; in davinci_emac_3517_get_macid()
51 mac_addr[2] = macid_msb & 0xff; in davinci_emac_3517_get_macid()