Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c17 u32 macid_lsb; in davinci_emac_3517_get_macid() local
28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); in davinci_emac_3517_get_macid()
34 mac_addr[3] = (macid_lsb >> 16) & 0xff; in davinci_emac_3517_get_macid()
35 mac_addr[4] = (macid_lsb >> 8) & 0xff; in davinci_emac_3517_get_macid()
36 mac_addr[5] = macid_lsb & 0xff; in davinci_emac_3517_get_macid()
/openbmc/u-boot/drivers/net/ti/
H A Dcpsw-common.c24 u32 macid_lsb; in davinci_emac_3517_get_macid() local
46 macid_lsb = readl(addr); in davinci_emac_3517_get_macid()
52 mac_addr[3] = (macid_lsb >> 16) & 0xff; in davinci_emac_3517_get_macid()
53 mac_addr[4] = (macid_lsb >> 8) & 0xff; in davinci_emac_3517_get_macid()
54 mac_addr[5] = macid_lsb & 0xff; in davinci_emac_3517_get_macid()