/openbmc/phosphor-misc/usb-ctrl/ |
H A D | usb-ctrl | 42 local host_mac="$5" 44 usb_insert "${name}" "${type}" "${bmc_mac}" "${host_mac}" 153 local host_mac="$4" 208 if [[ -n "${host_mac}" ]]; then 209 echo "${host_mac}" > "${gadget_function}/host_addr"
|
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/ |
H A D | usb-network.sh | 43 host_mac="$(set_local_administered_bit $host_mac_path)" 45 echo "$host_mac" > $host_mac_path
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_ether.c | 86 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_ALEN]) in gether_get_host_addr_u8() [all …]
|
H A D | u_ether.h | 217 void gether_get_host_addr_u8(struct net_device *net, u8 host_mac[ETH_ALEN]);
|
H A D | rndis.h | 168 const u8 *host_mac; member
|
H A 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() 784 params->host_mac = addr; in rndis_set_host_mac()
|
/openbmc/openbmc/meta-google/recipes-google/networking/google-usb-network/ |
H A D | usb_network_test.sh | 70 local host_mac="ab:cd:ef:10:11:12" 75 --host-mac "${host_mac}" \ 93 check_file_content "${FAKE_GADGETFS}/${gadget_dir}/functions/eem.usb0/host_addr" "${host_mac}"
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ether.c | 129 u8 host_mac[ETH_ALEN]; member 2229 get_ether_addr(host_addr, dev->host_mac); in eth_bind() 2232 dev->host_mac[0], dev->host_mac[1], in eth_bind() 2233 dev->host_mac[2], dev->host_mac[3], in eth_bind() 2234 dev->host_mac[4], dev->host_mac[5]); in eth_bind() 2296 dev->host_mac[0], dev->host_mac[1], in eth_bind() 2297 dev->host_mac[2], dev->host_mac[3], in eth_bind() 2298 dev->host_mac[4], dev->host_mac[5]); in eth_bind() 2315 rndis_set_host_mac(dev->rndis_config, dev->host_mac); in eth_bind()
|
H A D | rndis.h | 222 const u8 *host_mac; member
|
H A D | rndis.c | 514 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 524 memcpy(outbuf, params->host_mac, length); in gen_ndis_query_resp() 1011 rndis_per_dev_params[configNr].host_mac = addr; in rndis_set_host_mac()
|
/openbmc/qemu/include/hw/hyperv/ |
H A D | hyperv-proto.h | 151 uint8_t host_mac[6]; member
|
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv.c | 775 memset(&reset_dbg_session->host_mac, 0, in hyperv_hcall_reset_dbg_session() 776 sizeof(reset_dbg_session->host_mac)); in hyperv_hcall_reset_dbg_session()
|
/openbmc/linux/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 1968 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()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 820 u8 host_mac[ETH_ALEN]; in hclgevf_get_host_mac_addr() local 824 status = hclgevf_send_mbx_msg(hdev, &send_msg, true, host_mac, in hclgevf_get_host_mac_addr() 832 ether_addr_copy(p, host_mac); in hclgevf_get_host_mac_addr()
|