Home
last modified time | relevance | path

Searched refs:host_mac (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/gadget/function/
H A Du_ether.c87 u8 host_mac[ETH_ALEN]; member
775 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
780 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
801 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name()
843 eth_random_addr(dev->host_mac); in gether_setup_name_default()
876 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
960 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
971 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
989 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
997 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) in gether_get_host_addr_u8()
[all …]
H A Du_ether.h243 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
H A Drndis.h168 const u8 *host_mac; member
H A Drndis.c410 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp()
420 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp()
784 params->host_mac = addr; in rndis_set_host_mac()
/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c1967 u64 host_mac; in fcoe_wwn_from_mac() local
1970 host_mac = ((u64) mac[0] << 40) | in fcoe_wwn_from_mac()
1977 WARN_ON(host_mac >= (1ULL << 48)); in fcoe_wwn_from_mac()
1978 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c855 u8 host_mac[ETH_ALEN]; in hclgevf_get_host_mac_addr() local
859 status = hclgevf_send_mbx_msg(hdev, &send_msg, true, host_mac, in hclgevf_get_host_mac_addr()
867 ether_addr_copy(p, host_mac); in hclgevf_get_host_mac_addr()