Lines Matching refs:mac
50 vmxnet3_write_mac_addr(struct vmxnet3_adapter *adapter, const u8 *mac);
3135 vmxnet3_write_mac_addr(struct vmxnet3_adapter *adapter, const u8 *mac) in vmxnet3_write_mac_addr() argument
3139 tmp = *(u32 *)mac; in vmxnet3_write_mac_addr()
3142 tmp = (mac[5] << 8) | mac[4]; in vmxnet3_write_mac_addr()
3579 vmxnet3_read_mac_addr(struct vmxnet3_adapter *adapter, u8 *mac) in vmxnet3_read_mac_addr() argument
3584 *(u32 *)mac = tmp; in vmxnet3_read_mac_addr()
3587 mac[4] = tmp & 0xff; in vmxnet3_read_mac_addr()
3588 mac[5] = (tmp >> 8) & 0xff; in vmxnet3_read_mac_addr()
3792 u8 mac[ETH_ALEN]; in vmxnet3_probe_device() local
4064 vmxnet3_read_mac_addr(adapter, mac); in vmxnet3_probe_device()
4065 dev_addr_set(netdev, mac); in vmxnet3_probe_device()