/openbmc/u-boot/board/phytec/phycore_rk3288/ |
H A D | phycore-rk3288.c | 66 if (is_valid_ethaddr(opt.mac)) in rk_board_late_init() 67 eth_env_set_enetaddr("ethaddr", opt.mac); in rk_board_late_init()
|
/openbmc/u-boot/drivers/net/ |
H A D | fsl_mcdmafec.c | 309 static void fec_set_hwaddr(volatile fecdma_t * fecp, u8 * mac) in fec_set_hwaddr() argument 317 currByte = mac[byte]; in fec_set_hwaddr() 341 fecp->palr = (mac[0] << 24) + (mac[1] << 16) + (mac[2] << 8) + mac[3]; in fec_set_hwaddr() 342 fecp->paur = (mac[4] << 24) + (mac[5] << 16) + 0x8808; in fec_set_hwaddr()
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus_crypt.c | 77 uint8_t mac[20]; in lanplus_rakp2_hmac_matches() local 186 mac, in lanplus_rakp2_hmac_matches() 195 printbuf(mac, macLength, ">> rakp2 mac as computed by the remote console"); in lanplus_rakp2_hmac_matches() 198 return (memcmp(bmc_mac, mac, macLength) == 0); in lanplus_rakp2_hmac_matches() 231 uint8_t mac[20]; in lanplus_rakp4_hmac_matches() local 311 mac, in lanplus_rakp4_hmac_matches() 317 printbuf(mac, macLength, ">> rakp4 mac as computed by the remote console"); in lanplus_rakp4_hmac_matches() 325 return (memcmp(bmc_mac, mac, 12) == 0); in lanplus_rakp4_hmac_matches()
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | wifi.h | 743 #define IP_MCAST_MAC(mac) ((mac[0] == 0x01) && (mac[1] == 0x00) && (mac[2] == 0x5e)) argument 744 #define ICMPV6_MCAST_MAC(mac) ((mac[0] == 0x33) && (mac[1] == 0x33) && (mac[2] != 0xff)) argument
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_port_isolation.sh | 130 local mac=de:ad:be:ef:13:37 134 flood_test_do false $mac $ip $h1 $h2 138 flood_test_do true $mac $ip $h3 $h2
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | microchip,lan95xx.yaml | 45 local-mac-address: true 46 mac-address: true 63 local-mac-address = [00 00 00 00 00 00];
|
H A D | asix,ax88796c.yaml | 44 local-mac-address: true 45 mac-address: true 68 local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
|
H A D | snps,dwmac.yaml | 62 - ingenic,jz4775-mac 63 - ingenic,x1000-mac 64 - ingenic,x1600-mac 65 - ingenic,x1830-mac 66 - ingenic,x2000-mac 155 mac-mode: 587 - ingenic,x1000-mac 588 - ingenic,x1600-mac 589 - ingenic,x1830-mac 590 - ingenic,x2000-mac [all …]
|
H A D | hisilicon-femac.txt | 15 - reset-names: should contain the reset signal name "mac"(required) 36 reset-names = "mac","phy"; 37 mac-address = [00 00 00 00 00 00];
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/ |
H A D | static-mac-addr.bb | 13 file://mac-check \ 23 install -m 0755 ${UNPACKDIR}/mac-check ${D}${bindir}
|
/openbmc/linux/lib/crypto/ |
H A D | poly1305-donna32.c | 123 u8 *mac = dst; in poly1305_core_emit() local 200 put_unaligned_le32(h0, &mac[0]); in poly1305_core_emit() 201 put_unaligned_le32(h1, &mac[4]); in poly1305_core_emit() 202 put_unaligned_le32(h2, &mac[8]); in poly1305_core_emit() 203 put_unaligned_le32(h3, &mac[12]); in poly1305_core_emit()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 2862 switch (hw->mac.type) { in e1000_init_manageability_pt() 3510 switch (hw->mac.type) { in e1000e_get_base_timinca() 3955 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000e_reset() local 4023 switch (hw->mac.type) { in e1000e_reset() 4111 mac->ops.reset_hw(hw); in e1000e_reset() 4783 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, 0); in e1000_set_mac() 4796 hw->mac.ops.rar_set(&adapter->hw, adapter->hw.mac.addr, in e1000_set_mac() 5187 struct e1000_mac_info *mac = &adapter->hw.mac; in e1000_watchdog_task() local 5396 hw->mac.ops.rar_set(hw, adapter->hw.mac.addr, 0); in e1000_watchdog_task() 7424 adapter->hw.mac.type = ei->mac; in e1000_probe() [all …]
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | gelic_udbg.c | 120 u64 mac; in gelic_debug_init() local 138 &mac, &v2); in gelic_debug_init() 142 mac <<= 16; in gelic_debug_init() 147 memcpy(&h_eth->h_source, &mac, ETH_ALEN); in gelic_debug_init()
|
/openbmc/linux/arch/m68k/emu/ |
H A D | nfeth.c | 189 char mac[ETH_ALEN], host_ip[32], local_ip[32]; in nfeth_probe() local 192 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 203 eth_hw_addr_set(dev, mac); in nfeth_probe() 220 local_ip, mac); in nfeth_probe()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/network/first-boot-set-mac/ |
H A D | first-boot-set-mac@.service | 3 ConditionPathExists=!/var/lib/first-boot-set-mac/%i 12 ExecStart=/usr/bin/first-boot-set-mac.sh %i
|
/openbmc/linux/arch/mips/sgi-ip32/ |
H A D | ip32-setup.c | 82 char *mac = ArcGetEnvironmentVariable("eaddr"); in plat_mem_setup() local 83 str2eaddr(o2meth_eaddr, mac); in plat_mem_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 1678 const char *mac, u16 fid, in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write() argument 1706 const char *mac, u16 fid, in mlxsw_sp_port_fdb_tun_uc_op6_add() argument 1739 const char *mac, u16 fid, in mlxsw_sp_port_fdb_tun_uc_op6_del() argument 1760 const char *mac, u16 fid, in mlxsw_sp_port_fdb_tunnel_uc_op() argument 2998 const char *mac, in mlxsw_sp_fdb_vxlan_call_notifiers() argument 3020 const char *mac, in mlxsw_sp_fdb_nve_call_notifiers() argument 3033 const char *mac, u16 vid, in mlxsw_sp_fdb_call_notifiers() argument 3038 info.addr = mac; in mlxsw_sp_fdb_call_notifiers() 3055 char mac[ETH_ALEN]; in mlxsw_sp_fdb_notify_mac_process() local 3122 char mac[ETH_ALEN]; in mlxsw_sp_fdb_notify_mac_lag_process() local [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | net_kern.c | 369 static void eth_configure(int n, void *init, char *mac, in eth_configure() argument 402 uml_net_setup_etheraddr(dev, mac); in eth_configure() 437 .mac = { 0xfe, 0xfd, 0x0, 0x0, 0x0, 0x0}, in eth_configure() 449 memcpy(lp->mac, dev->dev_addr, sizeof(lp->mac)); in eth_configure() 578 char *mac = NULL; in register_transport() local 589 &mac, GFP_KERNEL); in register_transport() 593 eth_configure(eth->index, init, mac, new, GFP_KERNEL); in register_transport() 605 char *mac = NULL; in eth_setup_common() local 612 &mac, GFP_ATOMIC)) in eth_setup_common() 615 eth_configure(index, init, mac, transport, GFP_ATOMIC); in eth_setup_common()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.h | 101 static inline unsigned int vnet_hashfn(u8 *mac) in vnet_hashfn() argument 103 unsigned int val = mac[4] ^ mac[5]; in vnet_hashfn()
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap.h | 63 int ap_control_add_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 64 int ap_control_del_mac(struct mac_restrictions *mac_restrictions, u8 *mac); 66 int ap_control_kick_mac(struct ap_data *ap, struct net_device *dev, u8 *mac);
|
/openbmc/phosphor-networkd/ |
H A D | meson.build | 22 conf_data.set('SYNC_MAC_FROM_INVENTORY', get_option('sync-mac')) 23 conf_data.set('PERSIST_MAC', get_option('persist-mac')) 24 conf_data.set10('FORCE_SYNC_MAC_FROM_INVENTORY', get_option('force-sync-mac'))
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 433 if (!mac->ht_enable) in rtl8723be_set_hw_reg() 480 mac->min_space_cfg = ((mac->min_space_cfg & 0xf8) | in rtl8723be_set_hw_reg() 487 mac->min_space_cfg); in rtl8723be_set_hw_reg() 490 mac->min_space_cfg); in rtl8723be_set_hw_reg() 502 mac->min_space_cfg); in rtl8723be_set_hw_reg() 505 mac->min_space_cfg); in rtl8723be_set_hw_reg() 681 (u2btmp | mac->assoc_id)); in rtl8723be_set_hw_reg() 693 (u32) (mac->tsf & 0xffffffff)); in rtl8723be_set_hw_reg() 1656 mac->link_state = MAC80211_NOLINK; in rtl8723be_card_disable() 2337 curtxbw_40mhz = mac->bw_40; in rtl8723be_update_hal_rate_mask() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | trx.c | 222 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in translate_rx_signal_stuff() local 239 (ether_addr_equal(mac->bssid, (fc & IEEE80211_FCTL_TODS) ? in translate_rx_signal_stuff() 349 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8723e_tx_fill_desc() local 374 if (mac->opmode == NL80211_IFTYPE_STATION) { in rtl8723e_tx_fill_desc() 375 bw_40 = mac->bw_40; in rtl8723e_tx_fill_desc() 376 } else if (mac->opmode == NL80211_IFTYPE_AP || in rtl8723e_tx_fill_desc() 377 mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl8723e_tx_fill_desc() 434 mac->cur_40_prime_sc); in rtl8723e_tx_fill_desc() 478 if (mac->rdg_en) { in rtl8723e_tx_fill_desc()
|
/openbmc/qemu/hw/net/ |
H A D | e1000e.c | 359 e1000e_gen_dsn(uint8_t *mac) in e1000e_gen_dsn() argument 361 return (uint64_t)(mac[5]) | in e1000e_gen_dsn() 362 (uint64_t)(mac[4]) << 8 | in e1000e_gen_dsn() 363 (uint64_t)(mac[3]) << 16 | in e1000e_gen_dsn() 366 (uint64_t)(mac[2]) << 40 | in e1000e_gen_dsn() 367 (uint64_t)(mac[1]) << 48 | in e1000e_gen_dsn() 368 (uint64_t)(mac[0]) << 56; in e1000e_gen_dsn() 524 s->core.mac[VET] = ETH_P_VLAN; in e1000e_qdev_reset_hold() 624 VMSTATE_UINT32_ARRAY(core.mac, E1000EState, E1000E_MAC_SIZE),
|
/openbmc/phosphor-host-ipmid/ |
H A D | transporthandler.cpp | 191 stdplus::EtherAddr mac) in setMACProperty() argument 194 stdplus::toStr(mac)); in setMACProperty() 341 stdplus::EtherAddr mac) in reconfigureGatewayMAC() argument 358 createNeighbor<family>(bus, params, *gateway, mac); in reconfigureGatewayMAC() 833 channelCall<setMACProperty>(channel, mac); in setLanInt() 1179 ret.pack(stdplus::raw::asView<char>(mac)); in getLan() 1203 stdplus::EtherAddr mac{}; in getLan() local 1207 mac = neighbor->mac; in getLan() 1209 ret.pack(stdplus::raw::asView<char>(mac)); in getLan() 1319 stdplus::EtherAddr mac{}; in getLan() local [all …]
|