Searched refs:host_mac (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/usb/gadget/function/ |
D | u_ether.c | 82 u8 host_mac[ETH_ALEN]; member 774 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name() 779 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name() 800 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name() 839 eth_random_addr(dev->host_mac); in gether_setup_name_default() 871 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev() 940 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr() 951 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr() 969 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc() 975 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 | 216 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
|
D | rndis.h | 168 const u8 *host_mac; member
|
D | rndis.c | 410 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 420 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 780 params->host_mac = addr; in rndis_set_host_mac()
|
/Linux-v4.19/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1982 u64 host_mac; in fcoe_wwn_from_mac() local 1985 host_mac = ((u64) mac[0] << 40) | in fcoe_wwn_from_mac() 1992 WARN_ON(host_mac >= (1ULL << 48)); in fcoe_wwn_from_mac() 1993 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac()
|