Lines Matching refs:mac_addr
15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() argument
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()
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()
42 u8 *mac_addr) in cpsw_am33xx_cm_get_macid() argument
58 mac_addr[5] = (macid_lo >> 8) & 0xff; in cpsw_am33xx_cm_get_macid()
59 mac_addr[4] = macid_lo & 0xff; in cpsw_am33xx_cm_get_macid()
60 mac_addr[3] = (macid_hi >> 24) & 0xff; in cpsw_am33xx_cm_get_macid()
61 mac_addr[2] = (macid_hi >> 16) & 0xff; in cpsw_am33xx_cm_get_macid()
62 mac_addr[1] = (macid_hi >> 8) & 0xff; in cpsw_am33xx_cm_get_macid()
63 mac_addr[0] = macid_hi & 0xff; in cpsw_am33xx_cm_get_macid()
68 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) in ti_cm_get_macid() argument
71 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr); in ti_cm_get_macid()
74 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr); in ti_cm_get_macid()
77 return davinci_emac_3517_get_macid(dev, 0x110, slave, mac_addr); in ti_cm_get_macid()
80 return cpsw_am33xx_cm_get_macid(dev, 0x30, slave, mac_addr); in ti_cm_get_macid()
83 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr); in ti_cm_get_macid()
86 return davinci_emac_3517_get_macid(dev, 0x514, slave, mac_addr); in ti_cm_get_macid()