/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 1076 struct hclge_mac *mac = &hdev->hw.mac; in hclge_parse_fiber_link_mode() local 1098 struct hclge_mac *mac = &hdev->hw.mac; in hclge_parse_backplane_link_mode() local 1529 hdev->hw.mac.req_speed = hdev->hw.mac.speed; in hclge_configure() 2576 struct hclge_mac *mac = &hdev->hw.mac; in hclge_cfg_mac_speed_dup() local 2874 struct hclge_mac *mac = &hdev->hw.mac; in hclge_set_fec() local 2895 struct hclge_mac *mac = &hdev->hw.mac; in hclge_get_fec() local 2905 struct hclge_mac *mac = &hdev->hw.mac; in hclge_mac_init() local 3130 struct hclge_mac *mac = &hdev->hw.mac; in hclge_update_pause_advertising() local 3157 struct hclge_mac *mac = &hdev->hw.mac; in hclge_update_advertising() local 3401 struct hclge_mac *mac = &hdev->hw.mac; in hclge_update_port_info() local [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_locked_port.sh | 221 local mac=a0:b0:c0:c0:b0:a0 228 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" 232 $MZ $h2 -q -c 5 -d 100msec -t udp -a $mac -b rand 233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2" 236 bridge fdb get $mac br br0 vlan 1 | grep -q "locked" 239 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 240 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1" 243 bridge fdb del $mac vlan 1 dev $swp2 master
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_locked_port.sh | 221 local mac=a0:b0:c0:c0:b0:a0 228 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" 232 $MZ $h2 -q -c 5 -d 100msec -t udp -a $mac -b rand 233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2" 236 bridge fdb get $mac br br0 vlan 1 | grep -q "locked" 239 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 240 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1" 243 bridge fdb del $mac vlan 1 dev $swp2 master
|
/openbmc/u-boot/board/LaCie/net2big_v2/ |
H A D | net2big_v2.c | 225 uchar mac[6]; in misc_init_r() local 226 if (lacie_read_mac_address(mac) == 0) in misc_init_r() 227 eth_env_set_enetaddr("ethaddr", mac); in misc_init_r()
|
/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | ModalMacAddress.vue | 3 id="modal-mac-address" 8 <b-form id="mac-settings" @submit.prevent="handleSubmit"> 16 id="mac-address" 40 form="mac-settings"
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | trx.c | 298 (ether_addr_equal(mac->bssid, in translate_rx_signal_stuff() 597 if (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 601 else if (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 610 if ((mac->cur_40_prime_sc == in rtl8821ae_sc_mapping() 612 (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 616 else if ((mac->cur_40_prime_sc == in rtl8821ae_sc_mapping() 618 (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 624 (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 630 (mac->cur_80_prime_sc == in rtl8821ae_sc_mapping() 643 if (mac->cur_40_prime_sc == in rtl8821ae_sc_mapping() [all …]
|
H A D | sw.c | 72 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl8821ae_init_sw_vars() local 85 mac->ht_enable = true; in rtl8821ae_init_sw_vars() 86 mac->ht_cur_stbc = 0; in rtl8821ae_init_sw_vars() 87 mac->ht_stbc_cap = 0; in rtl8821ae_init_sw_vars() 88 mac->vht_cur_ldpc = 0; in rtl8821ae_init_sw_vars() 89 mac->vht_ldpc_cap = 0; in rtl8821ae_init_sw_vars() 90 mac->vht_cur_stbc = 0; in rtl8821ae_init_sw_vars() 91 mac->vht_stbc_cap = 0; in rtl8821ae_init_sw_vars()
|
/openbmc/qemu/target/openrisc/ |
H A D | sys_helper.c | 147 env->mac = deposit64(env->mac, 0, 32, rb); in HELPER() 150 env->mac = deposit64(env->mac, 32, 32, rb); in HELPER() 331 return (uint32_t)env->mac; in HELPER() 334 return env->mac >> 32; in HELPER()
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | davicom,dm9051.yaml | 32 local-mac-address: true 34 mac-address: true 57 local-mac-address = [00 00 00 00 00 00];
|
H A D | hisilicon-hip04-net.txt | 6 - compatible: should be "hisilicon,hip04-mac". 66 compatible = "hisilicon,hip04-mac"; 74 compatible = "hisilicon,hip04-mac"; 83 compatible = "hisilicon,hip04-mac";
|
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 55 wx->mac.type = wx_mac_em; in ngbe_init_type_code() 114 wx->mac.num_rar_entries = NGBE_RAR_ENTRIES; in ngbe_sw_init() 115 wx->mac.max_rx_queues = NGBE_MAX_RX_QUEUES; in ngbe_sw_init() 116 wx->mac.max_tx_queues = NGBE_MAX_TX_QUEUES; in ngbe_sw_init() 117 wx->mac.mcft_size = NGBE_MC_TBL_SIZE; in ngbe_sw_init() 118 wx->mac.vft_size = NGBE_SP_VFT_TBL_SIZE; in ngbe_sw_init() 119 wx->mac.rx_pb_size = NGBE_RX_PB_SIZE; in ngbe_sw_init() 120 wx->mac.tx_pb_size = NGBE_TDB_PB_SZ; in ngbe_sw_init() 135 wx->mac.max_msix_vectors = msix_count; in ngbe_sw_init() 660 eth_hw_addr_set(netdev, wx->mac.perm_addr); in ngbe_probe() [all …]
|
/openbmc/phosphor-networkd/test/ |
H A D | test_rtnetlink.cpp | 63 .mac = ether_addr{0, 1, 2, 3, 4, 5}, in TEST() 147 EXPECT_FALSE(ret.mac); in TEST() 158 alignas(NLMSG_ALIGNTO) uint8_t mac[6] = {1, 2, 3, 4, 5, 6}; in TEST() 164 msg.mac_hdr.rta_len = RTA_LENGTH(sizeof(msg.mac)); in TEST() 168 EXPECT_EQ((ether_addr{1, 2, 3, 4, 5, 6}), ret.mac); in TEST()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_nvm.c | 143 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in igc_read_mac_addr() 146 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in igc_read_mac_addr() 149 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igc_read_mac_addr()
|
/openbmc/linux/arch/mips/sgi-ip22/ |
H A D | ip22-platform.c | 158 eth0_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 159 eth0_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit() 184 eth1_pd.mac[2 * i] = tmp >> 8; in sgiseeq_devinit() 185 eth1_pd.mac[2 * i + 1] = tmp & 0xff; in sgiseeq_devinit()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j721e-evm-quad-port-eth-exp.dtso | 36 mac-address = [00 00 00 00 00 00]; 44 mac-address = [00 00 00 00 00 00]; 52 mac-address = [00 00 00 00 00 00]; 60 mac-address = [00 00 00 00 00 00];
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/network/ |
H A D | phosphor-network_%.bbappend | 3 PACKAGECONFIG:append = " sync-mac" 5 EXTRA_OEMESON = "-Dforce-sync-mac=true"
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/network/ |
H A D | phosphor-network_%.bbappend | 3 PACKAGECONFIG:append = " sync-mac" 5 EXTRA_OEMESON = "-Dforce-sync-mac=true"
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/network/ |
H A D | phosphor-network_%.bbappend | 3 PACKAGECONFIG:append = " sync-mac" 5 EXTRA_OEMESON = "-Dforce-sync-mac=true"
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 31 const u8 *mac, u8 status) in mwifiex_restore_tdls_packets() argument 44 if (!ether_addr_equal(mac, skb->data)) in mwifiex_restore_tdls_packets() 86 const u8 *mac) in mwifiex_hold_tdls_packets() argument 102 if (!ether_addr_equal(mac, skb->data)) in mwifiex_hold_tdls_packets() 196 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_ht_oper() 235 const u8 *mac, struct sk_buff *skb) in mwifiex_tdls_add_vht_oper() argument 250 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_vht_oper() 1289 u8 mac[ETH_ALEN]; in mwifiex_tdls_check_tx() local 1291 ether_addr_copy(mac, skb->data); in mwifiex_tdls_check_tx() 1375 const u8 *mac, u8 link_status) in mwifiex_auto_tdls_update_peer_status() argument [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | hw.c | 153 mac->min_space_cfg = in rtl92se_set_hw_reg() 154 ((mac->min_space_cfg & 0xf8) | in rtl92se_set_hw_reg() 161 mac->min_space_cfg); in rtl92se_set_hw_reg() 164 mac->min_space_cfg); in rtl92se_set_hw_reg() 177 mac->min_space_cfg); in rtl92se_set_hw_reg() 180 mac->min_space_cfg); in rtl92se_set_hw_reg() 237 mac->ac[0].aifs)); in rtl92se_set_hw_reg() 2006 u8 nmode = mac->ht_enable; in rtl92se_update_hal_rate_table() 2010 u8 curtxbw_40mhz = mac->bw_40; in rtl92se_update_hal_rate_table() 2127 curtxbw_40mhz = mac->bw_40; in rtl92se_update_hal_rate_mask() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_mbx.c | 278 switch (hw->mac.type) { in ixgbe_check_for_rst_pf() 406 if (hw->mac.type != ixgbe_mac_82599EB && in ixgbe_init_mbx_params_pf() 407 hw->mac.type != ixgbe_mac_X550 && in ixgbe_init_mbx_params_pf() 408 hw->mac.type != ixgbe_mac_X550EM_x && in ixgbe_init_mbx_params_pf() 409 hw->mac.type != ixgbe_mac_x550em_a && in ixgbe_init_mbx_params_pf() 410 hw->mac.type != ixgbe_mac_X540) in ixgbe_init_mbx_params_pf()
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83822.c | 128 const u8 *mac; in dp83822_set_wol() local 131 mac = (const u8 *)ndev->dev_addr; in dp83822_set_wol() 133 if (!is_valid_ether_addr(mac)) in dp83822_set_wol() 140 (mac[1] << 8) | mac[0]); in dp83822_set_wol() 142 (mac[3] << 8) | mac[2]); in dp83822_set_wol() 144 (mac[5] << 8) | mac[4]); in dp83822_set_wol()
|
/openbmc/linux/lib/ |
H A D | net_utils.c | 8 bool mac_pton(const char *s, u8 *mac) in mac_pton() argument 25 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]); in mac_pton()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | dm.c | 481 if (mac->act_scanning) in rtl88e_dm_dig() 484 if (mac->link_state >= MAC80211_LINKED) in rtl88e_dm_dig() 502 if (mac->link_state >= MAC80211_LINKED) { in rtl88e_dm_dig() 636 if (mac->link_state >= MAC80211_LINKED) { in rtl92c_dm_dynamic_txpower() 1193 sta = rtl_find_sta(hw, mac->bssid); in rtl88e_dm_refresh_rate_adaptive_mask() 1567 value32 = (mac->mac_addr[5] << 8) | in rtl88e_set_next_mac_address_target() 1568 mac->mac_addr[4]; in rtl88e_set_next_mac_address_target() 1572 value32 = (mac->mac_addr[3] << 24) | in rtl88e_set_next_mac_address_target() 1573 (mac->mac_addr[2] << 16) | in rtl88e_set_next_mac_address_target() 1574 (mac->mac_addr[1] << 8) | in rtl88e_set_next_mac_address_target() [all …]
|
/openbmc/google-misc/subprojects/nemora-postd/src/ |
H A D | nemora.hpp | 67 bool GetMacAddr(MacAddr* mac, const std::string& iface_path); 77 bool ParseMac(const std::string& mac_addr, MacAddr* mac);
|