Searched refs:host_mac (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/usb/gadget/function/ |
D | u_ether.c | 85 u8 host_mac[ETH_ALEN]; member 797 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name() 802 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name() 819 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name() 858 eth_random_addr(dev->host_mac); in gether_setup_name_default() 886 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev() 948 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr() 958 return get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr() 970 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc() 976 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]) in gether_get_host_addr_u8() [all …]
|
D | u_ether.h | 220 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
|
D | rndis.h | 188 const u8 *host_mac; member
|
D | rndis.c | 414 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 424 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 779 params->host_mac = addr; in rndis_set_host_mac()
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1941 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()
|