new_mac 565 arch/mips/cavium-octeon/octeon-platform.c u8 new_mac[6]; new_mac 574 arch/mips/cavium-octeon/octeon-platform.c new_mac[0] = (mac >> 40) & 0xff; new_mac 575 arch/mips/cavium-octeon/octeon-platform.c new_mac[1] = (mac >> 32) & 0xff; new_mac 576 arch/mips/cavium-octeon/octeon-platform.c new_mac[2] = (mac >> 24) & 0xff; new_mac 577 arch/mips/cavium-octeon/octeon-platform.c new_mac[3] = (mac >> 16) & 0xff; new_mac 578 arch/mips/cavium-octeon/octeon-platform.c new_mac[4] = (mac >> 8) & 0xff; new_mac 579 arch/mips/cavium-octeon/octeon-platform.c new_mac[5] = mac & 0xff; new_mac 582 arch/mips/cavium-octeon/octeon-platform.c new_mac, sizeof(new_mac)); new_mac 578 drivers/net/ethernet/huawei/hinic/hinic_main.c unsigned char new_mac[ETH_ALEN]; new_mac 582 drivers/net/ethernet/huawei/hinic/hinic_main.c memcpy(new_mac, saddr->sa_data, ETH_ALEN); new_mac 584 drivers/net/ethernet/huawei/hinic/hinic_main.c err = change_mac_addr(netdev, new_mac); new_mac 586 drivers/net/ethernet/huawei/hinic/hinic_main.c memcpy(netdev->dev_addr, new_mac, ETH_ALEN); new_mac 923 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u8 *new_mac = ((u8 *)(&msgbuf[1])); new_mac 925 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!is_valid_ether_addr(new_mac)) { new_mac 931 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c !ether_addr_equal(adapter->vfinfo[vf].vf_mac_addresses, new_mac)) { new_mac 939 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return ixgbe_set_vf_mac(adapter, vf, new_mac) < 0; new_mac 967 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u8 *new_mac = ((u8 *)(&msgbuf[1])); new_mac 982 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!is_valid_ether_addr(new_mac)) { new_mac 999 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c err = ixgbe_set_vf_macvlan(adapter, vf, index, new_mac); new_mac 695 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char *new_mac, unsigned char *prev_mac) new_mac 700 drivers/net/ethernet/mellanox/mlx4/en_netdev.c u64 new_mac_u64 = mlx4_mac_to_u64(new_mac); new_mac 718 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(entry->mac, new_mac, ETH_ALEN); new_mac 720 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mac_hash = new_mac[MLX4_EN_MAC_HASH_IDX]; new_mac 724 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_uc_steer_add(priv, new_mac, new_mac 733 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_tunnel_steer_add(priv, new_mac, qpn, new_mac 745 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char new_mac[ETH_ALEN + 2]) new_mac 753 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_SET_PORT_user_mac(mdev->dev, priv->port, new_mac); new_mac 756 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_mac, priv->port, err); new_mac 760 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char new_mac[ETH_ALEN + 2]) new_mac 767 drivers/net/ethernet/mellanox/mlx4/en_netdev.c new_mac, priv->current_mac); new_mac 774 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(priv->current_mac, new_mac, sizeof(priv->current_mac)); new_mac 784 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned char new_mac[ETH_ALEN + 2]; new_mac 791 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(new_mac, saddr->sa_data, ETH_ALEN); new_mac 792 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_do_set_mac(priv, new_mac); new_mac 797 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_update_user_mac(priv, new_mac); new_mac 474 drivers/net/ethernet/mellanox/mlx4/port.c int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac) new_mac 501 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); new_mac 506 drivers/net/ethernet/mellanox/mlx4/port.c (unsigned long long) new_mac); new_mac 510 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); new_mac 515 drivers/net/ethernet/mellanox/mlx4/port.c (unsigned long long)new_mac); new_mac 944 drivers/net/wireless/marvell/mwifiex/main.c u8 *new_mac) new_mac 952 drivers/net/wireless/marvell/mwifiex/main.c mac_addr = ether_addr_to_u64(new_mac); new_mac 1704 drivers/net/wireless/marvell/mwifiex/main.h bool external, u8 *new_mac); new_mac 1393 include/linux/mlx4/device.h int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac);