Home
last modified time | relevance | path

Searched full:ethaddr (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.1/arch/mips/alchemy/common/
Dprom.c132 ethaddr_str = prom_getenv("ethaddr"); in prom_get_ethernet_addr()
135 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()
139 ethaddr_str += strlen("ethaddr="); in prom_get_ethernet_addr()
Dplatform.c399 unsigned char ethaddr[6]; in alchemy_setup_macs() local
414 i = prom_get_ethernet_addr(ethaddr); in alchemy_setup_macs()
416 memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); in alchemy_setup_macs()
435 ethaddr[5] += 1; /* next addr for 2nd MAC */ in alchemy_setup_macs()
437 memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); in alchemy_setup_macs()
/Linux-v6.1/Documentation/devicetree/bindings/nvmem/
Du-boot,env.yaml49 ethaddr:
72 mac: ethaddr {
/Linux-v6.1/drivers/usb/gadget/function/
Du_ether.h92 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname);
97 * @ethaddr: NULL, or a buffer in which the ethernet address of the
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
715 ecm_string_defs[1].s = ecm->ethaddr; in ecm_bind()
938 status = gether_get_host_addr_cdc(opts->net, ecm->ethaddr, in ecm_alloc()
939 sizeof(ecm->ethaddr)); in ecm_alloc()
Du_ether.c739 * @ethaddr: NULL, or a buffer in which the ethernet address of the
752 u8 ethaddr[ETH_ALEN], unsigned qmult, const char *netname) in gether_setup_name()
789 if (ethaddr) in gether_setup_name()
790 memcpy(ethaddr, dev->host_mac, ETH_ALEN); in gether_setup_name()
Df_rndis.c72 u8 ethaddr[ETH_ALEN]; member
800 rndis_set_host_mac(rndis->params, rndis->ethaddr); in rndis_bind()
997 gether_get_host_addr_u8(opts->net, rndis->ethaddr); in rndis_alloc()
Df_ncm.c51 char ethaddr[14]; member
1704 status = gether_get_host_addr_cdc(opts->net, ncm->ethaddr, in ncm_alloc()
1705 sizeof(ncm->ethaddr)); in ncm_alloc()
1711 ncm_string_defs[STRING_MAC_IDX].s = ncm->ethaddr; in ncm_alloc()
/Linux-v6.1/drivers/net/ethernet/microchip/
Dencx24j600.c707 unsigned char *ethaddr) in encx24j600_hw_get_macaddr() argument
713 ethaddr[0] = val & 0x00ff; in encx24j600_hw_get_macaddr()
714 ethaddr[1] = (val & 0xff00) >> 8; in encx24j600_hw_get_macaddr()
718 ethaddr[2] = val & 0x00ffU; in encx24j600_hw_get_macaddr()
719 ethaddr[3] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr()
723 ethaddr[4] = val & 0x00ffU; in encx24j600_hw_get_macaddr()
724 ethaddr[5] = (val & 0xff00U) >> 8; in encx24j600_hw_get_macaddr()
/Linux-v6.1/net/caif/
Dcaif_usb.c84 static struct cflayer *cfusbl_create(int phyid, const u8 ethaddr[ETH_ALEN], in cfusbl_create()
108 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh256 ethaddr=$(ip netns exec "${ns2}" ip link show veth2 | \
258 ip netns exec "${ns2}" ip link set testtun0 address $ethaddr
/Linux-v6.1/drivers/net/ethernet/atheros/atlx/
Datl2.c2178 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local
2215 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2216 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2218 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2219 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2251 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2252 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()
2253 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2254 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2260 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
[all …]
/Linux-v6.1/drivers/net/hamradio/
Dbpqether.c320 struct bpq_ethaddr __user *ethaddr = data; in bpq_siocdevprivate() local
341 if (copy_from_user(bpq->dest_addr, ethaddr->destination, ETH_ALEN)) in bpq_siocdevprivate()
343 if (copy_from_user(bpq->acpt_addr, ethaddr->accept, ETH_ALEN)) in bpq_siocdevprivate()
/Linux-v6.1/arch/mips/include/asm/txx9/
Dgeneric.h49 void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr);
/Linux-v6.1/arch/arm/boot/dts/
Dsocfpga_arria5_socdk.dts24 /* this allow the ethaddr uboot environmnet variable contents
Dsocfpga_cyclone5_socdk.dts24 /* this allow the ethaddr uboot environmnet variable contents
Dsocfpga_cyclone5_sockit.dts24 /* this allow the ethaddr uboot environmnet variable contents
Dsocfpga_cyclone5_vining_fpga.dts27 * This allow the ethaddr uboot environment variable contents
/Linux-v6.1/arch/mips/txx9/generic/
Dsetup.c361 void __init txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr) in txx9_ethaddr_init() argument
366 platform_device_add_data(pdev, ethaddr, 6) || in txx9_ethaddr_init()
/Linux-v6.1/drivers/net/usb/
Drndis_host.c417 dev_err(&intf->dev, "rndis get ethaddr, %d\n", retval); in generic_rndis_bind()
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c2483 u8 *ethaddr = wlc_hw->wlc->pub->cur_etheraddr; in brcms_b_mute() local
2502 brcms_b_set_addrmatch(wlc_hw, RCM_MAC_OFFSET, ethaddr); in brcms_b_mute()