Searched refs:mac_buf (Results 1 – 2 of 2) sorted by relevance
81 unsigned char *mac_buf = dev->dev_addr; in smsc_get_mac() local159 *mac_buf++ = (unsigned char)(data & 0xff); in smsc_get_mac()
8426 static void __devinit bnx2x_set_mac_buf(u8 *mac_buf, u32 mac_lo, u16 mac_hi) in bnx2x_set_mac_buf() argument8430 memcpy(mac_buf, &mac_hi, sizeof(mac_hi)); in bnx2x_set_mac_buf()8431 memcpy(mac_buf + sizeof(mac_hi), &mac_lo, sizeof(mac_lo)); in bnx2x_set_mac_buf()