Lines Matching refs:mac
2144 u8 mac[ETH_ALEN]; in qlcnic_83xx_change_l2_filter() local
2145 memcpy(&mac, addr, ETH_ALEN); in qlcnic_83xx_change_l2_filter()
2146 qlcnic_83xx_sre_macaddr_change(adapter, mac, vlan_id, QLCNIC_MAC_ADD); in qlcnic_83xx_change_l2_filter()
2149 static void qlcnic_83xx_configure_mac(struct qlcnic_adapter *adapter, u8 *mac, in qlcnic_83xx_configure_mac() argument
2155 memcpy(&cmd->req.arg[2], mac, sizeof(u32)); in qlcnic_83xx_configure_mac()
2156 memcpy(&cmd->req.arg[3], &mac[4], sizeof(u16)); in qlcnic_83xx_configure_mac()
2162 int qlcnic_83xx_get_mac_address(struct qlcnic_adapter *adapter, u8 *mac, in qlcnic_83xx_get_mac_address() argument
2173 qlcnic_83xx_configure_mac(adapter, mac, QLCNIC_GET_CURRENT_MAC, &cmd); in qlcnic_83xx_get_mac_address()
2181 mac[i] = (u8) (mac_high >> ((1 - i) * 8)); in qlcnic_83xx_get_mac_address()
2183 mac[i] = (u8) (mac_low >> ((5 - i) * 8)); in qlcnic_83xx_get_mac_address()
2530 memcpy(pci_info->mac, &cmd.rsp.arg[i], ETH_ALEN - 2); in qlcnic_83xx_get_pci_info()
2532 memcpy(pci_info->mac + sizeof(u32), &cmd.rsp.arg[i], 2); in qlcnic_83xx_get_pci_info()