Lines Matching refs:mac
233 __weak void mx28_adjust_mac(int dev_id, unsigned char *mac) in mx28_adjust_mac() argument
235 mac[0] = 0x00; in mx28_adjust_mac()
236 mac[1] = 0x04; /* Use FSL vendor MAC address by default */ in mx28_adjust_mac()
239 mac[5] += 1; in mx28_adjust_mac()
245 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
251 memset(mac, 0, 6); in imx_get_mac_from_fuse()
263 mac[2] = (data >> 24) & 0xff; in imx_get_mac_from_fuse()
264 mac[3] = (data >> 16) & 0xff; in imx_get_mac_from_fuse()
265 mac[4] = (data >> 8) & 0xff; in imx_get_mac_from_fuse()
266 mac[5] = data & 0xff; in imx_get_mac_from_fuse()
267 mx28_adjust_mac(dev_id, mac); in imx_get_mac_from_fuse()
270 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
272 memset(mac, 0, 6); in imx_get_mac_from_fuse()