Home
last modified time | relevance | path

Searched refs:host_mac (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Du_ether.c84 u8 host_mac[ETH_ALEN]; member
783 if (get_ether_addr(host_addr, dev->host_mac)) in gether_setup_name()
788 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
809 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_setup_name()
851 eth_random_addr(dev->host_mac); in gether_setup_name_default()
885 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
947 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
958 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
976 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
984 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALE argument
[all...]
H A Du_ether.h211 * @host_mac: place to store the eth address of the host
216 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()
813 params->host_mac = addr; in rndis_set_host_mac()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Du_ether.c86 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()
842 eth_random_addr(dev->host_mac); in gether_setup_name_default()
875 INFO(dev, "HOST MAC %pM\n", dev->host_mac); in gether_register_netdev()
937 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
948 ret = get_ether_addr_str(dev->host_mac, host_addr, len); in gether_get_host_addr()
966 snprintf(host_addr, len, "%pm", dev->host_mac); in gether_get_host_addr_cdc()
974 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALE argument
[all...]
H A Du_ether.h212 * @host_mac: place to store the eth address of the host
217 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()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c1976 u64 host_mac; in fcoe_wwn_from_mac() local
1979 host_mac = ((u64) mac[0] << 40) | in fcoe_wwn_from_mac()
1986 WARN_ON(host_mac >= (1ULL << 48)); in fcoe_wwn_from_mac()
1987 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac()
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c1968 u64 host_mac; in fcoe_wwn_from_mac() local
1971 host_mac = ((u64) mac[0] << 40) | in fcoe_wwn_from_mac()
1978 WARN_ON(host_mac >= (1ULL << 48)); in fcoe_wwn_from_mac()
1979 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c1242 u8 host_mac[ETH_ALEN]; in hclgevf_get_host_mac_addr() local
1246 status = hclgevf_send_mbx_msg(hdev, &send_msg, true, host_mac, in hclgevf_get_host_mac_addr()
1254 ether_addr_copy(p, host_mac); in hclgevf_get_host_mac_addr()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c819 u8 host_mac[ETH_ALEN]; in hclgevf_get_host_mac_addr() local
823 status = hclgevf_send_mbx_msg(hdev, &send_msg, true, host_mac, in hclgevf_get_host_mac_addr()
831 ether_addr_copy(p, host_mac); in hclgevf_get_host_mac_addr()

Completed in 25 milliseconds