Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Du_ether.c95 u8 host_mac[ETH_ALEN]; member
952 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
957 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
974 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name()
1014 eth_random_addr(dev->host_mac); in gether_setup_name_default()
1042 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
1104 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
1114 return get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
1126 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
1132 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) in gether_get_host_addr_u8()
[all …]
Du_ether.h223 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
Drndis.h188 const u8 *host_mac; member
Drndis.c424 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp()
434 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp()
795 params->host_mac = addr; in rndis_set_host_mac()
/drivers/scsi/fcoe/
Dfcoe_ctlr.c1941 u64 host_mac; in fcoe_wwn_from_mac() local
1944 host_mac = ((u64) mac[0] << 40) | in fcoe_wwn_from_mac()
1951 WARN_ON(host_mac >= (1ULL << 48)); in fcoe_wwn_from_mac()
1952 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac()