Searched refs:macid_msb (Results 1 – 2 of 2) sorted by relevance
18 u32 macid_msb; in davinci_emac_3517_get_macid() local29 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()
25 u32 macid_msb; in davinci_emac_3517_get_macid() local47 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()