Lines Matching refs:mac
223 __weak void mx28_adjust_mac(int dev_id, unsigned char *mac) in mx28_adjust_mac() argument
225 mac[0] = 0x00; in mx28_adjust_mac()
226 mac[1] = 0x04; /* Use FSL vendor MAC address by default */ in mx28_adjust_mac()
229 mac[5] += 1; in mx28_adjust_mac()
235 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
241 memset(mac, 0, 6); in imx_get_mac_from_fuse()
253 mac[2] = (data >> 24) & 0xff; in imx_get_mac_from_fuse()
254 mac[3] = (data >> 16) & 0xff; in imx_get_mac_from_fuse()
255 mac[4] = (data >> 8) & 0xff; in imx_get_mac_from_fuse()
256 mac[5] = data & 0xff; in imx_get_mac_from_fuse()
257 mx28_adjust_mac(dev_id, mac); in imx_get_mac_from_fuse()
260 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
262 memset(mac, 0, 6); in imx_get_mac_from_fuse()