Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/gadget/function/
Du_ether.c80 u8 host_mac[ETH_ALEN]; member
792 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
797 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
814 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name()
853 eth_random_addr(dev->host_mac); in gether_setup_name_default()
881 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
943 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
953 return get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
965 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
971 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) in gether_get_host_addr_u8()
[all …]
Du_ether.h222 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
Drndis.h188 const u8 *host_mac; member
Drndis.c415 rndis_per_dev_params[configNr].host_mac, in gen_ndis_query_resp()
427 rndis_per_dev_params [configNr].host_mac, in gen_ndis_query_resp()
792 rndis_per_dev_params[configNr].host_mac = addr; in rndis_set_host_mac()
/linux-4.1.27/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()