Home
last modified time | relevance | path

Searched refs:ethaddr (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/gadget/function/
Du_ether.h92 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname);
109 u8 ethaddr[ETH_ALEN], unsigned qmult) in gether_setup()
111 return gether_setup_name(g, dev_addr, host_addr, ethaddr, qmult, "usb"); in gether_setup()
Df_subset.c52 char ethaddr[14]; member
481 status = gether_get_host_addr_cdc(opts->net, geth->ethaddr, in geth_alloc()
482 sizeof(geth->ethaddr)); in geth_alloc()
488 geth_string_defs[1].s = geth->ethaddr; in geth_alloc()
Df_ecm.c50 char ethaddr[14]; member
712 ecm_string_defs[1].s = ecm->ethaddr; in ecm_bind()
930 status = gether_get_host_addr_cdc(opts->net, ecm->ethaddr, in ecm_alloc()
931 sizeof(ecm->ethaddr)); in ecm_alloc()
Df_rndis.c72 u8 ethaddr[ETH_ALEN]; member
798 rndis_set_host_mac(rndis->params, rndis->ethaddr); in rndis_bind()
995 gether_get_host_addr_u8(opts->net, rndis->ethaddr); in rndis_alloc()
Df_ncm.c51 char ethaddr[14]; member
1672 status = gether_get_host_addr_cdc(opts->net, ncm->ethaddr, in ncm_alloc()
1673 sizeof(ncm->ethaddr)); in ncm_alloc()
1679 ncm_string_defs[STRING_MAC_IDX].s = ncm->ethaddr; in ncm_alloc()
Du_ether.c749 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname) in gether_setup_name()
780 if (ethaddr) in gether_setup_name()
781 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
/drivers/net/hamradio/
Dbpqether.c297 struct bpq_ethaddr __user *ethaddr = ifr->ifr_data; in bpq_ioctl() local
318 if (copy_from_user(bpq->dest_addr, ethaddr->destination, ETH_ALEN)) in bpq_ioctl()
320 if (copy_from_user(bpq->acpt_addr, ethaddr->accept, ETH_ALEN)) in bpq_ioctl()
/drivers/net/ethernet/microchip/
Dencx24j600.c711 unsigned char *ethaddr) in encx24j600_hw_get_macaddr() argument
717 ethaddr[0] = val & 0x00ff; in encx24j600_hw_get_macaddr()
718 ethaddr[1] = (val & 0xff00) >> 8; in encx24j600_hw_get_macaddr()
722 ethaddr[2] = val & 0x00ffU; in encx24j600_hw_get_macaddr()
723 ethaddr[3] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr()
727 ethaddr[4] = val & 0x00ffU; in encx24j600_hw_get_macaddr()
728 ethaddr[5] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c2498 u8 *ethaddr = wlc_hw->wlc->pub->cur_etheraddr; in brcms_b_mute() local
2517 brcms_b_set_addrmatch(wlc_hw, RCM_MAC_OFFSET, ethaddr); in brcms_b_mute()