/openbmc/linux/arch/mips/alchemy/common/ |
H A D | platform.c | 421 if (!i && !is_valid_ether_addr(au1xxx_eth0_platform_data.mac)) in alchemy_setup_macs() 422 memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); in alchemy_setup_macs() 442 if (!i && !is_valid_ether_addr(au1xxx_eth1_platform_data.mac)) in alchemy_setup_macs() 443 memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); in alchemy_setup_macs()
|
/openbmc/phosphor-networkd/test/ |
H A D | test_ethernet_interface.cpp | 81 constexpr stdplus::EtherAddr mac{0x11, 0x22, 0x33, 0x44, 0x55, 0x66}; in TEST_F() local 89 .mac = mac, in TEST_F() 95 EXPECT_EQ(stdplus::toStr(mac), intf.macAddress()); in TEST_F()
|
/openbmc/linux/arch/mips/include/asm/mach-lantiq/ |
H A D | lantiq_platform.h | 14 struct sockaddr mac; member
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | keystone-k2hk-netcp.dtsi | 191 efuse-mac = <1>; 203 efuse-mac = <0>; 204 local-mac-address = [02 18 31 7e 3e 6f];
|
/openbmc/u-boot/board/siemens/common/ |
H A D | factoryset.c | 201 factory_dat.mac[i] = simple_strtoul((char *)cp1, NULL, 16); in factoryset_read_eeprom() 274 if (is_valid_ethaddr(factory_dat.mac)) { in factoryset_mac_env_set() 275 memcpy(mac_addr, factory_dat.mac, 6); in factoryset_mac_env_set()
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.c | 306 ethtool_cmd_speed_set(&cmd, hw->mac.link_speed); in pch_gbe_phy_init_setting() 307 cmd.duplex = hw->mac.link_duplex; in pch_gbe_phy_init_setting() 309 cmd.autoneg = hw->mac.autoneg; in pch_gbe_phy_init_setting()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_l2.h | 78 unsigned char mac[ETH_ALEN]; member 91 unsigned char mac[QED_MAX_MC_ADDRS][ETH_ALEN]; member 436 u8 qed_mcast_bin_from_mac(u8 *mac);
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.h | 160 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac, 186 int wilc_add_station(struct wilc_vif *vif, const u8 *mac, 190 int wilc_edit_station(struct wilc_vif *vif, const u8 *mac,
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 153 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_need_adjust_link() 167 mac_ctrl_drv = (struct mac_driver *)(mac_cb->priv.mac); in hns_mac_adjust_link() 307 mac_ctrl_drv->set_mac_addr(mac_cb->priv.mac, addr); in hns_mac_change_vf_addr() 547 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start() 564 mac_ctrl_drv->mac_disable(mac_cb->priv.mac, in hns_mac_stop() 677 mac_cb->priv.mac = (void *)drv; in hns_mac_init_ex() 689 drv->mac_free(mac_cb->priv.mac); in hns_mac_init_ex() 690 mac_cb->priv.mac = NULL; in hns_mac_init_ex() 1071 mac_ctrl_drv->mac_enable(mac_cb->priv.mac, mode); in hns_mac_enable() 1078 mac_ctrl_drv->mac_disable(mac_cb->priv.mac, mode); in hns_mac_disable()
|
/openbmc/linux/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_arpreply.h | 8 unsigned char mac[ETH_ALEN]; member
|
H A D | ebt_nat.h | 9 unsigned char mac[ETH_ALEN]; member
|
/openbmc/u-boot/arch/arm/mach-snapdragon/include/mach/ |
H A D | misc.h | 11 void msm_generate_mac_addr(u8 *mac);
|
/openbmc/linux/arch/mips/include/asm/sgi/ |
H A D | seeq.h | 18 unsigned char mac[ETH_ALEN]; member
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtcoutsrc.c | 49 struct rtl_mac *mac = rtl_mac(rtlpriv); in is_any_client_connect_to_ap() local 52 if (mac->opmode == NL80211_IFTYPE_ADHOC || in is_any_client_connect_to_ap() 54 mac->opmode == NL80211_IFTYPE_AP) { in is_any_client_connect_to_ap() 66 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_legacy() local 70 if ((mac->mode == WIRELESS_MODE_B) || (mac->mode == WIRELESS_MODE_G)) in halbtc_legacy() 477 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_get_wifi_link_status() local 482 mac->link_state >= MAC80211_LINKED) { in halbtc_get_wifi_link_status() 508 struct rtl_mac *mac = rtl_mac(rtlpriv); in halbtc_get() local 547 if (mac->act_scanning) in halbtc_get() 553 if (mac->link_state == MAC80211_LINKING) in halbtc_get() [all …]
|
/openbmc/linux/include/linux/ |
H A D | fec.h | 18 unsigned char mac[ETH_ALEN]; member
|
/openbmc/u-boot/cmd/ |
H A D | mac.c | 13 mac, 3, 1, do_mac,
|
/openbmc/linux/net/llc/ |
H A D | llc_conn.c | 465 ether_addr_equal(llc->laddr.mac, laddr->mac) && in llc_estab_match() 466 ether_addr_equal(llc->daddr.mac, daddr->mac); in llc_estab_match() 542 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_listener_match() 786 llc_pdu_decode_sa(skb, saddr.mac); in llc_conn_handler() 788 llc_pdu_decode_da(skb, daddr.mac); in llc_conn_handler()
|
/openbmc/linux/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_nvram.h | 32 int bcm63xx_nvram_get_mac_address(u8 *mac);
|
/openbmc/u-boot/board/kosagi/novena/ |
H A D | novena.c | 231 uint8_t mac[6]; member 267 eth_env_set_enetaddr("ethaddr", data.mac); in misc_init_r()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_vlan_aware.sh | 115 local mac=de:ad:be:ef:13:37 134 $MZ $h2 -c 1 -p 64 -a $mac -t ip -q
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_ctrl_net.h | 119 struct octep_ctrl_net_h2f_req_cmd_mac mac; member 169 struct octep_ctrl_net_h2f_resp_cmd_mac mac; member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_sriov.h | 31 int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); 81 int __always_unused vf_id, u8 __always_unused *mac) in ice_set_vf_mac() argument
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | qca,ath9k.yaml | 59 - const: mac-address 88 nvmem-cell-names = "mac-address", "calibration";
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_vlan_aware.sh | 115 local mac=de:ad:be:ef:13:37 134 $MZ $h2 -c 1 -p 64 -a $mac -t ip -q
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.c | 401 static u64 rvu_exact_prepare_mdata(u8 *mac, u16 chan, u16 ctype, u64 mask) in rvu_exact_prepare_mdata() argument 403 u64 ldata = ether_addr_to_u64(mac); in rvu_exact_prepare_mdata() 442 ldata = rvu_exact_prepare_mdata(mac, chan, ctype, mask); in rvu_exact_calculate_hash() 837 ether_addr_copy(entry->mac, mac_addr); in rvu_npc_exact_add_to_list() 1293 __func__, seq_id, entry->mac); in rvu_npc_exact_del_table_entry_by_id() 1339 mdata = rvu_exact_prepare_table_entry(rvu, true, ctype, chan, mac); in rvu_npc_exact_add_table_entry() 1348 mac, chan, ctype, seq_id, cmd, mcam_idx, pcifunc); in rvu_npc_exact_add_table_entry() 1376 __func__, index, mac, ways, opc_type); in rvu_npc_exact_add_table_entry() 1441 ether_addr_copy(entry->mac, new_mac); in rvu_npc_exact_update_table_entry() 1446 __func__, entry->index, entry->mac, entry->ways, entry->opc_type); in rvu_npc_exact_update_table_entry() [all …]
|